Skip to content

SyntheticCustomerPersona

Source code in docs_src/capo_connect/types/synthetic_customer_persona.py
class SyntheticCustomerPersona(TypedDict, closed=True):
    name: NotRequired["capo_connect.types.persona_name.PersonaName"]
    """<p>The name of the persona.</p>"""
    communication_style: NotRequired[
        "capo_connect.types.persona_communication_style.PersonaCommunicationStyle"
    ]
    """<p>How the synthetic customer communicates.</p>"""
    language: NotRequired["capo_connect.types.persona_language.PersonaLanguage"]
    """<p>The language that the synthetic customer uses, for example <code>en-US</code>.</p>"""
    voice: NotRequired["capo_connect.types.persona_voice.PersonaVoice"]
    """<p>The Amazon Polly voice for the synthetic customer, for example <code>Joanna</code>.</p>"""
    voice_engine: NotRequired[
        "capo_connect.types.persona_voice_engine.PersonaVoiceEngine"
    ]
    """<p>The Amazon Polly engine that synthesizes the speech of the synthetic customer. Choose an engine that the selected <code>Voice</code> supports. If you don't specify an engine, Amazon Polly uses the standard engine.</p>"""
    domain_knowledge: NotRequired[
        "capo_connect.types.persona_domain_knowledge.PersonaDomainKnowledge"
    ]
    """<p>The background knowledge that the synthetic customer brings to the conversation.</p>"""
    emotional_state: NotRequired[
        "capo_connect.types.persona_emotional_state.PersonaEmotionalState"
    ]
    """<p>How the synthetic customer feels during the conversation.</p>"""
    cooperativeness: NotRequired[
        "capo_connect.types.persona_cooperativeness.PersonaCooperativeness"
    ]
    """<p>How cooperative the synthetic customer is.</p>"""

communication_style instance-attribute

communication_style: NotRequired[PersonaCommunicationStyle]

How the synthetic customer communicates.

cooperativeness instance-attribute

cooperativeness: NotRequired[PersonaCooperativeness]

How cooperative the synthetic customer is.

domain_knowledge instance-attribute

domain_knowledge: NotRequired[PersonaDomainKnowledge]

The background knowledge that the synthetic customer brings to the conversation.

emotional_state instance-attribute

emotional_state: NotRequired[PersonaEmotionalState]

How the synthetic customer feels during the conversation.

language instance-attribute

language: NotRequired[PersonaLanguage]

The language that the synthetic customer uses, for example en-US.

name instance-attribute

name: NotRequired[PersonaName]

The name of the persona.

voice instance-attribute

voice: NotRequired[PersonaVoice]

The Amazon Polly voice for the synthetic customer, for example Joanna.

voice_engine instance-attribute

voice_engine: NotRequired[PersonaVoiceEngine]

The Amazon Polly engine that synthesizes the speech of the synthetic customer. Choose an engine that the selected Voice supports. If you don't specify an engine, Amazon Polly uses the standard engine.