← All posts

1 Sept 2026 · 5 min read · Abhisek Bose

RAG in production at almost zero cost

RAGAI EvalsProduction AI

Shipped: an AI docs assistant that a client's dev teams use in production daily.

Over the last few months, I built an AI documentation assistant that a client's developer teams now use in production every day. I was the product manager. I was also the entire engineering team.

The problem

40+ pages of platform docs, and integration developers blocked on the same questions every week. Every question became a support ticket. 15 to 30 minutes of an engineer's time, hours of waiting for the developer. And when developers guessed instead of asking, they shipped code against field names a generic chatbot invented.

What I built

A self-hosted RAG pipeline over the official docs. Hybrid retrieval (semantic + keyword + HyDE), cross-encoder reranking, intent-based model routing, prompt caching, UI screenshots embedded inline, and a live hallucination tripwire that warns on any identifier the docs can't verify.

RAG pipeline architecture: documents and help articles flow through six stages (ingest, chunk, embed, retrieve, answer, measure) and come out as cited answers, with user feedback and doc-gap logging closing the loop

The pipeline as it runs today in RAGOS: ingest → chunk → embed (hybrid dense + sparse) → retrieve and rerank → answer with citations → measure, with doc gaps fed back into the documentation.

The part I'm proudest of: no release ships on vibes. Every deploy runs a golden-set eval gate scored by an LLM judge, with half the test questions harvested from real user feedback. Fail the gate and the deploy rolls back automatically. It has already blocked bad releases, and caught a provider outage before I did.

The numbers — from the eval pipeline, not my imagination


Originally published on LinkedIn. This system became RAGOS.