This folder contains the FastAPI backend for the RAG demo.
Quick start
- Create a virtualenv and install deps:
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt-
Copy
.env.exampleto.envand adjust settings. -
Run the app:
uvicorn backend.app.main:app --reload --port 8000Notes
- The FAISS index is in-memory in this demo. For production, persist the index and document metadata.
- See
config.pyfor environment variables.