Critical flow
What happens if a document is blocked during the response?
Search may return permitted results before a document is blocked during generation. Current permissions are checked before search, before the model call and before output. Search results, model context and the complete answer draft are separate checkpoints.
Starting point Q-17 has found permitted hits; before the release, the rights of D-17 changes.
Assumptions for the example case
Example design: one operator's internal knowledge, a bounded document collection and existing authentication. Numbers and targets are assumptions. The assistant reads knowledge; tool actions and open-web research are outside scope.
Track Q-17 until the last rights and source verification
An admissible question will receive a proven answer.
- Source fidelity requires separate human acceptanceA structural validator checks references and format; domain truth needs a separate review of each claim.
Result: Output contains only approved evidence and its traceable answer references.
Deviations in the critical path
- Too weak evidence
- Before calling the model, ask for clarification or return `insufficient_evidence`. Calibrate similarity scores against the test set; they are not a universal truth threshold. Test: Weak evidence must not produce an unjustifiably confident draft.
- Invented source reference
- An unknown evidence ID fails answer validation. Structural checking verifies the reference; whether the passage supports the claim needs additional domain quality review. The negative test must expose no unchecked text fragments.
- Model too slow
- A timeout ends the attempt with technical feedback; unchecked text stays withheld. Permissions revoked during generation cause the entire draft to be withheld. Unverified fragments are neither extracted nor returned as a separate answer.
Terms in this step
- Context windows
- The limited amount of text that a model can process together in a request.
Try it yourself
Trace Q-17 through authorisation, search, the model and output validation. Predict outcomes for revoked permissions and weak evidence.
A hint for your attempt
Rights before searching limit candidates. Re-checking before output prevents a now-locked context from being output.
Compare with a possible solution
- Revoked permissions
- Permissions revoked during generation cause the backend to withhold the entire A-17 draft. Test: Revoke access before search, before the model call and before output; expect 0 protected text fragments and an explicit withheld status.
- Weak evidence
- Weak evidence produces `insufficient_evidence`; the gap and test result remain visible. Conflicting evidence produces `conflicting_sources`; model failure produces a separate technical error response.
Apply to your project
What change between request and output could create an inadmissible response in your system?