Package com.google.genkit.ai.evaluation
Class EvalDataPoint
java.lang.Object
com.google.genkit.ai.evaluation.EvalDataPoint
Represents a single data point for evaluation.
A data point contains the input, output, and optional context and reference data that is used to evaluate the quality of an AI system's output.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EvalDataPoint.Builderbuilder()getError()getInput()voidsetContext(List<Object> context) voidvoidvoidvoidvoidsetReference(Object reference) voidsetTestCaseId(String testCaseId) voidsetTraceIds(List<String> traceIds)
-
Constructor Details
-
EvalDataPoint
public EvalDataPoint()
-
-
Method Details
-
builder
-
getTestCaseId
-
setTestCaseId
-
getInput
-
setInput
-
getOutput
-
setOutput
-
getError
-
setError
-
getContext
-
setContext
-
getReference
-
setReference
-
getCustom
-
setCustom
-
getTraceIds
-
setTraceIds
-