Updates the settings that a bot has for a specific locale
Source:R/lexmodelsv2_operations.R
lexmodelsv2_update_bot_locale.RdUpdates the settings that a bot has for a specific locale.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_update_bot_locale/ for full documentation.
Usage
lexmodelsv2_update_bot_locale(
botId,
botVersion,
localeId,
description = NULL,
nluIntentConfidenceThreshold,
voiceSettings = NULL,
unifiedSpeechSettings = NULL,
audioFillerSettings = NULL,
speechRecognitionSettings = NULL,
generativeAISettings = NULL,
speechDetectionSensitivity = NULL
)Arguments
- botId
[required] The unique identifier of the bot that contains the locale.
- botVersion
[required] The version of the bot that contains the locale to be updated. The version can only be the
DRAFTversion.- localeId
[required] The identifier of the language and locale to update. The string must match one of the supported locales. For more information, see Supported languages.
- description
The new description of the locale.
- nluIntentConfidenceThreshold
[required] The new confidence threshold where Amazon Lex inserts the
AMAZON.FallbackIntentandAMAZON.KendraSearchIntentintents in the list of possible intents for an utterance.- voiceSettings
The new Amazon Polly voice Amazon Lex should use for voice interaction with the user.
- unifiedSpeechSettings
Updated unified speech settings to apply to the bot locale.
- audioFillerSettings
Updated audio filler settings to apply to the bot locale. When enabled, requires
unifiedSpeechSettings(speech-to-speech) to be configured on the bot locale.- speechRecognitionSettings
Updated speech-to-text settings to apply to the bot locale.
- generativeAISettings
Contains settings for generative AI features powered by Amazon Bedrock for your bot locale. Use this object to turn generative AI features on and off. Pricing may differ if you turn a feature on. For more information, see LINK.
- speechDetectionSensitivity
The new sensitivity level for voice activity detection (VAD) in the bot locale. This setting helps optimize speech recognition accuracy by adjusting how the system responds to background noise during voice interactions.