Skip to content

UserTurnResult

Source code in docs_src/capo_lex_models_v2/types/user_turn_result.py
class UserTurnResult(TypedDict, closed=True):
    input: "capo_lex_models_v2.types.user_turn_input_specification.UserTurnInputSpecification"
    """<p>Contains information about the user messages in the turn in the input.</p>"""
    expected_output: "capo_lex_models_v2.types.user_turn_output_specification.UserTurnOutputSpecification"
    """<p>Contains information about the expected output for the user turn.</p>"""
    actual_output: NotRequired[
        "capo_lex_models_v2.types.user_turn_output_specification.UserTurnOutputSpecification"
    ]
    """<p>Contains information about the actual output for the user turn.</p>"""
    error_details: NotRequired[
        "capo_lex_models_v2.types.execution_error_details.ExecutionErrorDetails"
    ]
    end_to_end_result: NotRequired[
        "capo_lex_models_v2.types.test_result_match_status.TestResultMatchStatus"
    ]
    """<p>Specifies whether the expected and actual outputs match or not, or if there is an error in execution.</p>"""
    intent_match_result: NotRequired[
        "capo_lex_models_v2.types.test_result_match_status.TestResultMatchStatus"
    ]
    """<p>Specifies whether the expected and actual intents match or not.</p>"""
    slot_match_result: NotRequired[
        "capo_lex_models_v2.types.test_result_match_status.TestResultMatchStatus"
    ]
    """<p>Specifies whether the expected and actual slots match or not.</p>"""
    speech_transcription_result: NotRequired[
        "capo_lex_models_v2.types.test_result_match_status.TestResultMatchStatus"
    ]
    """<p>Specifies whether the expected and actual speech transcriptions match or not, or if there is an error in execution.</p>"""
    conversation_level_result: NotRequired[
        "capo_lex_models_v2.types.conversation_level_result_detail.ConversationLevelResultDetail"
    ]
    """<p>Contains information about the results related to the conversation associated with the user turn.</p>"""

actual_output instance-attribute

actual_output: NotRequired[UserTurnOutputSpecification]

Contains information about the actual output for the user turn.

conversation_level_result instance-attribute

conversation_level_result: NotRequired[ConversationLevelResultDetail]

Contains information about the results related to the conversation associated with the user turn.

end_to_end_result instance-attribute

end_to_end_result: NotRequired[TestResultMatchStatus]

Specifies whether the expected and actual outputs match or not, or if there is an error in execution.

error_details instance-attribute

error_details: NotRequired[ExecutionErrorDetails]

expected_output instance-attribute

expected_output: UserTurnOutputSpecification

Contains information about the expected output for the user turn.

input instance-attribute

Contains information about the user messages in the turn in the input.

intent_match_result instance-attribute

intent_match_result: NotRequired[TestResultMatchStatus]

Specifies whether the expected and actual intents match or not.

slot_match_result instance-attribute

slot_match_result: NotRequired[TestResultMatchStatus]

Specifies whether the expected and actual slots match or not.

speech_transcription_result instance-attribute

speech_transcription_result: NotRequired[TestResultMatchStatus]

Specifies whether the expected and actual speech transcriptions match or not, or if there is an error in execution.