Package com.tnsai.evaluation.bridge
Class EvalSpanAnnotator
java.lang.Object
com.tnsai.evaluation.bridge.EvalSpanAnnotator
Writes evaluation scores back onto
AgentTrace spans for observability dashboards.- Since:
- 0.3.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidannotate(com.tnsai.quality.tracing.AgentTrace trace, List<EvaluationResult> results) Annotates a trace with evaluation results as scores.
-
Constructor Details
-
EvalSpanAnnotator
public EvalSpanAnnotator()
-
-
Method Details
-
annotate
Annotates a trace with evaluation results as scores.- Parameters:
trace- the trace to annotateresults- evaluation results to write
-