All case studies
B2B Software
LLM initiative redirected to production RAG
6 months
Saved vs. original plan
Timeline
8 weeks to production RAG pipeline
Week-one assessment redirected budget to a simpler retrieval pipeline with eval harness, guardrails, and cost controls. Shipped to production in eight weeks.
Challenge
Growth-stage startup planned a custom fine-tuned LLM for internal knowledge search. Budget and timeline were open-ended; no evaluation harness or governance plan existed.
KPI targets
- Answer accuracy on golden-set eval ≥ 85%
- Cost per query under $0.02 at expected volume
- Human-in-the-loop review for low-confidence answers
Approach
- 1.Deploy or redirect: fine-tuning rejected in favor of RAG (faster, cheaper, auditable)
- 2.Built evaluation harness with 200+ golden Q&A pairs before model selection
- 3.Retrieval pipeline with chunking, reranking, and citation requirements
- 4.Guardrails for prompt injection and scope-limited tool access
Production artifacts
- Production RAG API with monitoring and cost dashboards
- Evaluation harness integrated into CI/CD
- Model cards and data retention policy documentation
- Runbook for index updates and incident response
Outcomes
- Shipped production retrieval system vs. indefinite fine-tuning research
- Six months of misdirected spend avoided
- CTO cited honest 'don't build this' guidance as differentiator
Production Standard pillars
Deploy or redirectGovernance from day oneMetrics before models
Stack
PythonOpenAIpgvectorLangSmithFastAPIDocker