Skip to content

Bedrock Agentcore  >  Unions  >  EvaluationTarget

EvaluationTarget

Union Type

EvaluationTarget module-attribute

The specification of which trace or span IDs to evaluate within the provided input data. Allows precise targeting of evaluation at different levels: tool calls, traces, or sessions.

Union Member Types

EvaluationTargetSpanIds dataclass

The list of specific span IDs to evaluate within the provided traces. Used to target evaluation at individual tool calls or specific operations within the agent's execution flow.

Attributes

value instance-attribute
value: list[str]

EvaluationTargetTraceIds dataclass

The list of trace IDs to evaluate, representing complete request-response interactions. Used to evaluate entire conversation turns or specific agent interactions within a session.

Attributes

value instance-attribute
value: list[str]

EvaluationTargetUnknown dataclass

Represents an unknown variant.

If you receive this value, you will need to update your library to receive the parsed value.

This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str