/AWS1/CL_LM2BOTLOCALEIMPSPEC¶
Provides the bot locale parameters required for importing a bot locale.
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
iv_botid
TYPE /AWS1/LM2ID
/AWS1/LM2ID
¶
The identifier of the bot to import the locale to.
iv_botversion
TYPE /AWS1/LM2DRAFTBOTVERSION
/AWS1/LM2DRAFTBOTVERSION
¶
The version of the bot to import the locale to. This can only be the
DRAFT
version of the bot.
iv_localeid
TYPE /AWS1/LM2LOCALEID
/AWS1/LM2LOCALEID
¶
The identifier of the language and locale that the bot will be used in. The string must match one of the supported locales. All of the intents, slot types, and slots used in the bot must have the same locale. For more information, see Supported languages.
Optional arguments:¶
iv_nluintentconfidencethresh
TYPE /AWS1/RT_DOUBLE_AS_STRING
/AWS1/RT_DOUBLE_AS_STRING
¶
Determines the threshold where Amazon Lex will insert the
AMAZON.FallbackIntent
,AMAZON.KendraSearchIntent
, or both when returning alternative intents.AMAZON.FallbackIntent
andAMAZON.KendraSearchIntent
are only inserted if they are configured for the bot.For example, suppose a bot is configured with the confidence threshold of 0.80 and the
AMAZON.FallbackIntent
. Amazon Lex returns three alternative intents with the following confidence scores: IntentA (0.70), IntentB (0.60), IntentC (0.50). The response from thePostText
operation would be:
AMAZON.FallbackIntent
IntentA
IntentB
IntentC
io_voicesettings
TYPE REF TO /AWS1/CL_LM2VOICESETTINGS
/AWS1/CL_LM2VOICESETTINGS
¶
voiceSettings
Queryable Attributes¶
botId¶
The identifier of the bot to import the locale to.
Accessible with the following methods¶
Method | Description |
---|---|
GET_BOTID() |
Getter for BOTID, with configurable default |
ASK_BOTID() |
Getter for BOTID w/ exceptions if field has no value |
HAS_BOTID() |
Determine if BOTID has a value |
botVersion¶
The version of the bot to import the locale to. This can only be the
DRAFT
version of the bot.
Accessible with the following methods¶
Method | Description |
---|---|
GET_BOTVERSION() |
Getter for BOTVERSION, with configurable default |
ASK_BOTVERSION() |
Getter for BOTVERSION w/ exceptions if field has no value |
HAS_BOTVERSION() |
Determine if BOTVERSION has a value |
localeId¶
The identifier of the language and locale that the bot will be used in. The string must match one of the supported locales. All of the intents, slot types, and slots used in the bot must have the same locale. For more information, see Supported languages.
Accessible with the following methods¶
Method | Description |
---|---|
GET_LOCALEID() |
Getter for LOCALEID, with configurable default |
ASK_LOCALEID() |
Getter for LOCALEID w/ exceptions if field has no value |
HAS_LOCALEID() |
Determine if LOCALEID has a value |
nluIntentConfidenceThreshold¶
Determines the threshold where Amazon Lex will insert the
AMAZON.FallbackIntent
,AMAZON.KendraSearchIntent
, or both when returning alternative intents.AMAZON.FallbackIntent
andAMAZON.KendraSearchIntent
are only inserted if they are configured for the bot.For example, suppose a bot is configured with the confidence threshold of 0.80 and the
AMAZON.FallbackIntent
. Amazon Lex returns three alternative intents with the following confidence scores: IntentA (0.70), IntentB (0.60), IntentC (0.50). The response from thePostText
operation would be:
AMAZON.FallbackIntent
IntentA
IntentB
IntentC
Accessible with the following methods¶
Method | Description |
---|---|
GET_NLUINTENTCONFIDENCETHRSH() |
Getter for NLUINTENTCONFIDENCETHRESHOLD, with configurable d |
ASK_NLUINTENTCONFIDENCETHRSH() |
Getter for NLUINTENTCONFIDENCETHRESHOLD w/ exceptions if fie |
STR_NLUINTENTCONFIDENCETHRSH() |
String format for NLUINTENTCONFIDENCETHRESHOLD, with configu |
HAS_NLUINTENTCONFIDENCETHRSH() |
Determine if NLUINTENTCONFIDENCETHRESHOLD has a value |
voiceSettings¶
voiceSettings
Accessible with the following methods¶
Method | Description |
---|---|
GET_VOICESETTINGS() |
Getter for VOICESETTINGS |