Class: Aws::LexModelsV2::Types::SlotValueElicitationSetting

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

Overview

Specifies the elicitation setting details for constituent sub slots of a composite slot.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#default_value_specificationTypes::SlotDefaultValueSpecification

A list of default values for a 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.



8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 8155

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

#prompt_specificationTypes::PromptSpecification

The prompt that Amazon Lex uses to elicit the slot value from the user.



8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 8155

class SlotValueElicitationSetting < Struct.new(
  :default_value_specification,
  :slot_constraint,
  :prompt_specification,
  :sample_utterances,
  :wait_and_continue_specification,
  :slot_capture_setting)
  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 slot value, you can provide those utterances to improve accuracy. This is optional. In most cases, Amazon Lex is capable of understanding user utterances.

Returns:



8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 8155

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

#slot_capture_settingTypes::SlotCaptureSetting

Specifies the settings that Amazon Lex uses when a slot value is successfully entered by a user.



8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 8155

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

#slot_constraintString

Specifies whether the slot is required or optional.

Returns:

  • (String)


8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 8155

class SlotValueElicitationSetting < Struct.new(
  :default_value_specification,
  :slot_constraint,
  :prompt_specification,
  :sample_utterances,
  :wait_and_continue_specification,
  :slot_capture_setting)
  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.



8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 8155

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