You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

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.

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)

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

#nlu_intent_confidenceTypes::IntentConfidence

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

Returns:

#slotsHash<String,String>

The slot and slot values associated with the predicted intent.

Returns:

  • (Hash<String,String>)

    The slot and slot values associated with the predicted intent.