Skip to content

IntentResult

Source code in docs_src/capo_customer_profiles/types/intent_result.py
class IntentResult(TypedDict, closed=True):
    intent_type: "capo_customer_profiles.types.intent_type.IntentType"
    """<p>The intent type.</p>"""
    summary: NotRequired[
        "capo_customer_profiles.types.sensitive_string1_to4000.sensitiveString1To4000"
    ]
    """<p>A natural language summary of the intent. This is returned for the <code>WEB_SESSION_SUMMARY</code> and <code>LAST_SEARCH_INTENT</code> intent types.</p>"""
    value: NotRequired[
        "capo_customer_profiles.types.sensitive_string1_to255.sensitiveString1To255"
    ]
    """<p>The classification of the intent, such as <code>HIGH</code> or <code>LOW</code>. This is returned for the <code>PRICE_SENSITIVITY</code> and <code>UPGRADE_UPSELL_PROPENSITY</code> intent types.</p>"""

intent_type instance-attribute

intent_type: IntentType

The intent type.

summary instance-attribute

summary: NotRequired[sensitiveString1To4000]

A natural language summary of the intent. This is returned for the WEB_SESSION_SUMMARY and LAST_SEARCH_INTENT intent types.

value instance-attribute

value: NotRequired[sensitiveString1To255]

The classification of the intent, such as HIGH or LOW. This is returned for the PRICE_SENSITIVITY and UPGRADE_UPSELL_PROPENSITY intent types.