Skip to content

UserTurnOutputSpecification

Source code in docs_src/capo_lex_models_v2/types/user_turn_output_specification.py
class UserTurnOutputSpecification(TypedDict, closed=True):
    intent: "capo_lex_models_v2.types.user_turn_intent_output.UserTurnIntentOutput"
    """<p>Contains information about the intent.</p>"""
    active_contexts: NotRequired[
        "capo_lex_models_v2.types.active_context_list.ActiveContextList"
    ]
    """<p>The contexts that are active in the turn.</p>"""
    transcript: NotRequired[
        "capo_lex_models_v2.types.test_set_utterance_text.TestSetUtteranceText"
    ]
    """<p>The transcript that is output for the user turn by the test execution.</p>"""

active_contexts instance-attribute

active_contexts: NotRequired[ActiveContextList]

The contexts that are active in the turn.

intent instance-attribute

Contains information about the intent.

transcript instance-attribute

transcript: NotRequired[TestSetUtteranceText]

The transcript that is output for the user turn by the test execution.