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

# Managing environments
pyenv install 3.11
pyenv local 3.11  # Activate Python 3.11 for the current project

# Activate environment
python3 -m venv .venv
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'

To install dependencies:

make install

Running

make run

On development mode:

make dev

Releases

No releases published

Packages

No packages published