GroundingResult
org.llm4s.agent.guardrails.rag.GroundingResult
final case class GroundingResult(score: Double, isGrounded: Boolean, ungroundedClaims: Seq[String], explanation: String)
Result of a grounding evaluation.
Value parameters
- explanation
-
Brief explanation of the evaluation
- isGrounded
-
Whether the response passes the threshold
- score
-
Overall grounding score (0.0 to 1.0)
- ungroundedClaims
-
Claims that weren't supported by context (if any)
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article