Skip to content

Python RAG Chatbot with Langchain, OpenAI, Chroma DB vector store and Streamlit.

Notifications You must be signed in to change notification settings

Uniqcoda/chat-assist-py

Repository files navigation

RAG Chatbot

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.

image info

  1. Create and activate virtual environment
python3 -m venv myvenv
source myvenv/bin/activate
  1. Install libraries and dependencies
pip3 install -r requirements.txt
  1. Get OpenAI API key

  2. 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

More Docs and Links

Streamlit Docs
Langchain Python Docs
Langchain Conversational RAG Docs

About

Python RAG Chatbot with Langchain, OpenAI, Chroma DB vector store and Streamlit.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages