aws-sdk-lexmodelsv2 1.97.0 → 1.98.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lexmodelsv2/client.rb +37 -9
- data/lib/aws-sdk-lexmodelsv2/client_api.rb +10 -0
- data/lib/aws-sdk-lexmodelsv2/types.rb +63 -6
- data/lib/aws-sdk-lexmodelsv2.rb +1 -1
- data/sig/client.rbs +14 -2
- data/sig/params.rbs +1 -1
- data/sig/types.rbs +12 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bfffbadaafb2c18da89ea29742306bda5fc1b29d476f3a517290582eb3367eed
|
|
4
|
+
data.tar.gz: 1167d468912100e0fe40a3c16be57f64472b93845579a34b061206f4c8fb0a7b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d9523cbebb2e056497f50b52e4f01c794652465491b4e241eda8559b3825bcb7fcf8022a157cad26326d447cc23e1d231066fba1381d3c95244d5a55e08e4aa3
|
|
7
|
+
data.tar.gz: 55c7128f631af0802c296f057a921c8a1c36a01f5ab4a83d188b221635d75a91cdd620d2976935e0734f9d848b55cfcbbb687a059ab0d164d409a8cfea5ade43
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.98.0 (2026-09-23)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds support for speaker diarization on Amazon Lex V2 bot locales. Speaker diarization keeps your bot on the primary (loudest) speaker during a streaming voice conversation, so background voices do not start a turn or interrupt a prompt.
|
|
8
|
+
|
|
4
9
|
1.97.0 (2026-09-11)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.98.0
|
|
@@ -1095,6 +1095,11 @@ module Aws::LexModelsV2
|
|
|
1095
1095
|
# adjusting how the system responds to background noise during voice
|
|
1096
1096
|
# interactions.
|
|
1097
1097
|
#
|
|
1098
|
+
# @option params [Types::SpeakerDiarizationSettings] :speaker_diarization_settings
|
|
1099
|
+
# The speaker diarization settings to configure for the new bot locale.
|
|
1100
|
+
# When enabled, Amazon Lex restricts speech detection to the primary
|
|
1101
|
+
# (loudest) speaker during streaming audio conversations.
|
|
1102
|
+
#
|
|
1098
1103
|
# @return [Types::CreateBotLocaleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1099
1104
|
#
|
|
1100
1105
|
# * {Types::CreateBotLocaleResponse#bot_id #bot_id} => String
|
|
@@ -1111,6 +1116,7 @@ module Aws::LexModelsV2
|
|
|
1111
1116
|
# * {Types::CreateBotLocaleResponse#creation_date_time #creation_date_time} => Time
|
|
1112
1117
|
# * {Types::CreateBotLocaleResponse#generative_ai_settings #generative_ai_settings} => Types::GenerativeAISettings
|
|
1113
1118
|
# * {Types::CreateBotLocaleResponse#speech_detection_sensitivity #speech_detection_sensitivity} => String
|
|
1119
|
+
# * {Types::CreateBotLocaleResponse#speaker_diarization_settings #speaker_diarization_settings} => Types::SpeakerDiarizationSettings
|
|
1114
1120
|
#
|
|
1115
1121
|
# @example Request syntax with placeholder values
|
|
1116
1122
|
#
|
|
@@ -1138,7 +1144,7 @@ module Aws::LexModelsV2
|
|
|
1138
1144
|
# response_delivery_delay_in_milliseconds: 1,
|
|
1139
1145
|
# },
|
|
1140
1146
|
# speech_recognition_settings: {
|
|
1141
|
-
# speech_model_preference: "Standard", # accepts Standard, Neural, Deepgram
|
|
1147
|
+
# speech_model_preference: "Standard", # accepts Standard, Neural, Deepgram, Advanced
|
|
1142
1148
|
# speech_model_config: {
|
|
1143
1149
|
# deepgram_config: {
|
|
1144
1150
|
# api_token_secret_arn: "SecretsManagerSecretArn", # required
|
|
@@ -1198,6 +1204,9 @@ module Aws::LexModelsV2
|
|
|
1198
1204
|
# },
|
|
1199
1205
|
# },
|
|
1200
1206
|
# speech_detection_sensitivity: "Default", # accepts Default, HighNoiseTolerance, MaximumNoiseTolerance
|
|
1207
|
+
# speaker_diarization_settings: {
|
|
1208
|
+
# enabled: false, # required
|
|
1209
|
+
# },
|
|
1201
1210
|
# })
|
|
1202
1211
|
#
|
|
1203
1212
|
# @example Response structure
|
|
@@ -1217,7 +1226,7 @@ module Aws::LexModelsV2
|
|
|
1217
1226
|
# resp.audio_filler_settings.start_delay_in_milliseconds #=> Integer
|
|
1218
1227
|
# resp.audio_filler_settings.minimum_play_duration_in_milliseconds #=> Integer
|
|
1219
1228
|
# resp.audio_filler_settings.response_delivery_delay_in_milliseconds #=> Integer
|
|
1220
|
-
# resp.speech_recognition_settings.speech_model_preference #=> String, one of "Standard", "Neural", "Deepgram"
|
|
1229
|
+
# resp.speech_recognition_settings.speech_model_preference #=> String, one of "Standard", "Neural", "Deepgram", "Advanced"
|
|
1221
1230
|
# resp.speech_recognition_settings.speech_model_config.deepgram_config.api_token_secret_arn #=> String
|
|
1222
1231
|
# resp.speech_recognition_settings.speech_model_config.deepgram_config.model_id #=> String
|
|
1223
1232
|
# resp.bot_locale_status #=> String, one of "Creating", "Building", "Built", "ReadyExpressTesting", "Failed", "Deleting", "NotBuilt", "Importing", "Processing"
|
|
@@ -1246,6 +1255,7 @@ module Aws::LexModelsV2
|
|
|
1246
1255
|
# resp.generative_ai_settings.buildtime_settings.sample_utterance_generation.bedrock_model_specification.trace_status #=> String, one of "ENABLED", "DISABLED"
|
|
1247
1256
|
# resp.generative_ai_settings.buildtime_settings.sample_utterance_generation.bedrock_model_specification.custom_prompt #=> String
|
|
1248
1257
|
# resp.speech_detection_sensitivity #=> String, one of "Default", "HighNoiseTolerance", "MaximumNoiseTolerance"
|
|
1258
|
+
# resp.speaker_diarization_settings.enabled #=> Boolean
|
|
1249
1259
|
#
|
|
1250
1260
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotLocale AWS API Documentation
|
|
1251
1261
|
#
|
|
@@ -3760,6 +3770,7 @@ module Aws::LexModelsV2
|
|
|
3760
3770
|
# * {Types::DescribeBotLocaleResponse#recommended_actions #recommended_actions} => Array<String>
|
|
3761
3771
|
# * {Types::DescribeBotLocaleResponse#generative_ai_settings #generative_ai_settings} => Types::GenerativeAISettings
|
|
3762
3772
|
# * {Types::DescribeBotLocaleResponse#speech_detection_sensitivity #speech_detection_sensitivity} => String
|
|
3773
|
+
# * {Types::DescribeBotLocaleResponse#speaker_diarization_settings #speaker_diarization_settings} => Types::SpeakerDiarizationSettings
|
|
3763
3774
|
#
|
|
3764
3775
|
# @example Request syntax with placeholder values
|
|
3765
3776
|
#
|
|
@@ -3786,7 +3797,7 @@ module Aws::LexModelsV2
|
|
|
3786
3797
|
# resp.audio_filler_settings.start_delay_in_milliseconds #=> Integer
|
|
3787
3798
|
# resp.audio_filler_settings.minimum_play_duration_in_milliseconds #=> Integer
|
|
3788
3799
|
# resp.audio_filler_settings.response_delivery_delay_in_milliseconds #=> Integer
|
|
3789
|
-
# resp.speech_recognition_settings.speech_model_preference #=> String, one of "Standard", "Neural", "Deepgram"
|
|
3800
|
+
# resp.speech_recognition_settings.speech_model_preference #=> String, one of "Standard", "Neural", "Deepgram", "Advanced"
|
|
3790
3801
|
# resp.speech_recognition_settings.speech_model_config.deepgram_config.api_token_secret_arn #=> String
|
|
3791
3802
|
# resp.speech_recognition_settings.speech_model_config.deepgram_config.model_id #=> String
|
|
3792
3803
|
# resp.intents_count #=> Integer
|
|
@@ -3826,6 +3837,7 @@ module Aws::LexModelsV2
|
|
|
3826
3837
|
# resp.generative_ai_settings.buildtime_settings.sample_utterance_generation.bedrock_model_specification.trace_status #=> String, one of "ENABLED", "DISABLED"
|
|
3827
3838
|
# resp.generative_ai_settings.buildtime_settings.sample_utterance_generation.bedrock_model_specification.custom_prompt #=> String
|
|
3828
3839
|
# resp.speech_detection_sensitivity #=> String, one of "Default", "HighNoiseTolerance", "MaximumNoiseTolerance"
|
|
3840
|
+
# resp.speaker_diarization_settings.enabled #=> Boolean
|
|
3829
3841
|
#
|
|
3830
3842
|
#
|
|
3831
3843
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
|
@@ -4251,7 +4263,7 @@ module Aws::LexModelsV2
|
|
|
4251
4263
|
# resp.resource_specification.bot_locale_import_specification.nlu_intent_confidence_threshold #=> Float
|
|
4252
4264
|
# resp.resource_specification.bot_locale_import_specification.voice_settings.engine #=> String, one of "standard", "neural", "long-form", "generative"
|
|
4253
4265
|
# resp.resource_specification.bot_locale_import_specification.voice_settings.voice_id #=> String
|
|
4254
|
-
# resp.resource_specification.bot_locale_import_specification.speech_recognition_settings.speech_model_preference #=> String, one of "Standard", "Neural", "Deepgram"
|
|
4266
|
+
# resp.resource_specification.bot_locale_import_specification.speech_recognition_settings.speech_model_preference #=> String, one of "Standard", "Neural", "Deepgram", "Advanced"
|
|
4255
4267
|
# resp.resource_specification.bot_locale_import_specification.speech_recognition_settings.speech_model_config.deepgram_config.api_token_secret_arn #=> String
|
|
4256
4268
|
# resp.resource_specification.bot_locale_import_specification.speech_recognition_settings.speech_model_config.deepgram_config.model_id #=> String
|
|
4257
4269
|
# resp.resource_specification.bot_locale_import_specification.speech_detection_sensitivity #=> String, one of "Default", "HighNoiseTolerance", "MaximumNoiseTolerance"
|
|
@@ -4262,6 +4274,7 @@ module Aws::LexModelsV2
|
|
|
4262
4274
|
# resp.resource_specification.bot_locale_import_specification.audio_filler_settings.start_delay_in_milliseconds #=> Integer
|
|
4263
4275
|
# resp.resource_specification.bot_locale_import_specification.audio_filler_settings.minimum_play_duration_in_milliseconds #=> Integer
|
|
4264
4276
|
# resp.resource_specification.bot_locale_import_specification.audio_filler_settings.response_delivery_delay_in_milliseconds #=> Integer
|
|
4277
|
+
# resp.resource_specification.bot_locale_import_specification.speaker_diarization_settings.enabled #=> Boolean
|
|
4265
4278
|
# resp.resource_specification.custom_vocabulary_import_specification.bot_id #=> String
|
|
4266
4279
|
# resp.resource_specification.custom_vocabulary_import_specification.bot_version #=> String
|
|
4267
4280
|
# resp.resource_specification.custom_vocabulary_import_specification.locale_id #=> String
|
|
@@ -8817,7 +8830,7 @@ module Aws::LexModelsV2
|
|
|
8817
8830
|
# voice_id: "VoiceId", # required
|
|
8818
8831
|
# },
|
|
8819
8832
|
# speech_recognition_settings: {
|
|
8820
|
-
# speech_model_preference: "Standard", # accepts Standard, Neural, Deepgram
|
|
8833
|
+
# speech_model_preference: "Standard", # accepts Standard, Neural, Deepgram, Advanced
|
|
8821
8834
|
# speech_model_config: {
|
|
8822
8835
|
# deepgram_config: {
|
|
8823
8836
|
# api_token_secret_arn: "SecretsManagerSecretArn", # required
|
|
@@ -8839,6 +8852,9 @@ module Aws::LexModelsV2
|
|
|
8839
8852
|
# minimum_play_duration_in_milliseconds: 1,
|
|
8840
8853
|
# response_delivery_delay_in_milliseconds: 1,
|
|
8841
8854
|
# },
|
|
8855
|
+
# speaker_diarization_settings: {
|
|
8856
|
+
# enabled: false, # required
|
|
8857
|
+
# },
|
|
8842
8858
|
# },
|
|
8843
8859
|
# custom_vocabulary_import_specification: {
|
|
8844
8860
|
# bot_id: "Id", # required
|
|
@@ -8886,7 +8902,7 @@ module Aws::LexModelsV2
|
|
|
8886
8902
|
# resp.resource_specification.bot_locale_import_specification.nlu_intent_confidence_threshold #=> Float
|
|
8887
8903
|
# resp.resource_specification.bot_locale_import_specification.voice_settings.engine #=> String, one of "standard", "neural", "long-form", "generative"
|
|
8888
8904
|
# resp.resource_specification.bot_locale_import_specification.voice_settings.voice_id #=> String
|
|
8889
|
-
# resp.resource_specification.bot_locale_import_specification.speech_recognition_settings.speech_model_preference #=> String, one of "Standard", "Neural", "Deepgram"
|
|
8905
|
+
# resp.resource_specification.bot_locale_import_specification.speech_recognition_settings.speech_model_preference #=> String, one of "Standard", "Neural", "Deepgram", "Advanced"
|
|
8890
8906
|
# resp.resource_specification.bot_locale_import_specification.speech_recognition_settings.speech_model_config.deepgram_config.api_token_secret_arn #=> String
|
|
8891
8907
|
# resp.resource_specification.bot_locale_import_specification.speech_recognition_settings.speech_model_config.deepgram_config.model_id #=> String
|
|
8892
8908
|
# resp.resource_specification.bot_locale_import_specification.speech_detection_sensitivity #=> String, one of "Default", "HighNoiseTolerance", "MaximumNoiseTolerance"
|
|
@@ -8897,6 +8913,7 @@ module Aws::LexModelsV2
|
|
|
8897
8913
|
# resp.resource_specification.bot_locale_import_specification.audio_filler_settings.start_delay_in_milliseconds #=> Integer
|
|
8898
8914
|
# resp.resource_specification.bot_locale_import_specification.audio_filler_settings.minimum_play_duration_in_milliseconds #=> Integer
|
|
8899
8915
|
# resp.resource_specification.bot_locale_import_specification.audio_filler_settings.response_delivery_delay_in_milliseconds #=> Integer
|
|
8916
|
+
# resp.resource_specification.bot_locale_import_specification.speaker_diarization_settings.enabled #=> Boolean
|
|
8900
8917
|
# resp.resource_specification.custom_vocabulary_import_specification.bot_id #=> String
|
|
8901
8918
|
# resp.resource_specification.custom_vocabulary_import_specification.bot_version #=> String
|
|
8902
8919
|
# resp.resource_specification.custom_vocabulary_import_specification.locale_id #=> String
|
|
@@ -9532,6 +9549,12 @@ module Aws::LexModelsV2
|
|
|
9532
9549
|
# adjusting how the system responds to background noise during voice
|
|
9533
9550
|
# interactions.
|
|
9534
9551
|
#
|
|
9552
|
+
# @option params [Types::SpeakerDiarizationSettings] :speaker_diarization_settings
|
|
9553
|
+
# The updated speaker diarization settings to apply to the bot locale.
|
|
9554
|
+
# If you omit this field, Amazon Lex keeps the setting currently stored
|
|
9555
|
+
# on the bot locale. To turn speaker diarization off, set `enabled` to
|
|
9556
|
+
# `false` explicitly.
|
|
9557
|
+
#
|
|
9535
9558
|
# @return [Types::UpdateBotLocaleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
9536
9559
|
#
|
|
9537
9560
|
# * {Types::UpdateBotLocaleResponse#bot_id #bot_id} => String
|
|
@@ -9551,6 +9574,7 @@ module Aws::LexModelsV2
|
|
|
9551
9574
|
# * {Types::UpdateBotLocaleResponse#recommended_actions #recommended_actions} => Array<String>
|
|
9552
9575
|
# * {Types::UpdateBotLocaleResponse#generative_ai_settings #generative_ai_settings} => Types::GenerativeAISettings
|
|
9553
9576
|
# * {Types::UpdateBotLocaleResponse#speech_detection_sensitivity #speech_detection_sensitivity} => String
|
|
9577
|
+
# * {Types::UpdateBotLocaleResponse#speaker_diarization_settings #speaker_diarization_settings} => Types::SpeakerDiarizationSettings
|
|
9554
9578
|
#
|
|
9555
9579
|
# @example Request syntax with placeholder values
|
|
9556
9580
|
#
|
|
@@ -9578,7 +9602,7 @@ module Aws::LexModelsV2
|
|
|
9578
9602
|
# response_delivery_delay_in_milliseconds: 1,
|
|
9579
9603
|
# },
|
|
9580
9604
|
# speech_recognition_settings: {
|
|
9581
|
-
# speech_model_preference: "Standard", # accepts Standard, Neural, Deepgram
|
|
9605
|
+
# speech_model_preference: "Standard", # accepts Standard, Neural, Deepgram, Advanced
|
|
9582
9606
|
# speech_model_config: {
|
|
9583
9607
|
# deepgram_config: {
|
|
9584
9608
|
# api_token_secret_arn: "SecretsManagerSecretArn", # required
|
|
@@ -9638,6 +9662,9 @@ module Aws::LexModelsV2
|
|
|
9638
9662
|
# },
|
|
9639
9663
|
# },
|
|
9640
9664
|
# speech_detection_sensitivity: "Default", # accepts Default, HighNoiseTolerance, MaximumNoiseTolerance
|
|
9665
|
+
# speaker_diarization_settings: {
|
|
9666
|
+
# enabled: false, # required
|
|
9667
|
+
# },
|
|
9641
9668
|
# })
|
|
9642
9669
|
#
|
|
9643
9670
|
# @example Response structure
|
|
@@ -9657,7 +9684,7 @@ module Aws::LexModelsV2
|
|
|
9657
9684
|
# resp.audio_filler_settings.start_delay_in_milliseconds #=> Integer
|
|
9658
9685
|
# resp.audio_filler_settings.minimum_play_duration_in_milliseconds #=> Integer
|
|
9659
9686
|
# resp.audio_filler_settings.response_delivery_delay_in_milliseconds #=> Integer
|
|
9660
|
-
# resp.speech_recognition_settings.speech_model_preference #=> String, one of "Standard", "Neural", "Deepgram"
|
|
9687
|
+
# resp.speech_recognition_settings.speech_model_preference #=> String, one of "Standard", "Neural", "Deepgram", "Advanced"
|
|
9661
9688
|
# resp.speech_recognition_settings.speech_model_config.deepgram_config.api_token_secret_arn #=> String
|
|
9662
9689
|
# resp.speech_recognition_settings.speech_model_config.deepgram_config.model_id #=> String
|
|
9663
9690
|
# resp.bot_locale_status #=> String, one of "Creating", "Building", "Built", "ReadyExpressTesting", "Failed", "Deleting", "NotBuilt", "Importing", "Processing"
|
|
@@ -9691,6 +9718,7 @@ module Aws::LexModelsV2
|
|
|
9691
9718
|
# resp.generative_ai_settings.buildtime_settings.sample_utterance_generation.bedrock_model_specification.trace_status #=> String, one of "ENABLED", "DISABLED"
|
|
9692
9719
|
# resp.generative_ai_settings.buildtime_settings.sample_utterance_generation.bedrock_model_specification.custom_prompt #=> String
|
|
9693
9720
|
# resp.speech_detection_sensitivity #=> String, one of "Default", "HighNoiseTolerance", "MaximumNoiseTolerance"
|
|
9721
|
+
# resp.speaker_diarization_settings.enabled #=> Boolean
|
|
9694
9722
|
#
|
|
9695
9723
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotLocale AWS API Documentation
|
|
9696
9724
|
#
|
|
@@ -11046,7 +11074,7 @@ module Aws::LexModelsV2
|
|
|
11046
11074
|
tracer: tracer
|
|
11047
11075
|
)
|
|
11048
11076
|
context[:gem_name] = 'aws-sdk-lexmodelsv2'
|
|
11049
|
-
context[:gem_version] = '1.
|
|
11077
|
+
context[:gem_version] = '1.98.0'
|
|
11050
11078
|
Seahorse::Client::Request.new(handlers, context)
|
|
11051
11079
|
end
|
|
11052
11080
|
|
|
@@ -726,6 +726,7 @@ module Aws::LexModelsV2
|
|
|
726
726
|
SlotValueSelectionSetting = Shapes::StructureShape.new(name: 'SlotValueSelectionSetting')
|
|
727
727
|
SlotValues = Shapes::ListShape.new(name: 'SlotValues')
|
|
728
728
|
SortOrder = Shapes::StringShape.new(name: 'SortOrder')
|
|
729
|
+
SpeakerDiarizationSettings = Shapes::StructureShape.new(name: 'SpeakerDiarizationSettings')
|
|
729
730
|
Specifications = Shapes::StructureShape.new(name: 'Specifications')
|
|
730
731
|
SpeechDetectionSensitivity = Shapes::StringShape.new(name: 'SpeechDetectionSensitivity')
|
|
731
732
|
SpeechFoundationModel = Shapes::StructureShape.new(name: 'SpeechFoundationModel')
|
|
@@ -1313,6 +1314,7 @@ module Aws::LexModelsV2
|
|
|
1313
1314
|
BotLocaleImportSpecification.add_member(:speech_detection_sensitivity, Shapes::ShapeRef.new(shape: SpeechDetectionSensitivity, location_name: "speechDetectionSensitivity"))
|
|
1314
1315
|
BotLocaleImportSpecification.add_member(:unified_speech_settings, Shapes::ShapeRef.new(shape: UnifiedSpeechSettings, location_name: "unifiedSpeechSettings"))
|
|
1315
1316
|
BotLocaleImportSpecification.add_member(:audio_filler_settings, Shapes::ShapeRef.new(shape: AudioFillerSettings, location_name: "audioFillerSettings"))
|
|
1317
|
+
BotLocaleImportSpecification.add_member(:speaker_diarization_settings, Shapes::ShapeRef.new(shape: SpeakerDiarizationSettings, location_name: "speakerDiarizationSettings"))
|
|
1316
1318
|
BotLocaleImportSpecification.struct_class = Types::BotLocaleImportSpecification
|
|
1317
1319
|
|
|
1318
1320
|
BotLocaleSortBy.add_member(:attribute, Shapes::ShapeRef.new(shape: BotLocaleSortAttribute, required: true, location_name: "attribute"))
|
|
@@ -1567,6 +1569,7 @@ module Aws::LexModelsV2
|
|
|
1567
1569
|
CreateBotLocaleRequest.add_member(:speech_recognition_settings, Shapes::ShapeRef.new(shape: SpeechRecognitionSettings, location_name: "speechRecognitionSettings"))
|
|
1568
1570
|
CreateBotLocaleRequest.add_member(:generative_ai_settings, Shapes::ShapeRef.new(shape: GenerativeAISettings, location_name: "generativeAISettings"))
|
|
1569
1571
|
CreateBotLocaleRequest.add_member(:speech_detection_sensitivity, Shapes::ShapeRef.new(shape: SpeechDetectionSensitivity, location_name: "speechDetectionSensitivity"))
|
|
1572
|
+
CreateBotLocaleRequest.add_member(:speaker_diarization_settings, Shapes::ShapeRef.new(shape: SpeakerDiarizationSettings, location_name: "speakerDiarizationSettings"))
|
|
1570
1573
|
CreateBotLocaleRequest.struct_class = Types::CreateBotLocaleRequest
|
|
1571
1574
|
|
|
1572
1575
|
CreateBotLocaleResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
|
|
@@ -1583,6 +1586,7 @@ module Aws::LexModelsV2
|
|
|
1583
1586
|
CreateBotLocaleResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
|
1584
1587
|
CreateBotLocaleResponse.add_member(:generative_ai_settings, Shapes::ShapeRef.new(shape: GenerativeAISettings, location_name: "generativeAISettings"))
|
|
1585
1588
|
CreateBotLocaleResponse.add_member(:speech_detection_sensitivity, Shapes::ShapeRef.new(shape: SpeechDetectionSensitivity, location_name: "speechDetectionSensitivity"))
|
|
1589
|
+
CreateBotLocaleResponse.add_member(:speaker_diarization_settings, Shapes::ShapeRef.new(shape: SpeakerDiarizationSettings, location_name: "speakerDiarizationSettings"))
|
|
1586
1590
|
CreateBotLocaleResponse.struct_class = Types::CreateBotLocaleResponse
|
|
1587
1591
|
|
|
1588
1592
|
CreateBotReplicaRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
|
@@ -2021,6 +2025,7 @@ module Aws::LexModelsV2
|
|
|
2021
2025
|
DescribeBotLocaleResponse.add_member(:recommended_actions, Shapes::ShapeRef.new(shape: RecommendedActions, location_name: "recommendedActions"))
|
|
2022
2026
|
DescribeBotLocaleResponse.add_member(:generative_ai_settings, Shapes::ShapeRef.new(shape: GenerativeAISettings, location_name: "generativeAISettings"))
|
|
2023
2027
|
DescribeBotLocaleResponse.add_member(:speech_detection_sensitivity, Shapes::ShapeRef.new(shape: SpeechDetectionSensitivity, location_name: "speechDetectionSensitivity"))
|
|
2028
|
+
DescribeBotLocaleResponse.add_member(:speaker_diarization_settings, Shapes::ShapeRef.new(shape: SpeakerDiarizationSettings, location_name: "speakerDiarizationSettings"))
|
|
2024
2029
|
DescribeBotLocaleResponse.struct_class = Types::DescribeBotLocaleResponse
|
|
2025
2030
|
|
|
2026
2031
|
DescribeBotRecommendationRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
|
@@ -3400,6 +3405,9 @@ module Aws::LexModelsV2
|
|
|
3400
3405
|
|
|
3401
3406
|
SlotValues.member = Shapes::ShapeRef.new(shape: SlotValueOverride)
|
|
3402
3407
|
|
|
3408
|
+
SpeakerDiarizationSettings.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, required: true, location_name: "enabled"))
|
|
3409
|
+
SpeakerDiarizationSettings.struct_class = Types::SpeakerDiarizationSettings
|
|
3410
|
+
|
|
3403
3411
|
Specifications.add_member(:slot_type_id, Shapes::ShapeRef.new(shape: BuiltInOrCustomSlotTypeId, required: true, location_name: "slotTypeId"))
|
|
3404
3412
|
Specifications.add_member(:value_elicitation_setting, Shapes::ShapeRef.new(shape: SubSlotValueElicitationSetting, required: true, location_name: "valueElicitationSetting"))
|
|
3405
3413
|
Specifications.struct_class = Types::Specifications
|
|
@@ -3755,6 +3763,7 @@ module Aws::LexModelsV2
|
|
|
3755
3763
|
UpdateBotLocaleRequest.add_member(:speech_recognition_settings, Shapes::ShapeRef.new(shape: SpeechRecognitionSettings, location_name: "speechRecognitionSettings"))
|
|
3756
3764
|
UpdateBotLocaleRequest.add_member(:generative_ai_settings, Shapes::ShapeRef.new(shape: GenerativeAISettings, location_name: "generativeAISettings"))
|
|
3757
3765
|
UpdateBotLocaleRequest.add_member(:speech_detection_sensitivity, Shapes::ShapeRef.new(shape: SpeechDetectionSensitivity, location_name: "speechDetectionSensitivity"))
|
|
3766
|
+
UpdateBotLocaleRequest.add_member(:speaker_diarization_settings, Shapes::ShapeRef.new(shape: SpeakerDiarizationSettings, location_name: "speakerDiarizationSettings"))
|
|
3758
3767
|
UpdateBotLocaleRequest.struct_class = Types::UpdateBotLocaleRequest
|
|
3759
3768
|
|
|
3760
3769
|
UpdateBotLocaleResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
|
|
@@ -3774,6 +3783,7 @@ module Aws::LexModelsV2
|
|
|
3774
3783
|
UpdateBotLocaleResponse.add_member(:recommended_actions, Shapes::ShapeRef.new(shape: RecommendedActions, location_name: "recommendedActions"))
|
|
3775
3784
|
UpdateBotLocaleResponse.add_member(:generative_ai_settings, Shapes::ShapeRef.new(shape: GenerativeAISettings, location_name: "generativeAISettings"))
|
|
3776
3785
|
UpdateBotLocaleResponse.add_member(:speech_detection_sensitivity, Shapes::ShapeRef.new(shape: SpeechDetectionSensitivity, location_name: "speechDetectionSensitivity"))
|
|
3786
|
+
UpdateBotLocaleResponse.add_member(:speaker_diarization_settings, Shapes::ShapeRef.new(shape: SpeakerDiarizationSettings, location_name: "speakerDiarizationSettings"))
|
|
3777
3787
|
UpdateBotLocaleResponse.struct_class = Types::UpdateBotLocaleResponse
|
|
3778
3788
|
|
|
3779
3789
|
UpdateBotRecommendationRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
|
@@ -2472,6 +2472,11 @@ module Aws::LexModelsV2
|
|
|
2472
2472
|
# (speech-to-speech) to be enabled when `enabled` is `true`.
|
|
2473
2473
|
# @return [Types::AudioFillerSettings]
|
|
2474
2474
|
#
|
|
2475
|
+
# @!attribute [rw] speaker_diarization_settings
|
|
2476
|
+
# The speaker diarization settings to apply when importing the bot
|
|
2477
|
+
# locale configuration.
|
|
2478
|
+
# @return [Types::SpeakerDiarizationSettings]
|
|
2479
|
+
#
|
|
2475
2480
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BotLocaleImportSpecification AWS API Documentation
|
|
2476
2481
|
#
|
|
2477
2482
|
class BotLocaleImportSpecification < Struct.new(
|
|
@@ -2483,7 +2488,8 @@ module Aws::LexModelsV2
|
|
|
2483
2488
|
:speech_recognition_settings,
|
|
2484
2489
|
:speech_detection_sensitivity,
|
|
2485
2490
|
:unified_speech_settings,
|
|
2486
|
-
:audio_filler_settings
|
|
2491
|
+
:audio_filler_settings,
|
|
2492
|
+
:speaker_diarization_settings)
|
|
2487
2493
|
SENSITIVE = []
|
|
2488
2494
|
include Aws::Structure
|
|
2489
2495
|
end
|
|
@@ -3669,6 +3675,12 @@ module Aws::LexModelsV2
|
|
|
3669
3675
|
# interactions.
|
|
3670
3676
|
# @return [String]
|
|
3671
3677
|
#
|
|
3678
|
+
# @!attribute [rw] speaker_diarization_settings
|
|
3679
|
+
# The speaker diarization settings to configure for the new bot
|
|
3680
|
+
# locale. When enabled, Amazon Lex restricts speech detection to the
|
|
3681
|
+
# primary (loudest) speaker during streaming audio conversations.
|
|
3682
|
+
# @return [Types::SpeakerDiarizationSettings]
|
|
3683
|
+
#
|
|
3672
3684
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotLocaleRequest AWS API Documentation
|
|
3673
3685
|
#
|
|
3674
3686
|
class CreateBotLocaleRequest < Struct.new(
|
|
@@ -3682,7 +3694,8 @@ module Aws::LexModelsV2
|
|
|
3682
3694
|
:audio_filler_settings,
|
|
3683
3695
|
:speech_recognition_settings,
|
|
3684
3696
|
:generative_ai_settings,
|
|
3685
|
-
:speech_detection_sensitivity
|
|
3697
|
+
:speech_detection_sensitivity,
|
|
3698
|
+
:speaker_diarization_settings)
|
|
3686
3699
|
SENSITIVE = []
|
|
3687
3700
|
include Aws::Structure
|
|
3688
3701
|
end
|
|
@@ -3760,6 +3773,11 @@ module Aws::LexModelsV2
|
|
|
3760
3773
|
# specified for the bot locale.
|
|
3761
3774
|
# @return [String]
|
|
3762
3775
|
#
|
|
3776
|
+
# @!attribute [rw] speaker_diarization_settings
|
|
3777
|
+
# The speaker diarization settings configured for the created bot
|
|
3778
|
+
# locale.
|
|
3779
|
+
# @return [Types::SpeakerDiarizationSettings]
|
|
3780
|
+
#
|
|
3763
3781
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotLocaleResponse AWS API Documentation
|
|
3764
3782
|
#
|
|
3765
3783
|
class CreateBotLocaleResponse < Struct.new(
|
|
@@ -3776,7 +3794,8 @@ module Aws::LexModelsV2
|
|
|
3776
3794
|
:bot_locale_status,
|
|
3777
3795
|
:creation_date_time,
|
|
3778
3796
|
:generative_ai_settings,
|
|
3779
|
-
:speech_detection_sensitivity
|
|
3797
|
+
:speech_detection_sensitivity,
|
|
3798
|
+
:speaker_diarization_settings)
|
|
3780
3799
|
SENSITIVE = []
|
|
3781
3800
|
include Aws::Structure
|
|
3782
3801
|
end
|
|
@@ -6164,6 +6183,10 @@ module Aws::LexModelsV2
|
|
|
6164
6183
|
# for the bot locale.
|
|
6165
6184
|
# @return [String]
|
|
6166
6185
|
#
|
|
6186
|
+
# @!attribute [rw] speaker_diarization_settings
|
|
6187
|
+
# The speaker diarization settings configured for the bot locale.
|
|
6188
|
+
# @return [Types::SpeakerDiarizationSettings]
|
|
6189
|
+
#
|
|
6167
6190
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotLocaleResponse AWS API Documentation
|
|
6168
6191
|
#
|
|
6169
6192
|
class DescribeBotLocaleResponse < Struct.new(
|
|
@@ -6187,7 +6210,8 @@ module Aws::LexModelsV2
|
|
|
6187
6210
|
:bot_locale_history_events,
|
|
6188
6211
|
:recommended_actions,
|
|
6189
6212
|
:generative_ai_settings,
|
|
6190
|
-
:speech_detection_sensitivity
|
|
6213
|
+
:speech_detection_sensitivity,
|
|
6214
|
+
:speaker_diarization_settings)
|
|
6191
6215
|
SENSITIVE = []
|
|
6192
6216
|
include Aws::Structure
|
|
6193
6217
|
end
|
|
@@ -13456,6 +13480,26 @@ module Aws::LexModelsV2
|
|
|
13456
13480
|
include Aws::Structure
|
|
13457
13481
|
end
|
|
13458
13482
|
|
|
13483
|
+
# Specifies configuration that restricts speech detection to the primary
|
|
13484
|
+
# (loudest) speaker during streaming audio conversations, so that speech
|
|
13485
|
+
# from background speakers does not start a turn, interrupt the bot, or
|
|
13486
|
+
# reach speech recognition.
|
|
13487
|
+
#
|
|
13488
|
+
# @!attribute [rw] enabled
|
|
13489
|
+
# Specifies whether speaker diarization is enabled for the bot locale.
|
|
13490
|
+
# Set to `true` to have Amazon Lex treat speech from speakers other
|
|
13491
|
+
# than the primary speaker as non-speech. Set to `false` to disable
|
|
13492
|
+
# speaker diarization and rely on voice activity detection alone.
|
|
13493
|
+
# @return [Boolean]
|
|
13494
|
+
#
|
|
13495
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SpeakerDiarizationSettings AWS API Documentation
|
|
13496
|
+
#
|
|
13497
|
+
class SpeakerDiarizationSettings < Struct.new(
|
|
13498
|
+
:enabled)
|
|
13499
|
+
SENSITIVE = []
|
|
13500
|
+
include Aws::Structure
|
|
13501
|
+
end
|
|
13502
|
+
|
|
13459
13503
|
# Subslot specifications.
|
|
13460
13504
|
#
|
|
13461
13505
|
# @!attribute [rw] slot_type_id
|
|
@@ -15169,6 +15213,13 @@ module Aws::LexModelsV2
|
|
|
15169
15213
|
# voice interactions.
|
|
15170
15214
|
# @return [String]
|
|
15171
15215
|
#
|
|
15216
|
+
# @!attribute [rw] speaker_diarization_settings
|
|
15217
|
+
# The updated speaker diarization settings to apply to the bot locale.
|
|
15218
|
+
# If you omit this field, Amazon Lex keeps the setting currently
|
|
15219
|
+
# stored on the bot locale. To turn speaker diarization off, set
|
|
15220
|
+
# `enabled` to `false` explicitly.
|
|
15221
|
+
# @return [Types::SpeakerDiarizationSettings]
|
|
15222
|
+
#
|
|
15172
15223
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotLocaleRequest AWS API Documentation
|
|
15173
15224
|
#
|
|
15174
15225
|
class UpdateBotLocaleRequest < Struct.new(
|
|
@@ -15182,7 +15233,8 @@ module Aws::LexModelsV2
|
|
|
15182
15233
|
:audio_filler_settings,
|
|
15183
15234
|
:speech_recognition_settings,
|
|
15184
15235
|
:generative_ai_settings,
|
|
15185
|
-
:speech_detection_sensitivity
|
|
15236
|
+
:speech_detection_sensitivity,
|
|
15237
|
+
:speaker_diarization_settings)
|
|
15186
15238
|
SENSITIVE = []
|
|
15187
15239
|
include Aws::Structure
|
|
15188
15240
|
end
|
|
@@ -15263,6 +15315,10 @@ module Aws::LexModelsV2
|
|
|
15263
15315
|
# the bot locale.
|
|
15264
15316
|
# @return [String]
|
|
15265
15317
|
#
|
|
15318
|
+
# @!attribute [rw] speaker_diarization_settings
|
|
15319
|
+
# The updated speaker diarization settings for the bot locale.
|
|
15320
|
+
# @return [Types::SpeakerDiarizationSettings]
|
|
15321
|
+
#
|
|
15266
15322
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotLocaleResponse AWS API Documentation
|
|
15267
15323
|
#
|
|
15268
15324
|
class UpdateBotLocaleResponse < Struct.new(
|
|
@@ -15282,7 +15338,8 @@ module Aws::LexModelsV2
|
|
|
15282
15338
|
:last_updated_date_time,
|
|
15283
15339
|
:recommended_actions,
|
|
15284
15340
|
:generative_ai_settings,
|
|
15285
|
-
:speech_detection_sensitivity
|
|
15341
|
+
:speech_detection_sensitivity,
|
|
15342
|
+
:speaker_diarization_settings)
|
|
15286
15343
|
SENSITIVE = []
|
|
15287
15344
|
include Aws::Structure
|
|
15288
15345
|
end
|
data/lib/aws-sdk-lexmodelsv2.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -250,6 +250,7 @@ module Aws
|
|
|
250
250
|
def creation_date_time: () -> ::Time
|
|
251
251
|
def generative_ai_settings: () -> Types::GenerativeAISettings
|
|
252
252
|
def speech_detection_sensitivity: () -> ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
|
|
253
|
+
def speaker_diarization_settings: () -> Types::SpeakerDiarizationSettings
|
|
253
254
|
end
|
|
254
255
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelsV2/Client.html#create_bot_locale-instance_method
|
|
255
256
|
def create_bot_locale: (
|
|
@@ -277,7 +278,10 @@ module Aws
|
|
|
277
278
|
},
|
|
278
279
|
?speech_recognition_settings: Params::speech_recognition_settings,
|
|
279
280
|
?generative_ai_settings: Params::generative_ai_settings,
|
|
280
|
-
?speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
|
|
281
|
+
?speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance"),
|
|
282
|
+
?speaker_diarization_settings: {
|
|
283
|
+
enabled: bool
|
|
284
|
+
}
|
|
281
285
|
) -> _CreateBotLocaleResponseSuccess
|
|
282
286
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBotLocaleResponseSuccess
|
|
283
287
|
|
|
@@ -831,6 +835,7 @@ module Aws
|
|
|
831
835
|
def recommended_actions: () -> ::Array[::String]
|
|
832
836
|
def generative_ai_settings: () -> Types::GenerativeAISettings
|
|
833
837
|
def speech_detection_sensitivity: () -> ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
|
|
838
|
+
def speaker_diarization_settings: () -> Types::SpeakerDiarizationSettings
|
|
834
839
|
end
|
|
835
840
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelsV2/Client.html#describe_bot_locale-instance_method
|
|
836
841
|
def describe_bot_locale: (
|
|
@@ -2107,6 +2112,9 @@ module Aws
|
|
|
2107
2112
|
start_delay_in_milliseconds: ::Integer?,
|
|
2108
2113
|
minimum_play_duration_in_milliseconds: ::Integer?,
|
|
2109
2114
|
response_delivery_delay_in_milliseconds: ::Integer?
|
|
2115
|
+
}?,
|
|
2116
|
+
speaker_diarization_settings: {
|
|
2117
|
+
enabled: bool
|
|
2110
2118
|
}?
|
|
2111
2119
|
}?,
|
|
2112
2120
|
custom_vocabulary_import_specification: {
|
|
@@ -2339,6 +2347,7 @@ module Aws
|
|
|
2339
2347
|
def recommended_actions: () -> ::Array[::String]
|
|
2340
2348
|
def generative_ai_settings: () -> Types::GenerativeAISettings
|
|
2341
2349
|
def speech_detection_sensitivity: () -> ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
|
|
2350
|
+
def speaker_diarization_settings: () -> Types::SpeakerDiarizationSettings
|
|
2342
2351
|
end
|
|
2343
2352
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelsV2/Client.html#update_bot_locale-instance_method
|
|
2344
2353
|
def update_bot_locale: (
|
|
@@ -2366,7 +2375,10 @@ module Aws
|
|
|
2366
2375
|
},
|
|
2367
2376
|
?speech_recognition_settings: Params::speech_recognition_settings,
|
|
2368
2377
|
?generative_ai_settings: Params::generative_ai_settings,
|
|
2369
|
-
?speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
|
|
2378
|
+
?speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance"),
|
|
2379
|
+
?speaker_diarization_settings: {
|
|
2380
|
+
enabled: bool
|
|
2381
|
+
}
|
|
2370
2382
|
) -> _UpdateBotLocaleResponseSuccess
|
|
2371
2383
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateBotLocaleResponseSuccess
|
|
2372
2384
|
|
data/sig/params.rbs
CHANGED
|
@@ -51,7 +51,7 @@ module Aws
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
type speech_recognition_settings = {
|
|
54
|
-
speech_model_preference: ("Standard" | "Neural" | "Deepgram")?,
|
|
54
|
+
speech_model_preference: ("Standard" | "Neural" | "Deepgram" | "Advanced")?,
|
|
55
55
|
speech_model_config: {
|
|
56
56
|
deepgram_config: {
|
|
57
57
|
api_token_secret_arn: ::String,
|
data/sig/types.rbs
CHANGED
|
@@ -489,6 +489,7 @@ module Aws::LexModelsV2
|
|
|
489
489
|
attr_accessor speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
|
|
490
490
|
attr_accessor unified_speech_settings: Types::UnifiedSpeechSettings
|
|
491
491
|
attr_accessor audio_filler_settings: Types::AudioFillerSettings
|
|
492
|
+
attr_accessor speaker_diarization_settings: Types::SpeakerDiarizationSettings
|
|
492
493
|
SENSITIVE: []
|
|
493
494
|
end
|
|
494
495
|
|
|
@@ -788,6 +789,7 @@ module Aws::LexModelsV2
|
|
|
788
789
|
attr_accessor speech_recognition_settings: Types::SpeechRecognitionSettings
|
|
789
790
|
attr_accessor generative_ai_settings: Types::GenerativeAISettings
|
|
790
791
|
attr_accessor speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
|
|
792
|
+
attr_accessor speaker_diarization_settings: Types::SpeakerDiarizationSettings
|
|
791
793
|
SENSITIVE: []
|
|
792
794
|
end
|
|
793
795
|
|
|
@@ -806,6 +808,7 @@ module Aws::LexModelsV2
|
|
|
806
808
|
attr_accessor creation_date_time: ::Time
|
|
807
809
|
attr_accessor generative_ai_settings: Types::GenerativeAISettings
|
|
808
810
|
attr_accessor speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
|
|
811
|
+
attr_accessor speaker_diarization_settings: Types::SpeakerDiarizationSettings
|
|
809
812
|
SENSITIVE: []
|
|
810
813
|
end
|
|
811
814
|
|
|
@@ -1369,6 +1372,7 @@ module Aws::LexModelsV2
|
|
|
1369
1372
|
attr_accessor recommended_actions: ::Array[::String]
|
|
1370
1373
|
attr_accessor generative_ai_settings: Types::GenerativeAISettings
|
|
1371
1374
|
attr_accessor speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
|
|
1375
|
+
attr_accessor speaker_diarization_settings: Types::SpeakerDiarizationSettings
|
|
1372
1376
|
SENSITIVE: []
|
|
1373
1377
|
end
|
|
1374
1378
|
|
|
@@ -3095,6 +3099,11 @@ module Aws::LexModelsV2
|
|
|
3095
3099
|
SENSITIVE: []
|
|
3096
3100
|
end
|
|
3097
3101
|
|
|
3102
|
+
class SpeakerDiarizationSettings
|
|
3103
|
+
attr_accessor enabled: bool
|
|
3104
|
+
SENSITIVE: []
|
|
3105
|
+
end
|
|
3106
|
+
|
|
3098
3107
|
class Specifications
|
|
3099
3108
|
attr_accessor slot_type_id: ::String
|
|
3100
3109
|
attr_accessor value_elicitation_setting: Types::SubSlotValueElicitationSetting
|
|
@@ -3113,7 +3122,7 @@ module Aws::LexModelsV2
|
|
|
3113
3122
|
end
|
|
3114
3123
|
|
|
3115
3124
|
class SpeechRecognitionSettings
|
|
3116
|
-
attr_accessor speech_model_preference: ("Standard" | "Neural" | "Deepgram")
|
|
3125
|
+
attr_accessor speech_model_preference: ("Standard" | "Neural" | "Deepgram" | "Advanced")
|
|
3117
3126
|
attr_accessor speech_model_config: Types::SpeechModelConfig
|
|
3118
3127
|
SENSITIVE: []
|
|
3119
3128
|
end
|
|
@@ -3533,6 +3542,7 @@ module Aws::LexModelsV2
|
|
|
3533
3542
|
attr_accessor speech_recognition_settings: Types::SpeechRecognitionSettings
|
|
3534
3543
|
attr_accessor generative_ai_settings: Types::GenerativeAISettings
|
|
3535
3544
|
attr_accessor speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
|
|
3545
|
+
attr_accessor speaker_diarization_settings: Types::SpeakerDiarizationSettings
|
|
3536
3546
|
SENSITIVE: []
|
|
3537
3547
|
end
|
|
3538
3548
|
|
|
@@ -3554,6 +3564,7 @@ module Aws::LexModelsV2
|
|
|
3554
3564
|
attr_accessor recommended_actions: ::Array[::String]
|
|
3555
3565
|
attr_accessor generative_ai_settings: Types::GenerativeAISettings
|
|
3556
3566
|
attr_accessor speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
|
|
3567
|
+
attr_accessor speaker_diarization_settings: Types::SpeakerDiarizationSettings
|
|
3557
3568
|
SENSITIVE: []
|
|
3558
3569
|
end
|
|
3559
3570
|
|