Skip to content

Fore Coffee Retrieval-Augmented Generation (RAG) Chatbot

Notifications You must be signed in to change notification settings

natserract/fore-coffee-iq

Repository files navigation

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

Releases

No releases published

Packages

No packages published