Class: Aws::LexModelsV2::Types::SubSlotValueElicitationSetting

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lexmodelsv2/types.rb

Overview

Subslot elicitation settings.

‘DefaultValueSpecification` is a list of default values for a constituent sub slot in a composite slot. Default values are used when Amazon Lex hasn’t determined a value for a slot. You can specify default values from context variables, session attributes, and defined values. This is similar to ‘DefaultValueSpecification` for slots.

‘PromptSpecification` is the prompt that Amazon Lex uses to elicit the sub slot value from the user. This is similar to `PromptSpecification` for slots.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#default_value_specificationTypes::SlotDefaultValueSpecification

Defines a list of values that Amazon Lex should use as the default value for a slot.



13469
13470
13471
13472
13473
13474
13475
13476
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 13469

class SubSlotValueElicitationSetting < Struct.new(
  :default_value_specification,
  :prompt_specification,
  :sample_utterances,
  :wait_and_continue_specification)
  SENSITIVE = []
  include Aws::Structure
end

#prompt_specificationTypes::PromptSpecification

Specifies a list of message groups that Amazon Lex sends to a user to elicit a response.



13469
13470
13471
13472
13473
13474
13475
13476
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 13469

class SubSlotValueElicitationSetting < Struct.new(
  :default_value_specification,
  :prompt_specification,
  :sample_utterances,
  :wait_and_continue_specification)
  SENSITIVE = []
  include Aws::Structure
end

#sample_utterancesArray<Types::SampleUtterance>

If you know a specific pattern that users might respond to an Amazon Lex request for a sub slot value, you can provide those utterances to improve accuracy. This is optional. In most cases Amazon Lex is capable of understanding user utterances. This is similar to ‘SampleUtterances` for slots.

Returns:



13469
13470
13471
13472
13473
13474
13475
13476
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 13469

class SubSlotValueElicitationSetting < Struct.new(
  :default_value_specification,
  :prompt_specification,
  :sample_utterances,
  :wait_and_continue_specification)
  SENSITIVE = []
  include Aws::Structure
end

#wait_and_continue_specificationTypes::WaitAndContinueSpecification

Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input.



13469
13470
13471
13472
13473
13474
13475
13476
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 13469

class SubSlotValueElicitationSetting < Struct.new(
  :default_value_specification,
  :prompt_specification,
  :sample_utterances,
  :wait_and_continue_specification)
  SENSITIVE = []
  include Aws::Structure
end