Class CfnBot.SlotValueElicitationSettingProperty
Specifies the elicitation setting details eliciting a slot.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SlotValueElicitationSettingProperty : Object, CfnBot.ISlotValueElicitationSettingProperty
Syntax (vb)
Public Class SlotValueElicitationSettingProperty
Inherits Object
Implements CfnBot.ISlotValueElicitationSettingProperty
Remarks
ExampleMetadata: fixture=_generated
Synopsis
Constructors
SlotValueElicitationSettingProperty() |
Properties
DefaultValueSpecification | A list of default values for a slot. |
PromptSpecification | The prompt that Amazon Lex uses to elicit the slot value from the user. |
SampleUtterances | 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. |
SlotCaptureSetting | Specifies the settings that Amazon Lex uses when a slot value is successfully entered by a user. |
SlotConstraint | Specifies whether the slot is required or optional. |
WaitAndContinueSpecification | Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input. |
Constructors
SlotValueElicitationSettingProperty()
public SlotValueElicitationSettingProperty()
Properties
DefaultValueSpecification
A list of default values for a slot.
public object DefaultValueSpecification { get; set; }
Property Value
System.Object
Remarks
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.
PromptSpecification
The prompt that Amazon Lex uses to elicit the slot value from the user.
public object PromptSpecification { get; set; }
Property Value
System.Object
Remarks
SampleUtterances
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.
public object SampleUtterances { get; set; }
Property Value
System.Object
Remarks
This is optional. In most cases, Amazon Lex is capable of understanding user utterances.
SlotCaptureSetting
Specifies the settings that Amazon Lex uses when a slot value is successfully entered by a user.
public object SlotCaptureSetting { get; set; }
Property Value
System.Object
Remarks
SlotConstraint
Specifies whether the slot is required or optional.
public string SlotConstraint { get; set; }
Property Value
System.String
Remarks
WaitAndContinueSpecification
Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input.
public object WaitAndContinueSpecification { get; set; }
Property Value
System.Object