AWS教程将决策模型接入AgentCore评估
AWS Machine Learning Blog 发布教程,演示如何通过基于代码的评估器,将 Jev 和 Strands Decider 2B 接入 Amazon Bedrock AgentCore Evaluations。示例把 OpenTelemetry 轨迹及会话数据转换为模型请求,再将校准概率映射为事实依据、有用性和目标完成度结果。AWS 称,决策模型可与 15 个内置评估器、自定义 LLM-as-a-judge 评估器及确定性检查并行运行。
该教程提供了一套实用模式,可在不替换内置评估器的情况下,为智能体评估流程加入范围明确且可设阈值的模型检查。
Some of the questions you ask when evaluating an agent are narrow and repeatable. Did this response stay on policy? Is this tool call safe to approve? Does this answer match the retrieved context? Decision models answer exactly that kind of question. They take a structured state and a fixed set of allowed answers and return a calibrated probability over them, rather than free-form text whose confidence drifts from run to run. That makes them a strong fit for the scoring step in an agent evaluation, where you want a label and a number you can threshold and trust.
Amazon Bedrock AgentCore Evaluations, a capability of Amazon Bedrock AgentCore, scores an agent through its entire lifecycle, on demand during development, in batch jobs against stored sessions, and online against production traffic. Alongside 15 built-in evaluators, AgentCore Evaluations supports custom evaluators that you define as either an LLM-as-a-judge or a code-based evaluator. Custom LLM-as-a-judge evaluators apply your instructions and rating scale with a model in Amazon Bedrock. Code-based evaluators run your own logic in an AWS Lambda function, and that logic can call your choice of external system, model, or API, including a decision model.
#Amazon Bedrock AgentCore Evaluations#Jev#TypeSafe#Strands Decider 2B#AWS Lambda