Grounded DocQA

A question invokes a search_docs tool over embedded documents; retrieved passages ground a cited answer, with an optional reviewer and a refuse-when-nothing-found branch

Grounded DocQA A question invokes a search_docs tool over embedded documents; retrieved passages ground a cited answer, with an optional reviewer and a refuse-when-nothing-found branch 01 / Question 02 / Search 03 / Retrieve 04 / Answer Question · user query · 01 / Question · input Question user query input search_docs · grounding tool · 02 / Search · tool search_docs grounding tool tool Embedded Docs · vector index · 02 / Search · corpus Embedded Docs vector index corpus Passages · top-k matches · 03 / Retrieve · retrieved Passages top-k matches retrieved Refuse · nothing found · 03 / Retrieve · no match Refuse nothing found no match Answer · cited sources · 04 / Answer · grounded Answer cited sources grounded Reviewer · optional check · 04 / Answer · optional Reviewer optional check optional question vector search top-k ground + cite nothing found review Legend primary data policy / PII async batch data store

Grounded Path

  • • The question drives a search_docs tool call
  • • Retrieval runs over embedded documents
  • • Top-k passages ground the cited answer

Refuse Branch

  • • When retrieval finds nothing, the agent refuses
  • • No passages means no fabricated answer
  • • Grounding is a precondition, not an option

Optional Reviewer

  • • A reviewer stage can check the grounded answer
  • • Citations make review auditable
  • • Answers name their sources