This is an LLM Chatbot powered by RAG. The tech stack includes Python, Langchain, OpenAI and Chroma DB vector store. Hosted on Streamlit.
LLM - Large Language Model
RAG - Retrieval Augumented Generation
For a video walkthrough, click this YouTube link to watch.
- Create and activate virtual environment
python3 -m venv myvenv
source myvenv/bin/activate
- Install libraries and dependencies
pip3 install -r requirements.txt
-
Get OpenAI API key
-
Run Streamlit app
streamlit run main.py
Split document and save to Supabase Vector database (Run once or only when you need to store a document)
python3 split_document.py
Streamlit Docs
Langchain Python Docs
Langchain Conversational RAG Docs