Skip to content

TurnSpecification

Source code in docs_src/capo_lex_models_v2/types/turn_specification.py
class TurnSpecification(TypedDict, closed=True):
    agent_turn: NotRequired[
        "capo_lex_models_v2.types.agent_turn_specification.AgentTurnSpecification"
    ]
    """<p>Contains information about the agent messages in the turn.</p>"""
    user_turn: NotRequired[
        "capo_lex_models_v2.types.user_turn_specification.UserTurnSpecification"
    ]
    """<p>Contains information about the user messages in the turn.</p>"""

agent_turn instance-attribute

agent_turn: NotRequired[AgentTurnSpecification]

Contains information about the agent messages in the turn.

user_turn instance-attribute

user_turn: NotRequired[UserTurnSpecification]

Contains information about the user messages in the turn.