Package akka.javasdk.agent.evaluator
package akka.javasdk.agent.evaluator
Built-in LLM-as-judge agents (
ToxicityEvaluator, SummarizationEvaluator, HallucinationEvaluator) that call a model to judge a piece of text
or an answer against a reference. Deprecated: evaluate interactions with an Evaluator component that calls a judge agent of your own.-
ClassDescriptionDeprecated, for removal: This API element is subject to removal in a future version.An answer to judge for hallucinated content.The verdict for an answer: whether it passed the hallucination check, and the judge's explanation for the label it assigned.Deprecated, for removal: This API element is subject to removal in a future version.Write an
Evaluatorcomponent that calls a judge agent of your own to judge a summarization.A summary to judge against the document it was produced from.The verdict for a summarization task: whether the summary passed the quality check, and the judge's explanation for the label it assigned.Deprecated, for removal: This API element is subject to removal in a future version.Write anEvaluatorcomponent that calls a judge agent of your own to judge if a text is racist, biased or toxic.The verdict for a piece of text: whether it passed the toxicity check, and the judge's explanation for the label it assigned.
Evaluatorcomponent that calls a judge agent of your own to judge whether an output is grounded in a reference text.