Skip to content

PredictedIntent

Source code in docs_src/capo_lex_runtime_service/types/predicted_intent.py
class PredictedIntent(TypedDict, closed=True):
    intent_name: NotRequired["capo_lex_runtime_service.types.intent_name.IntentName"]
    """<p>The name of the intent that Amazon Lex suggests satisfies the user's intent.</p>"""
    nlu_intent_confidence: NotRequired[
        "capo_lex_runtime_service.types.intent_confidence.IntentConfidence"
    ]
    """<p>Indicates how confident Amazon Lex is that an intent satisfies the user's intent.</p>"""
    slots: NotRequired["capo_lex_runtime_service.types.string_map.StringMap"]
    """<p>The slot and slot values associated with the predicted intent.</p>"""

intent_name instance-attribute

intent_name: NotRequired[IntentName]

The name of the intent that Amazon Lex suggests satisfies the user's intent.

nlu_intent_confidence instance-attribute

nlu_intent_confidence: NotRequired[IntentConfidence]

Indicates how confident Amazon Lex is that an intent satisfies the user's intent.

slots instance-attribute

slots: NotRequired[StringMap]

The slot and slot values associated with the predicted intent.