Skip to content

Rationale

Source code in docs_src/capo_bedrock_agent_runtime/types/rationale.py
class Rationale(TypedDict, closed=True):
    trace_id: NotRequired["capo_bedrock_agent_runtime.types.trace_id.TraceId"]
    """<p>The unique identifier of the trace step.</p>"""
    text: NotRequired[
        "capo_bedrock_agent_runtime.types.rationale_string.RationaleString"
    ]
    """<p>The reasoning or thought process of the agent, based on the input.</p>"""

text instance-attribute

text: NotRequired[RationaleString]

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

trace_id instance-attribute

trace_id: NotRequired[TraceId]

The unique identifier of the trace step.