aws-sdk-lexmodelsv2 1.82.0 → 1.84.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lexmodelsv2/client.rb +152 -9
- data/lib/aws-sdk-lexmodelsv2/client_api.rb +62 -1
- data/lib/aws-sdk-lexmodelsv2/types.rb +291 -13
- data/lib/aws-sdk-lexmodelsv2.rb +1 -1
- data/sig/client.rbs +82 -10
- data/sig/types.rbs +61 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ae0e35da9276a8f0a0893d516b22a038f8bbddaceaa7e0057bf2c10ee629491f
|
|
4
|
+
data.tar.gz: ce7b06dc338b922e7395270c82c0cd0181a994c211153a1b3452bd41f29c7d91
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b50aa41567c8e8562f53f1ec399affc495b54f26d31e3bdb663d6c505ec5d907aeaf0e73f55e7df0b34afddabce0168c36183aebcd30e17030de3b586830fbc7
|
|
7
|
+
data.tar.gz: 6cc18ab0f1c3ccdeb1e98ae01cd07ac7a8b91d26b3d44a8446f2e9998633782ed784d2eef05e93b6bb052954b5a69c9a6eabd6c2325e947aacce9d59f8a65563
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.84.0 (2025-12-01)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds support for speech-to-speech models for human-like, adaptive, and expressive voice interactions. Also adds support for speech model preference, allowing customers to select which speech model they want to use for speech-to-text requests.
|
|
8
|
+
|
|
9
|
+
1.83.0 (2025-11-21)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Adds support for Intent Disambiguation, allowing resolution of ambiguous user inputs when multiple intents match by presenting clarifying questions to users. Also adds Speech Detection Sensitivity configuration for optimizing voice activity detection sensitivity levels in various noise environments.
|
|
13
|
+
|
|
4
14
|
1.82.0 (2025-11-17)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.84.0
|
|
@@ -1074,10 +1074,22 @@ module Aws::LexModelsV2
|
|
|
1074
1074
|
# The Amazon Polly voice ID that Amazon Lex uses for voice interaction
|
|
1075
1075
|
# with the user.
|
|
1076
1076
|
#
|
|
1077
|
+
# @option params [Types::UnifiedSpeechSettings] :unified_speech_settings
|
|
1078
|
+
# Unified speech settings to configure for the new bot locale.
|
|
1079
|
+
#
|
|
1080
|
+
# @option params [Types::SpeechRecognitionSettings] :speech_recognition_settings
|
|
1081
|
+
# Speech-to-text settings to configure for the new bot locale.
|
|
1082
|
+
#
|
|
1077
1083
|
# @option params [Types::GenerativeAISettings] :generative_ai_settings
|
|
1078
1084
|
# Contains specifications about the generative AI capabilities from
|
|
1079
1085
|
# Amazon Bedrock that you can turn on for your bot.
|
|
1080
1086
|
#
|
|
1087
|
+
# @option params [String] :speech_detection_sensitivity
|
|
1088
|
+
# The sensitivity level for voice activity detection (VAD) in the bot
|
|
1089
|
+
# locale. This setting helps optimize speech recognition accuracy by
|
|
1090
|
+
# adjusting how the system responds to background noise during voice
|
|
1091
|
+
# interactions.
|
|
1092
|
+
#
|
|
1081
1093
|
# @return [Types::CreateBotLocaleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1082
1094
|
#
|
|
1083
1095
|
# * {Types::CreateBotLocaleResponse#bot_id #bot_id} => String
|
|
@@ -1087,9 +1099,12 @@ module Aws::LexModelsV2
|
|
|
1087
1099
|
# * {Types::CreateBotLocaleResponse#description #description} => String
|
|
1088
1100
|
# * {Types::CreateBotLocaleResponse#nlu_intent_confidence_threshold #nlu_intent_confidence_threshold} => Float
|
|
1089
1101
|
# * {Types::CreateBotLocaleResponse#voice_settings #voice_settings} => Types::VoiceSettings
|
|
1102
|
+
# * {Types::CreateBotLocaleResponse#unified_speech_settings #unified_speech_settings} => Types::UnifiedSpeechSettings
|
|
1103
|
+
# * {Types::CreateBotLocaleResponse#speech_recognition_settings #speech_recognition_settings} => Types::SpeechRecognitionSettings
|
|
1090
1104
|
# * {Types::CreateBotLocaleResponse#bot_locale_status #bot_locale_status} => String
|
|
1091
1105
|
# * {Types::CreateBotLocaleResponse#creation_date_time #creation_date_time} => Time
|
|
1092
1106
|
# * {Types::CreateBotLocaleResponse#generative_ai_settings #generative_ai_settings} => Types::GenerativeAISettings
|
|
1107
|
+
# * {Types::CreateBotLocaleResponse#speech_detection_sensitivity #speech_detection_sensitivity} => String
|
|
1093
1108
|
#
|
|
1094
1109
|
# @example Request syntax with placeholder values
|
|
1095
1110
|
#
|
|
@@ -1100,8 +1115,23 @@ module Aws::LexModelsV2
|
|
|
1100
1115
|
# description: "Description",
|
|
1101
1116
|
# nlu_intent_confidence_threshold: 1.0, # required
|
|
1102
1117
|
# voice_settings: {
|
|
1103
|
-
# voice_id: "VoiceId", # required
|
|
1104
1118
|
# engine: "standard", # accepts standard, neural, long-form, generative
|
|
1119
|
+
# voice_id: "VoiceId", # required
|
|
1120
|
+
# },
|
|
1121
|
+
# unified_speech_settings: {
|
|
1122
|
+
# speech_foundation_model: { # required
|
|
1123
|
+
# model_arn: "BedrockModelArn", # required
|
|
1124
|
+
# voice_id: "VoiceId",
|
|
1125
|
+
# },
|
|
1126
|
+
# },
|
|
1127
|
+
# speech_recognition_settings: {
|
|
1128
|
+
# speech_model_preference: "Standard", # accepts Standard, Neural, Deepgram
|
|
1129
|
+
# speech_model_config: {
|
|
1130
|
+
# deepgram_config: {
|
|
1131
|
+
# api_token_secret_arn: "SecretsManagerSecretArn", # required
|
|
1132
|
+
# model_id: "DeepgramModelId",
|
|
1133
|
+
# },
|
|
1134
|
+
# },
|
|
1105
1135
|
# },
|
|
1106
1136
|
# generative_ai_settings: {
|
|
1107
1137
|
# runtime_settings: {
|
|
@@ -1120,6 +1150,11 @@ module Aws::LexModelsV2
|
|
|
1120
1150
|
# nlu_improvement: {
|
|
1121
1151
|
# enabled: false, # required
|
|
1122
1152
|
# assisted_nlu_mode: "Primary", # accepts Primary, Fallback
|
|
1153
|
+
# intent_disambiguation_settings: {
|
|
1154
|
+
# enabled: false, # required
|
|
1155
|
+
# max_disambiguation_intents: 1,
|
|
1156
|
+
# custom_disambiguation_message: "CustomDisambiguationMessage",
|
|
1157
|
+
# },
|
|
1123
1158
|
# },
|
|
1124
1159
|
# },
|
|
1125
1160
|
# buildtime_settings: {
|
|
@@ -1149,6 +1184,7 @@ module Aws::LexModelsV2
|
|
|
1149
1184
|
# },
|
|
1150
1185
|
# },
|
|
1151
1186
|
# },
|
|
1187
|
+
# speech_detection_sensitivity: "Default", # accepts Default, HighNoiseTolerance, MaximumNoiseTolerance
|
|
1152
1188
|
# })
|
|
1153
1189
|
#
|
|
1154
1190
|
# @example Response structure
|
|
@@ -1159,8 +1195,13 @@ module Aws::LexModelsV2
|
|
|
1159
1195
|
# resp.locale_id #=> String
|
|
1160
1196
|
# resp.description #=> String
|
|
1161
1197
|
# resp.nlu_intent_confidence_threshold #=> Float
|
|
1162
|
-
# resp.voice_settings.voice_id #=> String
|
|
1163
1198
|
# resp.voice_settings.engine #=> String, one of "standard", "neural", "long-form", "generative"
|
|
1199
|
+
# resp.voice_settings.voice_id #=> String
|
|
1200
|
+
# resp.unified_speech_settings.speech_foundation_model.model_arn #=> String
|
|
1201
|
+
# resp.unified_speech_settings.speech_foundation_model.voice_id #=> String
|
|
1202
|
+
# resp.speech_recognition_settings.speech_model_preference #=> String, one of "Standard", "Neural", "Deepgram"
|
|
1203
|
+
# resp.speech_recognition_settings.speech_model_config.deepgram_config.api_token_secret_arn #=> String
|
|
1204
|
+
# resp.speech_recognition_settings.speech_model_config.deepgram_config.model_id #=> String
|
|
1164
1205
|
# resp.bot_locale_status #=> String, one of "Creating", "Building", "Built", "ReadyExpressTesting", "Failed", "Deleting", "NotBuilt", "Importing", "Processing"
|
|
1165
1206
|
# resp.creation_date_time #=> Time
|
|
1166
1207
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.enabled #=> Boolean
|
|
@@ -1171,6 +1212,9 @@ module Aws::LexModelsV2
|
|
|
1171
1212
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.custom_prompt #=> String
|
|
1172
1213
|
# resp.generative_ai_settings.runtime_settings.nlu_improvement.enabled #=> Boolean
|
|
1173
1214
|
# resp.generative_ai_settings.runtime_settings.nlu_improvement.assisted_nlu_mode #=> String, one of "Primary", "Fallback"
|
|
1215
|
+
# resp.generative_ai_settings.runtime_settings.nlu_improvement.intent_disambiguation_settings.enabled #=> Boolean
|
|
1216
|
+
# resp.generative_ai_settings.runtime_settings.nlu_improvement.intent_disambiguation_settings.max_disambiguation_intents #=> Integer
|
|
1217
|
+
# resp.generative_ai_settings.runtime_settings.nlu_improvement.intent_disambiguation_settings.custom_disambiguation_message #=> String
|
|
1174
1218
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.enabled #=> Boolean
|
|
1175
1219
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.bedrock_model_specification.model_arn #=> String
|
|
1176
1220
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.bedrock_model_specification.guardrail.identifier #=> String
|
|
@@ -1183,6 +1227,7 @@ module Aws::LexModelsV2
|
|
|
1183
1227
|
# resp.generative_ai_settings.buildtime_settings.sample_utterance_generation.bedrock_model_specification.guardrail.version #=> String
|
|
1184
1228
|
# resp.generative_ai_settings.buildtime_settings.sample_utterance_generation.bedrock_model_specification.trace_status #=> String, one of "ENABLED", "DISABLED"
|
|
1185
1229
|
# resp.generative_ai_settings.buildtime_settings.sample_utterance_generation.bedrock_model_specification.custom_prompt #=> String
|
|
1230
|
+
# resp.speech_detection_sensitivity #=> String, one of "Default", "HighNoiseTolerance", "MaximumNoiseTolerance"
|
|
1186
1231
|
#
|
|
1187
1232
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotLocale AWS API Documentation
|
|
1188
1233
|
#
|
|
@@ -1418,6 +1463,12 @@ module Aws::LexModelsV2
|
|
|
1418
1463
|
# The name of the intent. Intent names must be unique in the locale that
|
|
1419
1464
|
# contains the intent and cannot match the name of any built-in intent.
|
|
1420
1465
|
#
|
|
1466
|
+
# @option params [String] :intent_display_name
|
|
1467
|
+
# A display name for the intent. If configured, This name will be shown
|
|
1468
|
+
# to users during Intent Disambiguation instead of the intent name.
|
|
1469
|
+
# Display names should be user-friendly, descriptive and match the
|
|
1470
|
+
# intent's purpose to improve user experience during disambiguation.
|
|
1471
|
+
#
|
|
1421
1472
|
# @option params [String] :description
|
|
1422
1473
|
# A description of the intent. Use the description to help identify the
|
|
1423
1474
|
# intent in lists.
|
|
@@ -1533,6 +1584,7 @@ module Aws::LexModelsV2
|
|
|
1533
1584
|
#
|
|
1534
1585
|
# * {Types::CreateIntentResponse#intent_id #intent_id} => String
|
|
1535
1586
|
# * {Types::CreateIntentResponse#intent_name #intent_name} => String
|
|
1587
|
+
# * {Types::CreateIntentResponse#intent_display_name #intent_display_name} => String
|
|
1536
1588
|
# * {Types::CreateIntentResponse#description #description} => String
|
|
1537
1589
|
# * {Types::CreateIntentResponse#parent_intent_signature #parent_intent_signature} => String
|
|
1538
1590
|
# * {Types::CreateIntentResponse#sample_utterances #sample_utterances} => Array<Types::SampleUtterance>
|
|
@@ -3574,6 +3626,8 @@ module Aws::LexModelsV2
|
|
|
3574
3626
|
# * {Types::DescribeBotLocaleResponse#description #description} => String
|
|
3575
3627
|
# * {Types::DescribeBotLocaleResponse#nlu_intent_confidence_threshold #nlu_intent_confidence_threshold} => Float
|
|
3576
3628
|
# * {Types::DescribeBotLocaleResponse#voice_settings #voice_settings} => Types::VoiceSettings
|
|
3629
|
+
# * {Types::DescribeBotLocaleResponse#unified_speech_settings #unified_speech_settings} => Types::UnifiedSpeechSettings
|
|
3630
|
+
# * {Types::DescribeBotLocaleResponse#speech_recognition_settings #speech_recognition_settings} => Types::SpeechRecognitionSettings
|
|
3577
3631
|
# * {Types::DescribeBotLocaleResponse#intents_count #intents_count} => Integer
|
|
3578
3632
|
# * {Types::DescribeBotLocaleResponse#slot_types_count #slot_types_count} => Integer
|
|
3579
3633
|
# * {Types::DescribeBotLocaleResponse#bot_locale_status #bot_locale_status} => String
|
|
@@ -3584,6 +3638,7 @@ module Aws::LexModelsV2
|
|
|
3584
3638
|
# * {Types::DescribeBotLocaleResponse#bot_locale_history_events #bot_locale_history_events} => Array<Types::BotLocaleHistoryEvent>
|
|
3585
3639
|
# * {Types::DescribeBotLocaleResponse#recommended_actions #recommended_actions} => Array<String>
|
|
3586
3640
|
# * {Types::DescribeBotLocaleResponse#generative_ai_settings #generative_ai_settings} => Types::GenerativeAISettings
|
|
3641
|
+
# * {Types::DescribeBotLocaleResponse#speech_detection_sensitivity #speech_detection_sensitivity} => String
|
|
3587
3642
|
#
|
|
3588
3643
|
# @example Request syntax with placeholder values
|
|
3589
3644
|
#
|
|
@@ -3601,8 +3656,13 @@ module Aws::LexModelsV2
|
|
|
3601
3656
|
# resp.locale_name #=> String
|
|
3602
3657
|
# resp.description #=> String
|
|
3603
3658
|
# resp.nlu_intent_confidence_threshold #=> Float
|
|
3604
|
-
# resp.voice_settings.voice_id #=> String
|
|
3605
3659
|
# resp.voice_settings.engine #=> String, one of "standard", "neural", "long-form", "generative"
|
|
3660
|
+
# resp.voice_settings.voice_id #=> String
|
|
3661
|
+
# resp.unified_speech_settings.speech_foundation_model.model_arn #=> String
|
|
3662
|
+
# resp.unified_speech_settings.speech_foundation_model.voice_id #=> String
|
|
3663
|
+
# resp.speech_recognition_settings.speech_model_preference #=> String, one of "Standard", "Neural", "Deepgram"
|
|
3664
|
+
# resp.speech_recognition_settings.speech_model_config.deepgram_config.api_token_secret_arn #=> String
|
|
3665
|
+
# resp.speech_recognition_settings.speech_model_config.deepgram_config.model_id #=> String
|
|
3606
3666
|
# resp.intents_count #=> Integer
|
|
3607
3667
|
# resp.slot_types_count #=> Integer
|
|
3608
3668
|
# resp.bot_locale_status #=> String, one of "Creating", "Building", "Built", "ReadyExpressTesting", "Failed", "Deleting", "NotBuilt", "Importing", "Processing"
|
|
@@ -3624,6 +3684,9 @@ module Aws::LexModelsV2
|
|
|
3624
3684
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.custom_prompt #=> String
|
|
3625
3685
|
# resp.generative_ai_settings.runtime_settings.nlu_improvement.enabled #=> Boolean
|
|
3626
3686
|
# resp.generative_ai_settings.runtime_settings.nlu_improvement.assisted_nlu_mode #=> String, one of "Primary", "Fallback"
|
|
3687
|
+
# resp.generative_ai_settings.runtime_settings.nlu_improvement.intent_disambiguation_settings.enabled #=> Boolean
|
|
3688
|
+
# resp.generative_ai_settings.runtime_settings.nlu_improvement.intent_disambiguation_settings.max_disambiguation_intents #=> Integer
|
|
3689
|
+
# resp.generative_ai_settings.runtime_settings.nlu_improvement.intent_disambiguation_settings.custom_disambiguation_message #=> String
|
|
3627
3690
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.enabled #=> Boolean
|
|
3628
3691
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.bedrock_model_specification.model_arn #=> String
|
|
3629
3692
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.bedrock_model_specification.guardrail.identifier #=> String
|
|
@@ -3636,6 +3699,7 @@ module Aws::LexModelsV2
|
|
|
3636
3699
|
# resp.generative_ai_settings.buildtime_settings.sample_utterance_generation.bedrock_model_specification.guardrail.version #=> String
|
|
3637
3700
|
# resp.generative_ai_settings.buildtime_settings.sample_utterance_generation.bedrock_model_specification.trace_status #=> String, one of "ENABLED", "DISABLED"
|
|
3638
3701
|
# resp.generative_ai_settings.buildtime_settings.sample_utterance_generation.bedrock_model_specification.custom_prompt #=> String
|
|
3702
|
+
# resp.speech_detection_sensitivity #=> String, one of "Default", "HighNoiseTolerance", "MaximumNoiseTolerance"
|
|
3639
3703
|
#
|
|
3640
3704
|
#
|
|
3641
3705
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
|
@@ -4059,8 +4123,14 @@ module Aws::LexModelsV2
|
|
|
4059
4123
|
# resp.resource_specification.bot_locale_import_specification.bot_version #=> String
|
|
4060
4124
|
# resp.resource_specification.bot_locale_import_specification.locale_id #=> String
|
|
4061
4125
|
# resp.resource_specification.bot_locale_import_specification.nlu_intent_confidence_threshold #=> Float
|
|
4062
|
-
# resp.resource_specification.bot_locale_import_specification.voice_settings.voice_id #=> String
|
|
4063
4126
|
# resp.resource_specification.bot_locale_import_specification.voice_settings.engine #=> String, one of "standard", "neural", "long-form", "generative"
|
|
4127
|
+
# resp.resource_specification.bot_locale_import_specification.voice_settings.voice_id #=> String
|
|
4128
|
+
# resp.resource_specification.bot_locale_import_specification.speech_recognition_settings.speech_model_preference #=> String, one of "Standard", "Neural", "Deepgram"
|
|
4129
|
+
# resp.resource_specification.bot_locale_import_specification.speech_recognition_settings.speech_model_config.deepgram_config.api_token_secret_arn #=> String
|
|
4130
|
+
# resp.resource_specification.bot_locale_import_specification.speech_recognition_settings.speech_model_config.deepgram_config.model_id #=> String
|
|
4131
|
+
# resp.resource_specification.bot_locale_import_specification.speech_detection_sensitivity #=> String, one of "Default", "HighNoiseTolerance", "MaximumNoiseTolerance"
|
|
4132
|
+
# resp.resource_specification.bot_locale_import_specification.unified_speech_settings.speech_foundation_model.model_arn #=> String
|
|
4133
|
+
# resp.resource_specification.bot_locale_import_specification.unified_speech_settings.speech_foundation_model.voice_id #=> String
|
|
4064
4134
|
# resp.resource_specification.custom_vocabulary_import_specification.bot_id #=> String
|
|
4065
4135
|
# resp.resource_specification.custom_vocabulary_import_specification.bot_version #=> String
|
|
4066
4136
|
# resp.resource_specification.custom_vocabulary_import_specification.locale_id #=> String
|
|
@@ -4122,6 +4192,7 @@ module Aws::LexModelsV2
|
|
|
4122
4192
|
#
|
|
4123
4193
|
# * {Types::DescribeIntentResponse#intent_id #intent_id} => String
|
|
4124
4194
|
# * {Types::DescribeIntentResponse#intent_name #intent_name} => String
|
|
4195
|
+
# * {Types::DescribeIntentResponse#intent_display_name #intent_display_name} => String
|
|
4125
4196
|
# * {Types::DescribeIntentResponse#description #description} => String
|
|
4126
4197
|
# * {Types::DescribeIntentResponse#parent_intent_signature #parent_intent_signature} => String
|
|
4127
4198
|
# * {Types::DescribeIntentResponse#sample_utterances #sample_utterances} => Array<Types::SampleUtterance>
|
|
@@ -6921,6 +6992,7 @@ module Aws::LexModelsV2
|
|
|
6921
6992
|
# resp.intent_summaries #=> Array
|
|
6922
6993
|
# resp.intent_summaries[0].intent_id #=> String
|
|
6923
6994
|
# resp.intent_summaries[0].intent_name #=> String
|
|
6995
|
+
# resp.intent_summaries[0].intent_display_name #=> String
|
|
6924
6996
|
# resp.intent_summaries[0].description #=> String
|
|
6925
6997
|
# resp.intent_summaries[0].parent_intent_signature #=> String
|
|
6926
6998
|
# resp.intent_summaries[0].input_contexts #=> Array
|
|
@@ -8484,8 +8556,24 @@ module Aws::LexModelsV2
|
|
|
8484
8556
|
# locale_id: "LocaleId", # required
|
|
8485
8557
|
# nlu_intent_confidence_threshold: 1.0,
|
|
8486
8558
|
# voice_settings: {
|
|
8487
|
-
# voice_id: "VoiceId", # required
|
|
8488
8559
|
# engine: "standard", # accepts standard, neural, long-form, generative
|
|
8560
|
+
# voice_id: "VoiceId", # required
|
|
8561
|
+
# },
|
|
8562
|
+
# speech_recognition_settings: {
|
|
8563
|
+
# speech_model_preference: "Standard", # accepts Standard, Neural, Deepgram
|
|
8564
|
+
# speech_model_config: {
|
|
8565
|
+
# deepgram_config: {
|
|
8566
|
+
# api_token_secret_arn: "SecretsManagerSecretArn", # required
|
|
8567
|
+
# model_id: "DeepgramModelId",
|
|
8568
|
+
# },
|
|
8569
|
+
# },
|
|
8570
|
+
# },
|
|
8571
|
+
# speech_detection_sensitivity: "Default", # accepts Default, HighNoiseTolerance, MaximumNoiseTolerance
|
|
8572
|
+
# unified_speech_settings: {
|
|
8573
|
+
# speech_foundation_model: { # required
|
|
8574
|
+
# model_arn: "BedrockModelArn", # required
|
|
8575
|
+
# voice_id: "VoiceId",
|
|
8576
|
+
# },
|
|
8489
8577
|
# },
|
|
8490
8578
|
# },
|
|
8491
8579
|
# custom_vocabulary_import_specification: {
|
|
@@ -8532,8 +8620,14 @@ module Aws::LexModelsV2
|
|
|
8532
8620
|
# resp.resource_specification.bot_locale_import_specification.bot_version #=> String
|
|
8533
8621
|
# resp.resource_specification.bot_locale_import_specification.locale_id #=> String
|
|
8534
8622
|
# resp.resource_specification.bot_locale_import_specification.nlu_intent_confidence_threshold #=> Float
|
|
8535
|
-
# resp.resource_specification.bot_locale_import_specification.voice_settings.voice_id #=> String
|
|
8536
8623
|
# resp.resource_specification.bot_locale_import_specification.voice_settings.engine #=> String, one of "standard", "neural", "long-form", "generative"
|
|
8624
|
+
# resp.resource_specification.bot_locale_import_specification.voice_settings.voice_id #=> String
|
|
8625
|
+
# resp.resource_specification.bot_locale_import_specification.speech_recognition_settings.speech_model_preference #=> String, one of "Standard", "Neural", "Deepgram"
|
|
8626
|
+
# resp.resource_specification.bot_locale_import_specification.speech_recognition_settings.speech_model_config.deepgram_config.api_token_secret_arn #=> String
|
|
8627
|
+
# resp.resource_specification.bot_locale_import_specification.speech_recognition_settings.speech_model_config.deepgram_config.model_id #=> String
|
|
8628
|
+
# resp.resource_specification.bot_locale_import_specification.speech_detection_sensitivity #=> String, one of "Default", "HighNoiseTolerance", "MaximumNoiseTolerance"
|
|
8629
|
+
# resp.resource_specification.bot_locale_import_specification.unified_speech_settings.speech_foundation_model.model_arn #=> String
|
|
8630
|
+
# resp.resource_specification.bot_locale_import_specification.unified_speech_settings.speech_foundation_model.voice_id #=> String
|
|
8537
8631
|
# resp.resource_specification.custom_vocabulary_import_specification.bot_id #=> String
|
|
8538
8632
|
# resp.resource_specification.custom_vocabulary_import_specification.bot_version #=> String
|
|
8539
8633
|
# resp.resource_specification.custom_vocabulary_import_specification.locale_id #=> String
|
|
@@ -9105,12 +9199,24 @@ module Aws::LexModelsV2
|
|
|
9105
9199
|
# The new Amazon Polly voice Amazon Lex should use for voice interaction
|
|
9106
9200
|
# with the user.
|
|
9107
9201
|
#
|
|
9202
|
+
# @option params [Types::UnifiedSpeechSettings] :unified_speech_settings
|
|
9203
|
+
# Updated unified speech settings to apply to the bot locale.
|
|
9204
|
+
#
|
|
9205
|
+
# @option params [Types::SpeechRecognitionSettings] :speech_recognition_settings
|
|
9206
|
+
# Updated speech-to-text settings to apply to the bot locale.
|
|
9207
|
+
#
|
|
9108
9208
|
# @option params [Types::GenerativeAISettings] :generative_ai_settings
|
|
9109
9209
|
# Contains settings for generative AI features powered by Amazon Bedrock
|
|
9110
9210
|
# for your bot locale. Use this object to turn generative AI features on
|
|
9111
9211
|
# and off. Pricing may differ if you turn a feature on. For more
|
|
9112
9212
|
# information, see LINK.
|
|
9113
9213
|
#
|
|
9214
|
+
# @option params [String] :speech_detection_sensitivity
|
|
9215
|
+
# The new sensitivity level for voice activity detection (VAD) in the
|
|
9216
|
+
# bot locale. This setting helps optimize speech recognition accuracy by
|
|
9217
|
+
# adjusting how the system responds to background noise during voice
|
|
9218
|
+
# interactions.
|
|
9219
|
+
#
|
|
9114
9220
|
# @return [Types::UpdateBotLocaleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
9115
9221
|
#
|
|
9116
9222
|
# * {Types::UpdateBotLocaleResponse#bot_id #bot_id} => String
|
|
@@ -9120,12 +9226,15 @@ module Aws::LexModelsV2
|
|
|
9120
9226
|
# * {Types::UpdateBotLocaleResponse#description #description} => String
|
|
9121
9227
|
# * {Types::UpdateBotLocaleResponse#nlu_intent_confidence_threshold #nlu_intent_confidence_threshold} => Float
|
|
9122
9228
|
# * {Types::UpdateBotLocaleResponse#voice_settings #voice_settings} => Types::VoiceSettings
|
|
9229
|
+
# * {Types::UpdateBotLocaleResponse#unified_speech_settings #unified_speech_settings} => Types::UnifiedSpeechSettings
|
|
9230
|
+
# * {Types::UpdateBotLocaleResponse#speech_recognition_settings #speech_recognition_settings} => Types::SpeechRecognitionSettings
|
|
9123
9231
|
# * {Types::UpdateBotLocaleResponse#bot_locale_status #bot_locale_status} => String
|
|
9124
9232
|
# * {Types::UpdateBotLocaleResponse#failure_reasons #failure_reasons} => Array<String>
|
|
9125
9233
|
# * {Types::UpdateBotLocaleResponse#creation_date_time #creation_date_time} => Time
|
|
9126
9234
|
# * {Types::UpdateBotLocaleResponse#last_updated_date_time #last_updated_date_time} => Time
|
|
9127
9235
|
# * {Types::UpdateBotLocaleResponse#recommended_actions #recommended_actions} => Array<String>
|
|
9128
9236
|
# * {Types::UpdateBotLocaleResponse#generative_ai_settings #generative_ai_settings} => Types::GenerativeAISettings
|
|
9237
|
+
# * {Types::UpdateBotLocaleResponse#speech_detection_sensitivity #speech_detection_sensitivity} => String
|
|
9129
9238
|
#
|
|
9130
9239
|
# @example Request syntax with placeholder values
|
|
9131
9240
|
#
|
|
@@ -9136,8 +9245,23 @@ module Aws::LexModelsV2
|
|
|
9136
9245
|
# description: "Description",
|
|
9137
9246
|
# nlu_intent_confidence_threshold: 1.0, # required
|
|
9138
9247
|
# voice_settings: {
|
|
9139
|
-
# voice_id: "VoiceId", # required
|
|
9140
9248
|
# engine: "standard", # accepts standard, neural, long-form, generative
|
|
9249
|
+
# voice_id: "VoiceId", # required
|
|
9250
|
+
# },
|
|
9251
|
+
# unified_speech_settings: {
|
|
9252
|
+
# speech_foundation_model: { # required
|
|
9253
|
+
# model_arn: "BedrockModelArn", # required
|
|
9254
|
+
# voice_id: "VoiceId",
|
|
9255
|
+
# },
|
|
9256
|
+
# },
|
|
9257
|
+
# speech_recognition_settings: {
|
|
9258
|
+
# speech_model_preference: "Standard", # accepts Standard, Neural, Deepgram
|
|
9259
|
+
# speech_model_config: {
|
|
9260
|
+
# deepgram_config: {
|
|
9261
|
+
# api_token_secret_arn: "SecretsManagerSecretArn", # required
|
|
9262
|
+
# model_id: "DeepgramModelId",
|
|
9263
|
+
# },
|
|
9264
|
+
# },
|
|
9141
9265
|
# },
|
|
9142
9266
|
# generative_ai_settings: {
|
|
9143
9267
|
# runtime_settings: {
|
|
@@ -9156,6 +9280,11 @@ module Aws::LexModelsV2
|
|
|
9156
9280
|
# nlu_improvement: {
|
|
9157
9281
|
# enabled: false, # required
|
|
9158
9282
|
# assisted_nlu_mode: "Primary", # accepts Primary, Fallback
|
|
9283
|
+
# intent_disambiguation_settings: {
|
|
9284
|
+
# enabled: false, # required
|
|
9285
|
+
# max_disambiguation_intents: 1,
|
|
9286
|
+
# custom_disambiguation_message: "CustomDisambiguationMessage",
|
|
9287
|
+
# },
|
|
9159
9288
|
# },
|
|
9160
9289
|
# },
|
|
9161
9290
|
# buildtime_settings: {
|
|
@@ -9185,6 +9314,7 @@ module Aws::LexModelsV2
|
|
|
9185
9314
|
# },
|
|
9186
9315
|
# },
|
|
9187
9316
|
# },
|
|
9317
|
+
# speech_detection_sensitivity: "Default", # accepts Default, HighNoiseTolerance, MaximumNoiseTolerance
|
|
9188
9318
|
# })
|
|
9189
9319
|
#
|
|
9190
9320
|
# @example Response structure
|
|
@@ -9195,8 +9325,13 @@ module Aws::LexModelsV2
|
|
|
9195
9325
|
# resp.locale_name #=> String
|
|
9196
9326
|
# resp.description #=> String
|
|
9197
9327
|
# resp.nlu_intent_confidence_threshold #=> Float
|
|
9198
|
-
# resp.voice_settings.voice_id #=> String
|
|
9199
9328
|
# resp.voice_settings.engine #=> String, one of "standard", "neural", "long-form", "generative"
|
|
9329
|
+
# resp.voice_settings.voice_id #=> String
|
|
9330
|
+
# resp.unified_speech_settings.speech_foundation_model.model_arn #=> String
|
|
9331
|
+
# resp.unified_speech_settings.speech_foundation_model.voice_id #=> String
|
|
9332
|
+
# resp.speech_recognition_settings.speech_model_preference #=> String, one of "Standard", "Neural", "Deepgram"
|
|
9333
|
+
# resp.speech_recognition_settings.speech_model_config.deepgram_config.api_token_secret_arn #=> String
|
|
9334
|
+
# resp.speech_recognition_settings.speech_model_config.deepgram_config.model_id #=> String
|
|
9200
9335
|
# resp.bot_locale_status #=> String, one of "Creating", "Building", "Built", "ReadyExpressTesting", "Failed", "Deleting", "NotBuilt", "Importing", "Processing"
|
|
9201
9336
|
# resp.failure_reasons #=> Array
|
|
9202
9337
|
# resp.failure_reasons[0] #=> String
|
|
@@ -9212,6 +9347,9 @@ module Aws::LexModelsV2
|
|
|
9212
9347
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.custom_prompt #=> String
|
|
9213
9348
|
# resp.generative_ai_settings.runtime_settings.nlu_improvement.enabled #=> Boolean
|
|
9214
9349
|
# resp.generative_ai_settings.runtime_settings.nlu_improvement.assisted_nlu_mode #=> String, one of "Primary", "Fallback"
|
|
9350
|
+
# resp.generative_ai_settings.runtime_settings.nlu_improvement.intent_disambiguation_settings.enabled #=> Boolean
|
|
9351
|
+
# resp.generative_ai_settings.runtime_settings.nlu_improvement.intent_disambiguation_settings.max_disambiguation_intents #=> Integer
|
|
9352
|
+
# resp.generative_ai_settings.runtime_settings.nlu_improvement.intent_disambiguation_settings.custom_disambiguation_message #=> String
|
|
9215
9353
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.enabled #=> Boolean
|
|
9216
9354
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.bedrock_model_specification.model_arn #=> String
|
|
9217
9355
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.bedrock_model_specification.guardrail.identifier #=> String
|
|
@@ -9224,6 +9362,7 @@ module Aws::LexModelsV2
|
|
|
9224
9362
|
# resp.generative_ai_settings.buildtime_settings.sample_utterance_generation.bedrock_model_specification.guardrail.version #=> String
|
|
9225
9363
|
# resp.generative_ai_settings.buildtime_settings.sample_utterance_generation.bedrock_model_specification.trace_status #=> String, one of "ENABLED", "DISABLED"
|
|
9226
9364
|
# resp.generative_ai_settings.buildtime_settings.sample_utterance_generation.bedrock_model_specification.custom_prompt #=> String
|
|
9365
|
+
# resp.speech_detection_sensitivity #=> String, one of "Default", "HighNoiseTolerance", "MaximumNoiseTolerance"
|
|
9227
9366
|
#
|
|
9228
9367
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotLocale AWS API Documentation
|
|
9229
9368
|
#
|
|
@@ -9383,6 +9522,9 @@ module Aws::LexModelsV2
|
|
|
9383
9522
|
# @option params [required, String] :intent_name
|
|
9384
9523
|
# The new name for the intent.
|
|
9385
9524
|
#
|
|
9525
|
+
# @option params [String] :intent_display_name
|
|
9526
|
+
# The new display name for the intent.
|
|
9527
|
+
#
|
|
9386
9528
|
# @option params [String] :description
|
|
9387
9529
|
# The new description of the intent.
|
|
9388
9530
|
#
|
|
@@ -9456,6 +9598,7 @@ module Aws::LexModelsV2
|
|
|
9456
9598
|
#
|
|
9457
9599
|
# * {Types::UpdateIntentResponse#intent_id #intent_id} => String
|
|
9458
9600
|
# * {Types::UpdateIntentResponse#intent_name #intent_name} => String
|
|
9601
|
+
# * {Types::UpdateIntentResponse#intent_display_name #intent_display_name} => String
|
|
9459
9602
|
# * {Types::UpdateIntentResponse#description #description} => String
|
|
9460
9603
|
# * {Types::UpdateIntentResponse#parent_intent_signature #parent_intent_signature} => String
|
|
9461
9604
|
# * {Types::UpdateIntentResponse#sample_utterances #sample_utterances} => Array<Types::SampleUtterance>
|
|
@@ -10575,7 +10718,7 @@ module Aws::LexModelsV2
|
|
|
10575
10718
|
tracer: tracer
|
|
10576
10719
|
)
|
|
10577
10720
|
context[:gem_name] = 'aws-sdk-lexmodelsv2'
|
|
10578
|
-
context[:gem_version] = '1.
|
|
10721
|
+
context[:gem_version] = '1.84.0'
|
|
10579
10722
|
Seahorse::Client::Request.new(handlers, context)
|
|
10580
10723
|
end
|
|
10581
10724
|
|