Minimal RAG API with FastAPI, Ollama, and Qdrant.
ollama pull nomic-embed-text
ollama pull llama3docker compose up -dpython3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtuvicorn api:app --reloadAPI runs at http://localhost:8000 (docs at http://localhost:8000/docs).
curl -X POST http://localhost:8000/ask \
-H "Content-Type: application/json" \
-d '{"query": "What is Rigobot?"}'