Class: Aws::Lex::Types::PredictedIntent

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lex/lib/aws-sdk-lex/types.rb

Overview

An intent that Amazon Lex suggests satisfies the user's intent. Includes the name of the intent, the confidence that Amazon Lex has that the user's intent is satisfied, and the slots defined for the intent.

Constant Summary collapse

SENSITIVE =
[:slots]

Instance Attribute Summary collapse

Instance Attribute Details

#intent_nameString

The name of the intent that Amazon Lex suggests satisfies the user's intent.

Returns:

  • (String)


1309
1310
1311
1312
1313
1314
1315
# File 'gems/aws-sdk-lex/lib/aws-sdk-lex/types.rb', line 1309

class PredictedIntent < Struct.new(
  :intent_name,
  :nlu_intent_confidence,
  :slots)
  SENSITIVE = [:slots]
  include Aws::Structure
end

#nlu_intent_confidenceTypes::IntentConfidence

Indicates how confident Amazon Lex is that an intent satisfies the user's intent.



1309
1310
1311
1312
1313
1314
1315
# File 'gems/aws-sdk-lex/lib/aws-sdk-lex/types.rb', line 1309

class PredictedIntent < Struct.new(
  :intent_name,
  :nlu_intent_confidence,
  :slots)
  SENSITIVE = [:slots]
  include Aws::Structure
end

#slotsHash<String,String>

The slot and slot values associated with the predicted intent.

Returns:

  • (Hash<String,String>)


1309
1310
1311
1312
1313
1314
1315
# File 'gems/aws-sdk-lex/lib/aws-sdk-lex/types.rb', line 1309

class PredictedIntent < Struct.new(
  :intent_name,
  :nlu_intent_confidence,
  :slots)
  SENSITIVE = [:slots]
  include Aws::Structure
end