Skip to content

Bedrock Agent Runtime  >  Structures  >  Rationale

Rationale

Structure Class

Rationale dataclass

Contains the reasoning, based on the input, that the agent uses to justify carrying out an action group or getting information from a knowledge base.

Attributes

text class-attribute instance-attribute
text: str | None = field(repr=False, default=None)

The reasoning or thought process of the agent, based on the input.

trace_id class-attribute instance-attribute
trace_id: str | None = None

The unique identifier of the trace step.