Class: Aws::LexRuntimeV2::Types::Interpretation
- Inherits:
-
Struct
- Object
- Struct
- Aws::LexRuntimeV2::Types::Interpretation
- Defined in:
- gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb
Overview
An intent that Amazon Lex V2 determined might satisfy the user's utterance. The intents are ordered by the confidence score.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#intent ⇒ Types::Intent
A list of intents that might satisfy the user's utterance.
-
#nlu_confidence ⇒ Types::ConfidenceScore
Determines the threshold where Amazon Lex V2 will insert the
AMAZON.FallbackIntent
,AMAZON.KendraSearchIntent
, or both when returning alternative intents in a response. -
#sentiment_response ⇒ Types::SentimentResponse
The sentiment expressed in an utterance.
Instance Attribute Details
#intent ⇒ Types::Intent
A list of intents that might satisfy the user's utterance. The intents are ordered by the confidence score.
933 934 935 936 937 938 939 |
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 933 class Interpretation < Struct.new( :nlu_confidence, :sentiment_response, :intent) SENSITIVE = [] include Aws::Structure end |
#nlu_confidence ⇒ Types::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.
933 934 935 936 937 938 939 |
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 933 class Interpretation < Struct.new( :nlu_confidence, :sentiment_response, :intent) SENSITIVE = [] include Aws::Structure end |
#sentiment_response ⇒ Types::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.
933 934 935 936 937 938 939 |
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 933 class Interpretation < Struct.new( :nlu_confidence, :sentiment_response, :intent) SENSITIVE = [] include Aws::Structure end |