Skip to content

SyntheticCustomerConfiguration

Source code in docs_src/capo_connect/types/synthetic_customer_configuration.py
class SyntheticCustomerConfiguration(TypedDict, closed=True):
    enabled: "capo_connect.types.nullable_boolean.NullableBoolean"
    """<p>Specifies whether the test case runs with the AI-driven synthetic customer. If you set this to <code>true</code>, the synthetic customer interacts with your flow, and you must include a <code>Persona</code> with a <code>Name</code>, and a <code>Scenario</code> with a <code>Name</code>, <code>Goal</code>, and <code>ExpectedOutcome</code>, before you publish the test case. If you set this to <code>false</code>, the test case runs from its observations. Your <code>Persona</code> and <code>Scenario</code> remain part of the test case, so you can turn the synthetic customer back on later, but they aren't used in the test.</p>"""
    persona: NotRequired[
        "capo_connect.types.synthetic_customer_persona.SyntheticCustomerPersona"
    ]
    """<p>Who the synthetic customer is.</p>"""
    scenario: NotRequired[
        "capo_connect.types.synthetic_customer_scenario.SyntheticCustomerScenario"
    ]
    """<p>The situation and goal of the synthetic customer.</p>"""

enabled instance-attribute

enabled: NullableBoolean

Specifies whether the test case runs with the AI-driven synthetic customer. If you set this to true, the synthetic customer interacts with your flow, and you must include a Persona with a Name, and a Scenario with a Name, Goal, and ExpectedOutcome, before you publish the test case. If you set this to false, the test case runs from its observations. Your Persona and Scenario remain part of the test case, so you can turn the synthetic customer back on later, but they aren't used in the test.

persona instance-attribute

persona: NotRequired[SyntheticCustomerPersona]

Who the synthetic customer is.

scenario instance-attribute

scenario: NotRequired[SyntheticCustomerScenario]

The situation and goal of the synthetic customer.