Hacker
Sumit Solanki
@yamraj13y
Elsewhere
Projects
FlagRAG - an A/B/C test of retrieval architectures, run through Flagsmith
Flagsmith Experimentation HackathonNov 2026
FlagRAG is a documentation search engine that runs a real A/B/C experiment on its own retrieval architecture. Every question typed into it is a Flagsmith identity: a multivariate flag routes the query to one of three search pipelines - plain BM25 keyword search (control), BM25 + embedding hybrid with reciprocal rank fusion, or the hybrid pipeline over context-prefixed chunks - and the UI shows which architecture served the result. The problem: teams building AI assistants and RAG systems argue about keyword vs vector search and usually pick on gut feel. Bad retrieval is what makes grounded AI answers wrong (Air Canada was held liable for its chatbot's wrong information; Deloitte partially refunded a government report over fabricated citations). FlagRAG turns that argument into data: 120 questions over Flagsmith's own documentation, each hand-labeled with the one chunk that truly answers it, so every query run is graded on whether the correct chunk ranked FIRST. Who would use it: any team shipping search or RAG - instead of debating the retrieval stack, run the experiment, read the win probability, and ship the winner with one flag flip.