I built a private RAG API in one file. Here's what it doesn't do yet.
FastAPI + Ollama + ChromaDB, no cloud calls: what I learned building the smallest RAG service I could, and the gaps I'm fixing next

Series
Hands-on notes from building GenAI systems on AWS: RAG, agents, MCP, evaluation, observability and cost control, written as I go.
FastAPI + Ollama + ChromaDB, no cloud calls: what I learned building the smallest RAG service I could, and the gaps I'm fixing next

Budgets that actually fire, an IAM role that can call three models and nothing else, keyless CLI access, and the quota surprise nobody warned me about

Seven hypotheses, each tested with SQL: ligatures in 88% of chunks, page headers, link lists posing as guidance, and two theories I had to throw away

I built an evaluation set for my RAG system, found one failing question type, and measured three fixes one at a time. Plus two bugs in my own evaluation.

I built a LangGraph agent to fix one failing question. The evaluation said it worked. The traces said otherwise. Then a stronger model followed a prompt injection.
