Class: Aws::LexRuntimeV2::Types::Interpretation
- Inherits:
-
Struct
- Object
- Struct
- Aws::LexRuntimeV2::Types::Interpretation
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lexruntimev2/types.rb
Overview
An object containing information about 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.
-
#interpretation_source ⇒ String
Specifies the service that interpreted the input.
-
#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.
787 788 789 790 791 792 793 794 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 787 class Interpretation < Struct.new( :nlu_confidence, :sentiment_response, :intent, :interpretation_source) SENSITIVE = [] include Aws::Structure end |
#interpretation_source ⇒ String
Specifies the service that interpreted the input.
787 788 789 790 791 792 793 794 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 787 class Interpretation < Struct.new( :nlu_confidence, :sentiment_response, :intent, :interpretation_source) 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.
787 788 789 790 791 792 793 794 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 787 class Interpretation < Struct.new( :nlu_confidence, :sentiment_response, :intent, :interpretation_source) 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.
787 788 789 790 791 792 793 794 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 787 class Interpretation < Struct.new( :nlu_confidence, :sentiment_response, :intent, :interpretation_source) SENSITIVE = [] include Aws::Structure end |