View source: R/lexmodelsv2_operations.R
lexmodelsv2_create_bot_locale | R Documentation |
Creates a locale in the bot. The locale contains the intents and slot types that the bot uses in conversations with users in the specified language and locale. You must add a locale to a bot before you can add intents and slot types to the bot.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_create_bot_locale/ for full documentation.
lexmodelsv2_create_bot_locale(
botId,
botVersion,
localeId,
description = NULL,
nluIntentConfidenceThreshold,
voiceSettings = NULL,
generativeAISettings = NULL
)
botId |
[required] The identifier of the bot to create the locale for. |
botVersion |
[required] The version of the bot to create the locale for. This can only be the draft version of the bot. |
localeId |
[required] 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. |
description |
A description of the bot locale. Use this to help identify the bot locale in lists. |
nluIntentConfidenceThreshold |
[required] Determines the threshold where Amazon Lex will insert the
For example, suppose a bot is configured with the confidence threshold
of 0.80 and the
|
voiceSettings |
The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. |
generativeAISettings |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.