A Streamlit chatbot with:
- Session-aware conversational memory
- Document-grounded RAG with ChromaDB + HuggingFace embeddings
- Streaming responses
- SQLite-backed session persistence
- Export chat to TXT/PDF
- Create a virtual environment and install dependencies:
pip install -r requirements.txt
- Start Ollama and pull a model (example):
ollama pull mistral
- Copy env file:
cp .env.example .env
- Launch app:
streamlit run app.py
- Default model provider is Ollama via LangChain
ChatOllama. - Vector store is ChromaDB persisted in
.chroma/. - Sessions and messages are stored in
chatbot.sqlite3.