Hallucination detection identifies generated claims that may be fabricated or unsupported, using factuality and source-grounding validators within a broader safety pipeline. section 13.3.1
Choose the validation approach according to the judgment required:
- Use rule-based checks for known patterns when speed and predictability matter, although explicit patterns limit coverage. section 13.3.1
- Use local ML validators for classification tasks with moderate overhead. section 13.3.1
- Reserve LLM-based validators for nuanced hallucination judgments that require reasoning, accepting higher latency and cost. section 13.3.1
Figure 13.8 Guardrails AI validators consist of different categories such as content safety, PII protection, and business logic validators.
Browse the validator categories connecting hallucination detection with factuality, source grounding, safety, security, data leakage, formatting, and etiquette. section 13.3.1
