Case study · Forward-deployed engineering

Dense docs.Instant, sourcedanswers.

DocDesk is a retrieval-augmented assistant that answers customer questions using only a product's public docs — and shows you exactly where every answer came from. When the docs don't say, neither does DocDesk.

01 — Live demo

Ask about Design Huddle

Indexed from designhuddle.com, its developer toolkit, and freeofficebackgrounds.com.

docdesk / design-huddleready
  1. Hi! I answer from Design Huddle's public pages only, and I'll cite them. Try one of these:

02 — How it works

Four steps, one Worker

  1. 1

    Ingest

    Public pages are rendered, stripped of nav and footer, and split into ~700-character passages with their source URL.

    60 chunks · index.json
  2. 2

    Retrieve

    A Cloudflare Worker scores every passage against the question (BM25, plus bge embeddings when enabled) and keeps the top four.

    /api/chat
  3. 3

    Ground

    Workers AI writes a short answer using only those passages, citing each one. No match above the threshold means “I don't know.”

    llama-3.3-70b-instruct
  4. 4

    Guard

    A per-visitor rate limit and a daily cap keep the demo inside Cloudflare's free allowance — no surprise bills.

    6/min · 300/day
DocDesk request flowVisitor question goes to a Cloudflare Worker, which checks the rate limit, retrieves passages from the index, sends them to Workers AI, and returns a cited answer. Visitorquestion Workerrate limit · cap/api/chat Indextop-4 passages Workers AIgrounded answer Answer+ citations
Everything runs on one Cloudflare Worker — static site and API together.

03 — What it knows

Indexed sources

Only these public pages. Design Huddle's full documentation portal is access-controlled, so it isn't included.

04 — Why I built it

Customers shouldn't have to read the manual to get an answer.

As a forward-deployed engineer, the same questions come up on every integration: how do I embed it, how does auth work, can it do print. DocDesk turns the docs a team already has into instant answers that link straight to the source — so customers trust them, and support doesn't have to repeat itself.

Built by Justin Son