Skip to content

IntentError

Source code in docs_src/capo_customer_profiles/types/intent_error.py
class IntentError(TypedDict, closed=True):
    intent_type: "capo_customer_profiles.types.intent_type.IntentType"
    """<p>The intent type that couldn't be generated.</p>"""
    code: "capo_customer_profiles.types.intent_error_code.IntentErrorCode"
    """<p>The error code that describes why the intent couldn't be generated.</p>"""
    message: NotRequired[
        "capo_customer_profiles.types.intent_error_message_string.IntentErrorMessageString"
    ]
    """<p>A message that describes the error.</p>"""

code instance-attribute

The error code that describes why the intent couldn't be generated.

intent_type instance-attribute

intent_type: IntentType

The intent type that couldn't be generated.

message instance-attribute

message: NotRequired[IntentErrorMessageString]

A message that describes the error.