Values.UpdateBotLocaleRequestSourceUpdates the settings that a bot has for a specific locale.
type nonrec t = {botId : Id.t;The unique identifier of the bot that contains the locale.
*)botVersion : DraftBotVersion.t;The version of the bot that contains the locale to be updated. The version can only be the DRAFT version.
*)localeId : LocaleId.t;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 : Description.t option;The new description of the locale.
*)nluIntentConfidenceThreshold : ConfidenceThreshold.t;The new confidence threshold where Amazon Lex inserts the AMAZON.FallbackIntent and AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance.
*)voiceSettings : VoiceSettings.t option;The new Amazon Polly voice Amazon Lex should use for voice interaction with the user.
*)unifiedSpeechSettings : UnifiedSpeechSettings.t option;Updated unified speech settings to apply to the bot locale.
*)audioFillerSettings : AudioFillerSettings.t option;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 : SpeechRecognitionSettings.t option;Updated speech-to-text settings to apply to the bot locale.
*)generativeAISettings : GenerativeAISettings.t option;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 : SpeechDetectionSensitivity.t option;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.
*)}val make :
?description:??? ->
?voiceSettings:??? ->
?unifiedSpeechSettings:??? ->
?audioFillerSettings:??? ->
?speechRecognitionSettings:??? ->
?generativeAISettings:??? ->
?speechDetectionSensitivity:??? ->
botId:Id.t ->
botVersion:DraftBotVersion.t ->
localeId:LocaleId.t ->
nluIntentConfidenceThreshold:ConfidenceThreshold.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Double of ConfidenceThreshold.t
| `Enum of string
| `String of Id.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `Integer of AudioFillerDelayInMilliseconds.t
| `String of VoiceId.t
| `Structure of
(string
* [> `String of BedrockModelArn.t
| `Structure of
(string
* [> `Boolean of Enabled.t
| `Enum of string
| `String of SecretsManagerSecretArn.t
| `Structure of
(string
* [> `Boolean of Enabled.t
| `Enum of string
| `Integer of MaxDisambiguationIntents.t
| `String of BedrockModelArn.t
| `Structure of
(string
* [> `String of BedrockGuardrailIdentifier.t ])
list ])
list ])
list ])
list ])
list ])
list ]