The retrieval-augmented generation (RAG) enables retrieval of relevant information from an external knowledge source and allows large language models (LLMs) to answer queries over previously unseen document collections.
cp .env.example .env
# Sync package
rye sync
# Activate environment
source .venv/bin/activate
Database setup:
- Create a new API key in the Pinecone console, or use the connect widget below to generate a key.
- Copy your generated key:
PINECONE_API_KEY="YOUR_API_KEY"
- Create an index on console
- Copy your index host:
PINECONE_INDEX_HOST="YOUR_INDEX_HOST'
make run
On development mode:
make dev