A modular FastAPI-based backend for Retrieval-Augmented Generation (RAG) applications.
This project integrates LangChain, ChromaDB, and FastAPI to provide API endpoints and a simple app interface for LLM-powered Q&A systems.
git clone <url>
cd rag_fastapipython3 -m venv .venv
source .venv/bin/activatepip install -r requirements.txtOPENAI_API_KEY=your_api_key_herecd api
uvicorn main:app --reloadcd frontend
streamlit run app.pyAfter running, the terminal will prompt:
- Local URL: http://localhost:8501
Click it (or copy it to your browser) and you’ll see the Streamlit interface.