/AWS1/CL_LXBSLOT¶
Identifies the version of a specific slot.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_name TYPE /AWS1/LXBSLOTNAME /AWS1/LXBSLOTNAME¶
The name of the slot.
iv_slotconstraint TYPE /AWS1/LXBSLOTCONSTRAINT /AWS1/LXBSLOTCONSTRAINT¶
Specifies whether the slot is required or optional.
Optional arguments:¶
iv_description TYPE /AWS1/LXBDESCRIPTION /AWS1/LXBDESCRIPTION¶
A description of the slot.
iv_slottype TYPE /AWS1/LXBCUSTORBUILTINSLOTTY00 /AWS1/LXBCUSTORBUILTINSLOTTY00¶
The type of the slot, either a custom slot type that you defined or one of the built-in slot types.
iv_slottypeversion TYPE /AWS1/LXBVERSION /AWS1/LXBVERSION¶
The version of the slot type.
io_valueelicitationprompt TYPE REF TO /AWS1/CL_LXBPROMPT /AWS1/CL_LXBPROMPT¶
The prompt that Amazon Lex uses to elicit the slot value from the user.
iv_priority TYPE /AWS1/LXBPRIORITY /AWS1/LXBPRIORITY¶
Directs Amazon Lex the order in which to elicit this slot value from the user. For example, if the intent has two slots with priorities 1 and 2, AWS Amazon Lex first elicits a value for the slot with priority 1.
If multiple slots share the same priority, the order in which Amazon Lex elicits values is arbitrary.
it_sampleutterances TYPE /AWS1/CL_LXBSLOTUTTERANCELST_W=>TT_SLOTUTTERANCELIST TT_SLOTUTTERANCELIST¶
If you know a specific pattern with which 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.
iv_responsecard TYPE /AWS1/LXBRESPONSECARD /AWS1/LXBRESPONSECARD¶
A set of possible responses for the slot type used by text-based clients. A user chooses an option from the response card, instead of using text to reply.
iv_obfuscationsetting TYPE /AWS1/LXBOBFUSCATIONSETTING /AWS1/LXBOBFUSCATIONSETTING¶
Determines whether a slot is obfuscated in conversation logs and stored utterances. When you obfuscate a slot, the value is replaced by the slot name in curly braces ({}). For example, if the slot name is "full_name", obfuscated values are replaced with "{full_name}". For more information, see Slot Obfuscation .
io_defaultvaluespec TYPE REF TO /AWS1/CL_LXBSLOTDEFVALUESPEC /AWS1/CL_LXBSLOTDEFVALUESPEC¶
A list of default values for the 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.
Queryable Attributes¶
name¶
The name of the slot.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_NAME() |
Getter for NAME, with configurable default |
ASK_NAME() |
Getter for NAME w/ exceptions if field has no value |
HAS_NAME() |
Determine if NAME has a value |
description¶
A description of the slot.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DESCRIPTION() |
Getter for DESCRIPTION, with configurable default |
ASK_DESCRIPTION() |
Getter for DESCRIPTION w/ exceptions if field has no value |
HAS_DESCRIPTION() |
Determine if DESCRIPTION has a value |
slotConstraint¶
Specifies whether the slot is required or optional.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SLOTCONSTRAINT() |
Getter for SLOTCONSTRAINT, with configurable default |
ASK_SLOTCONSTRAINT() |
Getter for SLOTCONSTRAINT w/ exceptions if field has no valu |
HAS_SLOTCONSTRAINT() |
Determine if SLOTCONSTRAINT has a value |
slotType¶
The type of the slot, either a custom slot type that you defined or one of the built-in slot types.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SLOTTYPE() |
Getter for SLOTTYPE, with configurable default |
ASK_SLOTTYPE() |
Getter for SLOTTYPE w/ exceptions if field has no value |
HAS_SLOTTYPE() |
Determine if SLOTTYPE has a value |
slotTypeVersion¶
The version of the slot type.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SLOTTYPEVERSION() |
Getter for SLOTTYPEVERSION, with configurable default |
ASK_SLOTTYPEVERSION() |
Getter for SLOTTYPEVERSION w/ exceptions if field has no val |
HAS_SLOTTYPEVERSION() |
Determine if SLOTTYPEVERSION has a value |
valueElicitationPrompt¶
The prompt that Amazon Lex uses to elicit the slot value from the user.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_VALUEELICITATIONPROMPT() |
Getter for VALUEELICITATIONPROMPT |
priority¶
Directs Amazon Lex the order in which to elicit this slot value from the user. For example, if the intent has two slots with priorities 1 and 2, AWS Amazon Lex first elicits a value for the slot with priority 1.
If multiple slots share the same priority, the order in which Amazon Lex elicits values is arbitrary.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PRIORITY() |
Getter for PRIORITY, with configurable default |
ASK_PRIORITY() |
Getter for PRIORITY w/ exceptions if field has no value |
HAS_PRIORITY() |
Determine if PRIORITY has a value |
sampleUtterances¶
If you know a specific pattern with which 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.
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 |
responseCard¶
A set of possible responses for the slot type used by text-based clients. A user chooses an option from the response card, instead of using text to reply.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RESPONSECARD() |
Getter for RESPONSECARD, with configurable default |
ASK_RESPONSECARD() |
Getter for RESPONSECARD w/ exceptions if field has no value |
HAS_RESPONSECARD() |
Determine if RESPONSECARD has a value |
obfuscationSetting¶
Determines whether a slot is obfuscated in conversation logs and stored utterances. When you obfuscate a slot, the value is replaced by the slot name in curly braces ({}). For example, if the slot name is "full_name", obfuscated values are replaced with "{full_name}". For more information, see Slot Obfuscation .
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_OBFUSCATIONSETTING() |
Getter for OBFUSCATIONSETTING, with configurable default |
ASK_OBFUSCATIONSETTING() |
Getter for OBFUSCATIONSETTING w/ exceptions if field has no |
HAS_OBFUSCATIONSETTING() |
Determine if OBFUSCATIONSETTING has a value |
defaultValueSpec¶
A list of default values for the 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.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DEFAULTVALUESPEC() |
Getter for DEFAULTVALUESPEC |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_SLOTLIST¶
TYPES TT_SLOTLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_LXBSLOT WITH DEFAULT KEY
.