Skip to content

Rationale

Structure Class

Rationale dataclass

Bases: _SerdeShape

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 = ...

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

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

The unique identifier of the trace step.