Package com.google.genkit.ai.evaluation
Class Score
java.lang.Object
com.google.genkit.ai.evaluation.Score
Score represents the result of an evaluation.
A score can contain a numeric value, a string value, or a boolean value, along with an optional status and detailed information about the evaluation.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Score.Builderbuilder()getError()getId()getScore()voidsetDetails(ScoreDetails details) voidvoidvoidvoidsetStatus(EvalStatus status)
-
Constructor Details
-
Score
public Score()
-
-
Method Details
-
builder
-
getId
-
setId
-
getScore
-
setScore
-
getScoreAsDouble
-
getScoreAsString
-
getScoreAsBoolean
-
getStatus
-
setStatus
-
getError
-
setError
-
getDetails
-
setDetails
-