IntentSlot constructor
- Input<
String?> ? description, - required Input<
String> name, - Input<
int?> ? priority, - Input<
String?> ? responseCard, - Input<
List< ? sampleUtterances,String> ?> - required Input<
String> slotConstraint, - required Input<
String> slotType, - Input<
String?> ? slotTypeVersion, - Input<
IntentSlotValueElicitationPrompt?> ? valueElicitationPrompt,
Creates a new IntentSlot.
description A description of the bot. Must be less than or equal to 200 characters in length.
name The name of the intent slot that you want to create. The name is case sensitive. Must be less than or equal to 100 characters in length.
priority Directs Lex the order in which to elicit this slot value from the user.
responseCard The response card. Amazon Lex will substitute session attributes and
sampleUtterances If you know a specific pattern with which users might respond to
slotConstraint Specifies whether the slot is required or optional.
slotType The type of the slot, either a custom slot type that you defined or one of
slotTypeVersion The version of the slot type. Must be less than or equal to 64 characters in length.
valueElicitationPrompt The prompt that Amazon Lex uses to elicit the slot value
Implementation
const IntentSlot({
this.description,
required this.name,
this.priority,
this.responseCard,
this.sampleUtterances,
required this.slotConstraint,
required this.slotType,
this.slotTypeVersion,
this.valueElicitationPrompt,
});