hyperspace_verify_generation
Verify whether an LLM answer stays within geometric entailment cones and geodesic boundaries of retrieved context IDs to detect hallucination.
Instructions
Tribunal Router (Mathematical Anti-Hallucination Guardrail): Verify whether an LLM generated answer stays within the geometric entailment cones and geodesic boundaries of retrieved context IDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection | Yes | Collection name | |
| llm_answer | Yes | Candidate LLM response text to verify | |
| context_ids | Yes | Retrieved context node IDs | |
| check_geodesic | No | ||
| max_distance_threshold | No | Max geodesic distance threshold |