UK Immigration Rules RAG Assistant
FastAPI · PostgreSQL (pgvector) · Claude API · Voyage AI · Langfuse · Next.js
- Deployed a full-stack assistant that answers UK visa questions and cites the exact rule paragraph behind each answer.
- A daily GOV.UK check re-indexes only the changed sections, tagged with their Statement of Changes. The index covers 250+ documents and 14k chunks, with hybrid vector and keyword search plus reranking.
- Evaluated on 150 hand-labelled questions in Langfuse. 41% of misses came from rules that cross-reference other paragraphs; pulling linked rules into context fixed them.
Recall@8 · 150 questions