Class: Aws::LexRuntimeV2::Types::Interpretation

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#intentTypes::Intent

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

Returns:



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_confidenceTypes::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_responseTypes::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