Interface CfnBot.ISlotValueElicitationSettingProperty
Specifies the elicitation setting details eliciting a slot.
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ISlotValueElicitationSettingProperty
Syntax (vb)
Public Interface ISlotValueElicitationSettingProperty
Remarks
ExampleMetadata: fixture=_generated
Synopsis
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. |
Properties
DefaultValueSpecification
A list of default values for a slot.
virtual object DefaultValueSpecification { get; }
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.
virtual object PromptSpecification { get; }
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.
virtual object SampleUtterances { get; }
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.
virtual object SlotCaptureSetting { get; }
Property Value
System.Object
Remarks
SlotConstraint
Specifies whether the slot is required or optional.
string SlotConstraint { get; }
Property Value
System.String
Remarks
WaitAndContinueSpecification
Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input.
virtual object WaitAndContinueSpecification { get; }
Property Value
System.Object