View a markdown version of this page

Interpretation - Amazon Lex

Interpretation

An object containing information about an intent that Amazon Lex determined might satisfy the user's utterance. The intents are ordered by the confidence score.

Contents

intent

A list of intents that might satisfy the user's utterance. The intents are ordered by the confidence score.

Type: Intent object

Required: No

interpretationSource

Specifies the service that interpreted the input.

Type: String

Valid Values: Bedrock | Lex

Required: No

nluConfidence

Determines the threshold where Amazon Lex 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.

Type: ConfidenceScore object

Required: No

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.

Type: SentimentResponse object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: