Case study

KnowledgeLoop

From buried docs to citation-backed answers you can measure.

Problem

Teams bury answers in runbooks and wikis. Chatbots that skip citations and evaluation sound fluent while being wrong — and nobody can prove retrieval quality.

Product

KnowledgeLoop is a documentation Q&A system: upload docs → ask with citations → evaluate quality on a fixed golden set. The public demo uses a fictional Northstar Runbooks corpus; operators can upload their own Markdown/PDF behind login.

Architecture

Ingest
MD / PDF
Chunk
~1k / 200
Embed
OpenAI
Retrieve
Chroma
Generate
+ citations
Eval
golden set

ingest → chunk → embed → retrieve → generate → log → evaluate

Engineering decisions

Evaluation

Tradeoffs & next

Stack

Django · Django templates + HTMX · OpenAI (text-embedding-3-small, gpt-4o-mini) · Chroma · SQLite (demo) · single web process for free-tier deploy.

Try the demo Back to home