AS AgentScopeAPI 手册 / API Reference

ScoreAnswer

public record ScoreAnswer( Double score, Map<String, String> legend, Map<String, Double> probabilities, Double confidence) implements Answer
源码Source io/agentscope/extensions/judge/jev/ScoreAnswer.java:22–27

承载分数答案数据的记录类型。位于 io.agentscope.extensions.judge.jev 包,实现 Answer。核心成员包括 score、legend、probabilities、confidence。

A probability-weighted score and its level distribution.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
scoreDouble
执行分数相关操作。
Performs the score operation.
legendMap<String, String>
执行 `legend` 方法。
Performs the legend operation.
probabilitiesMap<String, Double>
执行 `probabilities` 方法。
Performs the probabilities operation.
confidenceDouble
执行置信度相关操作。
Performs the confidence operation.

记录组件详情Record Component Detail

score

Double score

执行分数相关操作。

Performs the score operation.

源码Source io/agentscope/extensions/judge/jev/ScoreAnswer.java:22–27

legend

Map<String, String> legend

执行 legend 方法。

Performs the legend operation.

源码Source io/agentscope/extensions/judge/jev/ScoreAnswer.java:22–27

probabilities

Map<String, Double> probabilities

执行 probabilities 方法。

Performs the probabilities operation.

源码Source io/agentscope/extensions/judge/jev/ScoreAnswer.java:22–27

confidence

Double confidence

执行置信度相关操作。

Performs the confidence operation.

源码Source io/agentscope/extensions/judge/jev/ScoreAnswer.java:22–27
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.