UpdateBotLocaleRequest
¶
Source code in docs_src/capo_lex_models_v2/types/update_bot_locale_request.py
audio_filler_settings
instance-attribute
¶
audio_filler_settings: NotRequired[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.
bot_version
instance-attribute
¶
bot_version: DraftBotVersion
The version of the bot that contains the locale to be updated. The version can only be the DRAFT version.
description
instance-attribute
¶
description: NotRequired[Description]
The new description of the locale.
generative_ai_settings
instance-attribute
¶
generative_ai_settings: NotRequired[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.
locale_id
instance-attribute
¶
locale_id: LocaleId
The identifier of the language and locale to update. The string must match one of the supported locales. For more information, see Supported languages.
nlu_intent_confidence_threshold
instance-attribute
¶
nlu_intent_confidence_threshold: ConfidenceThreshold
The new confidence threshold where Amazon Lex inserts the AMAZON.FallbackIntent and AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance.
speaker_diarization_settings
instance-attribute
¶
speaker_diarization_settings: NotRequired[SpeakerDiarizationSettings]
The updated speaker diarization settings to apply to the bot locale. If you omit this field, Amazon Lex keeps the setting currently stored on the bot locale. To turn speaker diarization off, set enabled to false explicitly.
speech_detection_sensitivity
instance-attribute
¶
speech_detection_sensitivity: NotRequired[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.
speech_recognition_settings
instance-attribute
¶
speech_recognition_settings: NotRequired[SpeechRecognitionSettings]
Updated speech-to-text settings to apply to the bot locale.
unified_speech_settings
instance-attribute
¶
unified_speech_settings: NotRequired[UnifiedSpeechSettings]
Updated unified speech settings to apply to the bot locale.
voice_settings
instance-attribute
¶
voice_settings: NotRequired[VoiceSettings]
The new Amazon Polly voice Amazon Lex should use for voice interaction with the user.