Retrieval Augmented Generation Chatbot for Warhammer40k Rules
rag_demo.mov
$ pip install -r requirements.txt
This project requires a valid OPENAI_API_KEY
to do the embedding and response generation. Simply create
a .env
file in this directory with your key as shown in the .env.example
.
This project uses Chroma to create a local vector database of the embeddings. It's assumed this is done
before running app.py
$ python create_db.py
Afterwards you should see the generated files in a chroma
folder
To run the application use streamlit
:
$ streamlit run app.py