Skip to content

AgentTurnResult

Source code in docs_src/capo_lex_models_v2/types/agent_turn_result.py
class AgentTurnResult(TypedDict, closed=True):
    expected_agent_prompt: (
        "capo_lex_models_v2.types.test_set_agent_prompt.TestSetAgentPrompt"
    )
    """<p>The expected agent prompt for the agent turn in a test set execution.</p>"""
    actual_agent_prompt: NotRequired[
        "capo_lex_models_v2.types.test_set_agent_prompt.TestSetAgentPrompt"
    ]
    """<p>The actual agent prompt for the agent turn in a test set execution.</p>"""
    error_details: NotRequired[
        "capo_lex_models_v2.types.execution_error_details.ExecutionErrorDetails"
    ]
    actual_elicited_slot: NotRequired[
        "capo_lex_models_v2.types.test_result_slot_name.TestResultSlotName"
    ]
    """<p>The actual elicited slot for the agent turn in a test set execution.</p>"""
    actual_intent: NotRequired["capo_lex_models_v2.types.name.Name"]
    """<p>The actual intent for the agent turn in a test set execution.</p>"""

actual_agent_prompt instance-attribute

actual_agent_prompt: NotRequired[TestSetAgentPrompt]

The actual agent prompt for the agent turn in a test set execution.

actual_elicited_slot instance-attribute

actual_elicited_slot: NotRequired[TestResultSlotName]

The actual elicited slot for the agent turn in a test set execution.

actual_intent instance-attribute

actual_intent: NotRequired[Name]

The actual intent for the agent turn in a test set execution.

error_details instance-attribute

error_details: NotRequired[ExecutionErrorDetails]

expected_agent_prompt instance-attribute

expected_agent_prompt: TestSetAgentPrompt

The expected agent prompt for the agent turn in a test set execution.