EvaluateRequest
¶
Source code in docs_src/capo_bedrock_agentcore/types/evaluate_request.py
evaluation_input
instance-attribute
¶
evaluation_input: EvaluationInput
The input data containing agent session spans to be evaluated. Includes a list of spans in OpenTelemetry format from supported frameworks like Strands (AgentCore Runtime) or LangGraph with OpenInference instrumentation.
evaluation_reference_inputs
instance-attribute
¶
evaluation_reference_inputs: NotRequired[EvaluationReferenceInputs]
Ground truth data to compare against agent responses during evaluation. Allows to provide expected responses, assertions, and expected tool trajectories at different evaluation levels. Session-level reference inputs apply to the entire conversation, while trace-level reference inputs target specific request-response interactions identified by trace ID.
evaluation_target
instance-attribute
¶
evaluation_target: NotRequired[EvaluationTarget]
The specific trace or span IDs to evaluate within the provided input. Allows targeting evaluation at different levels: individual tool calls, single request-response interactions (traces), or entire conversation sessions.
evaluator_id
instance-attribute
¶
evaluator_id: EvaluatorId
The unique identifier of the evaluator to use for scoring. Can be a built-in evaluator (e.g., Builtin.Helpfulness, Builtin.Correctness) or a custom evaluator Id created through the control plane API.