Skip to content

AgentOutputMessage

Source code in docs_src/capo_healthlake/types/agent_output_message.py
class AgentOutputMessage(TypedDict, closed=True):
    body: "capo_healthlake.types.agent_message_string.AgentMessageString"
    """<p>The text of the agent's response.</p>"""
    type: "capo_healthlake.types.agent_output_message_type.AgentOutputMessageType"
    """<p>The type of output message, which indicates how to interpret the agent's response.</p>"""
    options_list: NotRequired[
        "capo_healthlake.types.data_transformation_chat_options_list.DataTransformationChatOptionsList"
    ]
    """<p>A list of selectable options presented when the response type is <code>options</code>.</p>"""

body instance-attribute

The text of the agent's response.

options_list instance-attribute

options_list: NotRequired[DataTransformationChatOptionsList]

A list of selectable options presented when the response type is options.

type instance-attribute

The type of output message, which indicates how to interpret the agent's response.