A production-style chatbot using LangChain + OpenAI with FAISS for retrieval-augmented generation, exposed via FastAPI, and containerized with Docker.
- RAG with FAISS (persistent index in
data/faiss_index) POST /chat: ask with optionalhistory,temperature,top_kPOST /ingest: add new docs (txt/md/pdf) and update the index- Config via
.env(model name, temp, dirs) - Structured logging, CORS enabled by default
pip install -r requirements.txt