Skip to content

Bedrock Agentcore  >  Unions  >  EvaluationContent

EvaluationContent

Union Type

EvaluationContent module-attribute

EvaluationContent = Union[EvaluationContentText | EvaluationContentUnknown]

A content block for ground truth data in evaluation reference inputs. Supports text content for expected responses and assertions.

Union Member Types

EvaluationContentText dataclass

The text content of the ground truth data. Used for expected response text and assertion statements.

Attributes

value instance-attribute
value: str

EvaluationContentUnknown 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