A lightweight, retrieval‑augmented Streamlit chatbot that indexes content, stores embeddings in Qdrant, and answers questions grounded in the source with links back to the exact page/section.
This project is configured as a chatbot for the website “Getting Started | Chai aur Docs”
- UI: Streamlit.
- Retrieval: LangChain (loaders, splitters) + Qdrant vector store.
- Models: OpenAI chat + embeddings (configurable in code).
Prerequisites: Python 3.9+, Git; Docker if running Qdrant locally.
- Clone and install:
git clone https://github.com/AnkitAnandMastery17/BookWisecd BookWisepython -m venv .venv
-
Start your virtual environment
-
Install all the required files
pip install -r requirements.txt -
Configuration
- Create a folder .streamlit
- Inside the folder create a file secrets.toml.
- Add
OPENAI_API_KEY = "<Your Api Key>"
QDRANT_URL = "http://localhost:6333"
-
Run Qdrant locally via Docker:
docker compose up -d -
Run
python indexing.pyTo confirm your qdrant is running. visit
http://localhost:6333/dashboard. Go to collections, you will see a new collection named BookWise.
- Run the app
streamlit run main.py - Go to http://localhost:8501