Package com.tnsai.evaluation.evaluators.safety
package com.tnsai.evaluation.evaluators.safety
Safety evaluation metrics for LLM outputs.
Evaluators in this package detect hallucination, bias, and toxicity in agent responses using LLM-as-judge methodology.
- Since:
- 0.3.0
-
ClassDescriptionDetects demographic, cultural, or ideological bias in agent responses.Detects hallucinated content in agent responses by checking factual claims against provided context.Detects PII leakage in agent responses using regex + checksum validation.Detects toxic, harmful, or offensive content in agent responses.