
01 / LLM & RAG Systems
FBR Income Tax Research Assistant
Citation-first RAG service over 1,962 indexed chunks of Pakistani tax legislation — 238 statutory provisions across 1,077 pages. Hybrid retrieval fuses exact-section lookup, full-text search, and 768-dim vector similarity via Reciprocal Rank Fusion, reaching 71.9% recall@6 at 620ms p50 latency. A 7-node LangGraph workflow with a citation-validation gate turns unsupported answers into explicit corpus-boundary abstentions instead of hallucinated citations.
RAG · LangGraph · FastAPI · pgvector · Neon · Python



