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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


1311
1312
1313
1314
1315
1316
1317
# File 'lib/aws-sdk-lex/types.rb', line 1311

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.



1311
1312
1313
1314
1315
1316
1317
# File 'lib/aws-sdk-lex/types.rb', line 1311

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>)


1311
1312
1313
1314
1315
1316
1317
# File 'lib/aws-sdk-lex/types.rb', line 1311

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