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 eliciting a 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.



12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 12736

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

#prompt_specificationTypes::PromptSpecification

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



12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 12736

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



12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 12736

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



12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 12736

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

#slot_constraintString

Specifies whether the slot is required or optional.

Returns:

  • (String)


12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 12736

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

#slot_resolution_settingTypes::SlotResolutionSetting

An object containing information about whether assisted slot resolution is turned on for the slot or not.



12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 12736

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



12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 12736

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