Interpretation
¶
Source code in docs_src/capo_lex_runtime_v2/types/interpretation.py
intent
instance-attribute
¶
intent: NotRequired[Intent]
A list of intents that might satisfy the user's utterance. The intents are ordered by the confidence score.
interpretation_source
instance-attribute
¶
interpretation_source: NotRequired[InterpretationSource]
Specifies the service that interpreted the input.
nlu_confidence
instance-attribute
¶
nlu_confidence: NotRequired[ConfidenceScore]
Determines the threshold where Amazon Lex V2 will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a response. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot.
sentiment_response
instance-attribute
¶
sentiment_response: NotRequired[SentimentResponse]
The sentiment expressed in an utterance.
When the bot is configured to send utterances to Amazon Comprehend for sentiment analysis, this field contains the result of the analysis.