haiku.rag/docs
Yiorgis Gozadinos 0f38417c60
Require an answer to declare what grounds it, once per question
`CitationPolicyCapability` makes the single enforcement decision, whatever mix of
evidence capabilities is registered: two of them must not each demand a citation for
one answer. It decides in `after_model_request`, when a response carries no tool calls
and the question can still be redirected. An explicitly ungrounded answer is a
declaration and is left alone; a question that gathered no evidence is left alone too,
read from the ledger rather than from a searches dict that a new question clears. When
the cite tool is already withdrawn the question is recorded in
`CitationPolicyState.violations` instead of pointing the model at a tool that is gone.

Registering it is the only switch. `DiscoveredEvidence` and discovery move to
`capabilities.evidence` so both optional capabilities share them, and `cite_available`
joins `evidence_tool_names` as public for the same reason.

Measured on Qwen3.6-35B over two arms of 37 questions, 29 of them unanswerable from
the corpus: explicit ungrounded declarations rose from 23 to 26, grounded answers to
unanswerable questions fell from 4 to 2, answerable questions stayed at 8 of 8, and
one redirect fired in the whole arm. Reading every answer found no invented grounding.
2026-08-13 13:39:42 +03:00
..
capabilities Require an answer to declare what grounds it, once per question 2026-08-13 13:39:42 +03:00
configuration Pin the eval judge sampling and standardise on Qwen3-Reranker 2026-08-06 13:17:58 +03:00
img Add ingester screenshot 2026-05-27 15:53:01 +03:00
stylesheets Landing page hero with TUI screen recording 2026-05-20 16:56:25 +03:00
apps.md Bind app example backend to loopback and document its lack of auth 2026-07-08 11:37:03 +03:00
benchmarks.md Record this release's ORB multimodal numbers 2026-08-13 13:00:02 +03:00
changelog.md Improve documentation 2025-11-28 13:10:03 +02:00
chat.md Add image attachment to the chat TUI 2026-07-25 10:58:08 +03:00
cli.md Accept images on CLI ask/analyze and MCP tools 2026-07-25 10:35:25 +03:00
custom-pipelines.md Always use the Store-owned embedder 2026-05-29 11:36:53 +03:00
development.md Docs 2026-04-24 14:42:52 +03:00
index.md Landing page hero with TUI screen recording 2026-05-20 16:56:25 +03:00
ingester.md Classify obstore config errors as permanent 2026-08-06 12:53:45 +03:00
installation.md Fix packaging and settings facts in the docs 2026-07-28 18:22:05 +03:00
mcp.md Accept images on CLI ask/analyze and MCP tools 2026-07-25 10:35:25 +03:00
overview.md fix capability execution limits and chat loading 2026-07-24 15:26:17 +03:00
python.md Load document blobs only when asked 2026-08-06 13:04:51 +03:00
remote-processing.md Store docling-serve chunk bodies via raw_text 2026-06-23 16:35:21 +03:00
tools.md replace haiku.skills with native Pydantic AI capabilities 2026-07-24 15:26:17 +03:00
tuning.md Fix packaging and settings facts in the docs 2026-07-28 18:22:05 +03:00
tutorial.md replace haiku.skills with native Pydantic AI capabilities 2026-07-24 15:26:17 +03:00