Skip to content

SyntheticCustomerScenario

Source code in docs_src/capo_connect/types/synthetic_customer_scenario.py
class SyntheticCustomerScenario(TypedDict, closed=True):
    name: NotRequired["capo_connect.types.scenario_name.ScenarioName"]
    """<p>The name of the scenario.</p>"""
    goal: NotRequired["capo_connect.types.scenario_goal.ScenarioGoal"]
    """<p>What the synthetic customer is trying to accomplish.</p>"""
    expected_outcome: NotRequired[
        "capo_connect.types.scenario_expected_outcome.ScenarioExpectedOutcome"
    ]
    """<p>The result that counts as a successful test.</p>"""
    initial_query: NotRequired[
        "capo_connect.types.scenario_initial_query.ScenarioInitialQuery"
    ]
    """<p>The opening message of the synthetic customer.</p>"""
    stop_conditions: NotRequired[
        "capo_connect.types.scenario_stop_conditions.ScenarioStopConditions"
    ]
    """<p>The limits that end the simulation if the expected outcome isn't reached.</p>"""
    known_inputs: NotRequired[
        "capo_connect.types.scenario_known_inputs_list.ScenarioKnownInputsList"
    ]
    """<p>The information that the synthetic customer knows and provides when asked, such as a reservation number. You can specify up to 20 inputs.</p>"""

expected_outcome instance-attribute

expected_outcome: NotRequired[ScenarioExpectedOutcome]

The result that counts as a successful test.

goal instance-attribute

goal: NotRequired[ScenarioGoal]

What the synthetic customer is trying to accomplish.

initial_query instance-attribute

initial_query: NotRequired[ScenarioInitialQuery]

The opening message of the synthetic customer.

known_inputs instance-attribute

known_inputs: NotRequired[ScenarioKnownInputsList]

The information that the synthetic customer knows and provides when asked, such as a reservation number. You can specify up to 20 inputs.

name instance-attribute

name: NotRequired[ScenarioName]

The name of the scenario.

stop_conditions instance-attribute

stop_conditions: NotRequired[ScenarioStopConditions]

The limits that end the simulation if the expected outcome isn't reached.