Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 878 Bytes

README.md

File metadata and controls

40 lines (30 loc) · 878 Bytes

Fore Coffee Retrieval-Augmented Generation (RAG) Chatbot

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.

Demo

Setup

cp .env.example .env

# Sync package
rye sync

# Activate environment
source .venv/bin/activate

Database setup:

  1. Create a new API key in the Pinecone console, or use the connect widget below to generate a key.
  2. Copy your generated key:
PINECONE_API_KEY="YOUR_API_KEY"
  1. Create an index on console
  2. Copy your index host:
PINECONE_INDEX_HOST="YOUR_INDEX_HOST'

Running

make run

On development mode:

make dev