Execute below commands for:
# deprecated pip and migrated to use uv
#python3 -m venv .venv
vu venvsource .venv/bin/activate# deprecated pip and migrated to use uv
#python3 -m pip install -r requirements.txt
uv add -r requirements.txt
uv syncNOTE: Please add .env file and add your own OpenAI API Key "OPENAI_API_KEY=<Key Here>"
streamlit run demo_app.pypython3 myagent_cli.pyData Folder demo_data contains all the data files read to embed/tokenize the data and store into a Vector DB
In this small demo/poc, I am leveraging Chroma DB. Chroma DB is a free, simple to use open-source vector/embedding database.
Use the OpenAI Models you're interested, obviously considering the cost and limitations.
Here are list of OpenAI Embedding Models model that generate embeddings. An embedding is a vector (list) of floating point numbers. The distance between two vectors measures their relatedness. Small distances suggest high relatedness and large distances suggest low relatedness.