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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product