Handbook
rag_enough_context_gate v1
Decide if retrieved material is sufficient to answer without hallucination.
Updated
Inputs
See contract.json input_schema for fields and types.
Output
See contract.json output_schema for the validated result object.
Failure modes
TransportFailure— chat transport errors.ParseFailure— assistant output not valid JSON.SchemaFailure— input or output rejected vs contract schemas.GatewayFailure— upstream/provider errors.
Verification
Task-internal validation and JSON schema checks per contract.json verification_policy.
Changelog
- v1 — Maintained in catalog; see git history for semantic changes.
Examples
Minimal illustration (see sidecar examples for real payloads):
{}