Class: Aws::LexModelsV2::Types::SlotValueElicitationSetting
- Inherits:
-
Struct
- Object
- Struct
- Aws::LexModelsV2::Types::SlotValueElicitationSetting
- 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
-
#default_value_specification ⇒ Types::SlotDefaultValueSpecification
A list of default values for a slot.
-
#prompt_specification ⇒ Types::PromptSpecification
The prompt that Amazon Lex uses to elicit the slot value from the user.
-
#sample_utterances ⇒ Array<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.
-
#slot_capture_setting ⇒ Types::SlotCaptureSetting
Specifies the settings that Amazon Lex uses when a slot value is successfully entered by a user.
-
#slot_constraint ⇒ String
Specifies whether the slot is required or optional.
-
#wait_and_continue_specification ⇒ Types::WaitAndContinueSpecification
Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input.
Instance Attribute Details
#default_value_specification ⇒ Types::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_specification ⇒ Types::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_utterances ⇒ Array<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.
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_setting ⇒ Types::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_constraint ⇒ String
Specifies whether the slot is required or optional.
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_specification ⇒ Types::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 |