Verified answers
Docket does not ask you to trust the model. Every answer has to point at lines in your documents, and those lines are checked.
How verification works
Your documents are mounted in memory as a file tree with numbered lines. For each question Docket retrieves the most relevant passages and has the model write an answer that cites them as a file and a line range, for example lines 12 to 14 of billing/refunds.md.
Then each citation is checked against the real file. A citation that points at lines which do not exist, or that do not support the claim, lowers the score. Small slips, such as a line range that is a few lines off, are corrected to the right range.
Reading the result
verificationScoreruns from 0 to 100.verifiedis true when the score reaches the group’s verification threshold, which you set in the group’s settings under Answers.citationslists each source with itsfile,startLine,endLineand whether it checked out.
{ "verified": true, "verificationScore": 100, "citations": [ { "file": "billing/refunds.md", "startLine": 12, "endLine": 14, "verified": true } ]}When an answer does not reach the threshold, reply is your fallback message rather than the unverified text, so it is always safe to display.
Guardrails
Before any answer is written, the question is screened. Docket refuses common prompt-injection phrasing and any question that contains one of your banned keywords. A refused question gets your fallback message, costs nothing, and is reported as meta.blockedByGuardrail in the REST response.
Fallback message
The fallback message is what visitors see when Docket cannot back an answer: no matching document, a failed check, or a refused question. Write it for your product, for example by pointing to support. You set it, along with the tone, rules and banned keywords, in the group’s settings in Studio.