Skip to content

/AWS1/CL_LM2SUBSLOTVALELICIT00

Subslot elicitation settings.

DefaultValueSpecification is a list of default values for a constituent sub slot in a composite 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. This is similar to DefaultValueSpecification for slots.

PromptSpecification is the prompt that Amazon Lex uses to elicit the sub slot value from the user. This is similar to PromptSpecification for slots.

CONSTRUCTOR

IMPORTING

Required arguments:

io_promptspecification TYPE REF TO /AWS1/CL_LM2PROMPTSPEC /AWS1/CL_LM2PROMPTSPEC

promptSpecification

Optional arguments:

io_defaultvaluespecification TYPE REF TO /AWS1/CL_LM2SLOTDEFVALUESPEC /AWS1/CL_LM2SLOTDEFVALUESPEC

defaultValueSpecification

it_sampleutterances TYPE /AWS1/CL_LM2SAMPLEUTTERANCE=>TT_SAMPLEUTTERANCESLIST TT_SAMPLEUTTERANCESLIST

If you know a specific pattern that users might respond to an Amazon Lex request for a sub slot value, you can provide those utterances to improve accuracy. This is optional. In most cases Amazon Lex is capable of understanding user utterances. This is similar to SampleUtterances for slots.

io_waitandcontinuespec TYPE REF TO /AWS1/CL_LM2WAITANDCONTINUES00 /AWS1/CL_LM2WAITANDCONTINUES00

waitAndContinueSpecification


Queryable Attributes

defaultValueSpecification

defaultValueSpecification

Accessible with the following methods

Method Description
GET_DEFAULTVALUESPEC() Getter for DEFAULTVALUESPECIFICATION

promptSpecification

promptSpecification

Accessible with the following methods

Method Description
GET_PROMPTSPECIFICATION() Getter for PROMPTSPECIFICATION

sampleUtterances

If you know a specific pattern that users might respond to an Amazon Lex request for a sub slot value, you can provide those utterances to improve accuracy. This is optional. In most cases Amazon Lex is capable of understanding user utterances. This is similar to SampleUtterances for slots.

Accessible with the following methods

Method Description
GET_SAMPLEUTTERANCES() Getter for SAMPLEUTTERANCES, with configurable default
ASK_SAMPLEUTTERANCES() Getter for SAMPLEUTTERANCES w/ exceptions if field has no va
HAS_SAMPLEUTTERANCES() Determine if SAMPLEUTTERANCES has a value

waitAndContinueSpecification

waitAndContinueSpecification

Accessible with the following methods

Method Description
GET_WAITANDCONTINUESPEC() Getter for WAITANDCONTINUESPECIFICATION