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
|
@@ -2337,6 +2337,23 @@ module Aws::LexModelsV2
|
|
|
2337
2337
|
# * `generative`
|
|
2338
2338
|
# @return [Types::VoiceSettings]
|
|
2339
2339
|
#
|
|
2340
|
+
# @!attribute [rw] speech_recognition_settings
|
|
2341
|
+
# Speech-to-text settings to apply when importing the bot locale
|
|
2342
|
+
# configuration.
|
|
2343
|
+
# @return [Types::SpeechRecognitionSettings]
|
|
2344
|
+
#
|
|
2345
|
+
# @!attribute [rw] speech_detection_sensitivity
|
|
2346
|
+
# The sensitivity level for voice activity detection (VAD) in the bot
|
|
2347
|
+
# locale. This setting helps optimize speech recognition accuracy by
|
|
2348
|
+
# adjusting how the system responds to background noise during voice
|
|
2349
|
+
# interactions.
|
|
2350
|
+
# @return [String]
|
|
2351
|
+
#
|
|
2352
|
+
# @!attribute [rw] unified_speech_settings
|
|
2353
|
+
# Unified speech settings to apply when importing the bot locale
|
|
2354
|
+
# configuration.
|
|
2355
|
+
# @return [Types::UnifiedSpeechSettings]
|
|
2356
|
+
#
|
|
2340
2357
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BotLocaleImportSpecification AWS API Documentation
|
|
2341
2358
|
#
|
|
2342
2359
|
class BotLocaleImportSpecification < Struct.new(
|
|
@@ -2344,7 +2361,10 @@ module Aws::LexModelsV2
|
|
|
2344
2361
|
:bot_version,
|
|
2345
2362
|
:locale_id,
|
|
2346
2363
|
:nlu_intent_confidence_threshold,
|
|
2347
|
-
:voice_settings
|
|
2364
|
+
:voice_settings,
|
|
2365
|
+
:speech_recognition_settings,
|
|
2366
|
+
:speech_detection_sensitivity,
|
|
2367
|
+
:unified_speech_settings)
|
|
2348
2368
|
SENSITIVE = []
|
|
2349
2369
|
include Aws::Structure
|
|
2350
2370
|
end
|
|
@@ -3502,11 +3522,26 @@ module Aws::LexModelsV2
|
|
|
3502
3522
|
# with the user.
|
|
3503
3523
|
# @return [Types::VoiceSettings]
|
|
3504
3524
|
#
|
|
3525
|
+
# @!attribute [rw] unified_speech_settings
|
|
3526
|
+
# Unified speech settings to configure for the new bot locale.
|
|
3527
|
+
# @return [Types::UnifiedSpeechSettings]
|
|
3528
|
+
#
|
|
3529
|
+
# @!attribute [rw] speech_recognition_settings
|
|
3530
|
+
# Speech-to-text settings to configure for the new bot locale.
|
|
3531
|
+
# @return [Types::SpeechRecognitionSettings]
|
|
3532
|
+
#
|
|
3505
3533
|
# @!attribute [rw] generative_ai_settings
|
|
3506
3534
|
# Contains specifications about the generative AI capabilities from
|
|
3507
3535
|
# Amazon Bedrock that you can turn on for your bot.
|
|
3508
3536
|
# @return [Types::GenerativeAISettings]
|
|
3509
3537
|
#
|
|
3538
|
+
# @!attribute [rw] speech_detection_sensitivity
|
|
3539
|
+
# The sensitivity level for voice activity detection (VAD) in the bot
|
|
3540
|
+
# locale. This setting helps optimize speech recognition accuracy by
|
|
3541
|
+
# adjusting how the system responds to background noise during voice
|
|
3542
|
+
# interactions.
|
|
3543
|
+
# @return [String]
|
|
3544
|
+
#
|
|
3510
3545
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotLocaleRequest AWS API Documentation
|
|
3511
3546
|
#
|
|
3512
3547
|
class CreateBotLocaleRequest < Struct.new(
|
|
@@ -3516,7 +3551,10 @@ module Aws::LexModelsV2
|
|
|
3516
3551
|
:description,
|
|
3517
3552
|
:nlu_intent_confidence_threshold,
|
|
3518
3553
|
:voice_settings,
|
|
3519
|
-
:
|
|
3554
|
+
:unified_speech_settings,
|
|
3555
|
+
:speech_recognition_settings,
|
|
3556
|
+
:generative_ai_settings,
|
|
3557
|
+
:speech_detection_sensitivity)
|
|
3520
3558
|
SENSITIVE = []
|
|
3521
3559
|
include Aws::Structure
|
|
3522
3560
|
end
|
|
@@ -3551,6 +3589,14 @@ module Aws::LexModelsV2
|
|
|
3551
3589
|
# with the user.
|
|
3552
3590
|
# @return [Types::VoiceSettings]
|
|
3553
3591
|
#
|
|
3592
|
+
# @!attribute [rw] unified_speech_settings
|
|
3593
|
+
# The unified speech settings configured for the created bot locale.
|
|
3594
|
+
# @return [Types::UnifiedSpeechSettings]
|
|
3595
|
+
#
|
|
3596
|
+
# @!attribute [rw] speech_recognition_settings
|
|
3597
|
+
# The speech-to-text settings configured for the created bot locale.
|
|
3598
|
+
# @return [Types::SpeechRecognitionSettings]
|
|
3599
|
+
#
|
|
3554
3600
|
# @!attribute [rw] bot_locale_status
|
|
3555
3601
|
# The status of the bot.
|
|
3556
3602
|
#
|
|
@@ -3577,6 +3623,11 @@ module Aws::LexModelsV2
|
|
|
3577
3623
|
# Amazon Bedrock that you can turn on for your bot.
|
|
3578
3624
|
# @return [Types::GenerativeAISettings]
|
|
3579
3625
|
#
|
|
3626
|
+
# @!attribute [rw] speech_detection_sensitivity
|
|
3627
|
+
# The sensitivity level for voice activity detection (VAD) that was
|
|
3628
|
+
# specified for the bot locale.
|
|
3629
|
+
# @return [String]
|
|
3630
|
+
#
|
|
3580
3631
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotLocaleResponse AWS API Documentation
|
|
3581
3632
|
#
|
|
3582
3633
|
class CreateBotLocaleResponse < Struct.new(
|
|
@@ -3587,9 +3638,12 @@ module Aws::LexModelsV2
|
|
|
3587
3638
|
:description,
|
|
3588
3639
|
:nlu_intent_confidence_threshold,
|
|
3589
3640
|
:voice_settings,
|
|
3641
|
+
:unified_speech_settings,
|
|
3642
|
+
:speech_recognition_settings,
|
|
3590
3643
|
:bot_locale_status,
|
|
3591
3644
|
:creation_date_time,
|
|
3592
|
-
:generative_ai_settings
|
|
3645
|
+
:generative_ai_settings,
|
|
3646
|
+
:speech_detection_sensitivity)
|
|
3593
3647
|
SENSITIVE = []
|
|
3594
3648
|
include Aws::Structure
|
|
3595
3649
|
end
|
|
@@ -3932,6 +3986,14 @@ module Aws::LexModelsV2
|
|
|
3932
3986
|
# intent.
|
|
3933
3987
|
# @return [String]
|
|
3934
3988
|
#
|
|
3989
|
+
# @!attribute [rw] intent_display_name
|
|
3990
|
+
# A display name for the intent. If configured, This name will be
|
|
3991
|
+
# shown to users during Intent Disambiguation instead of the intent
|
|
3992
|
+
# name. Display names should be user-friendly, descriptive and match
|
|
3993
|
+
# the intent's purpose to improve user experience during
|
|
3994
|
+
# disambiguation.
|
|
3995
|
+
# @return [String]
|
|
3996
|
+
#
|
|
3935
3997
|
# @!attribute [rw] description
|
|
3936
3998
|
# A description of the intent. Use the description to help identify
|
|
3937
3999
|
# the intent in lists.
|
|
@@ -4067,6 +4129,7 @@ module Aws::LexModelsV2
|
|
|
4067
4129
|
#
|
|
4068
4130
|
class CreateIntentRequest < Struct.new(
|
|
4069
4131
|
:intent_name,
|
|
4132
|
+
:intent_display_name,
|
|
4070
4133
|
:description,
|
|
4071
4134
|
:parent_intent_signature,
|
|
4072
4135
|
:sample_utterances,
|
|
@@ -4095,6 +4158,10 @@ module Aws::LexModelsV2
|
|
|
4095
4158
|
# The name specified for the intent.
|
|
4096
4159
|
# @return [String]
|
|
4097
4160
|
#
|
|
4161
|
+
# @!attribute [rw] intent_display_name
|
|
4162
|
+
# The display name specified for the intent.
|
|
4163
|
+
# @return [String]
|
|
4164
|
+
#
|
|
4098
4165
|
# @!attribute [rw] description
|
|
4099
4166
|
# The description specified for the intent.
|
|
4100
4167
|
# @return [String]
|
|
@@ -4172,6 +4239,7 @@ module Aws::LexModelsV2
|
|
|
4172
4239
|
class CreateIntentResponse < Struct.new(
|
|
4173
4240
|
:intent_id,
|
|
4174
4241
|
:intent_name,
|
|
4242
|
+
:intent_display_name,
|
|
4175
4243
|
:description,
|
|
4176
4244
|
:parent_intent_signature,
|
|
4177
4245
|
:sample_utterances,
|
|
@@ -4987,6 +5055,28 @@ module Aws::LexModelsV2
|
|
|
4987
5055
|
include Aws::Structure
|
|
4988
5056
|
end
|
|
4989
5057
|
|
|
5058
|
+
# Configuration settings for integrating Deepgram speech-to-text models
|
|
5059
|
+
# with Amazon Lex.
|
|
5060
|
+
#
|
|
5061
|
+
# @!attribute [rw] api_token_secret_arn
|
|
5062
|
+
# The Amazon Resource Name (ARN) of the Secrets Manager secret that
|
|
5063
|
+
# contains the Deepgram API token.
|
|
5064
|
+
# @return [String]
|
|
5065
|
+
#
|
|
5066
|
+
# @!attribute [rw] model_id
|
|
5067
|
+
# The identifier of the Deepgram speech-to-text model to use for
|
|
5068
|
+
# processing speech input.
|
|
5069
|
+
# @return [String]
|
|
5070
|
+
#
|
|
5071
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeepgramSpeechModelConfig AWS API Documentation
|
|
5072
|
+
#
|
|
5073
|
+
class DeepgramSpeechModelConfig < Struct.new(
|
|
5074
|
+
:api_token_secret_arn,
|
|
5075
|
+
:model_id)
|
|
5076
|
+
SENSITIVE = []
|
|
5077
|
+
include Aws::Structure
|
|
5078
|
+
end
|
|
5079
|
+
|
|
4990
5080
|
# A set of actions that Amazon Lex should run if none of the other
|
|
4991
5081
|
# conditions are met.
|
|
4992
5082
|
#
|
|
@@ -5780,6 +5870,14 @@ module Aws::LexModelsV2
|
|
|
5780
5870
|
# the user.
|
|
5781
5871
|
# @return [Types::VoiceSettings]
|
|
5782
5872
|
#
|
|
5873
|
+
# @!attribute [rw] unified_speech_settings
|
|
5874
|
+
# The unified speech settings configured for the bot locale.
|
|
5875
|
+
# @return [Types::UnifiedSpeechSettings]
|
|
5876
|
+
#
|
|
5877
|
+
# @!attribute [rw] speech_recognition_settings
|
|
5878
|
+
# The speech-to-text settings configured for the bot locale.
|
|
5879
|
+
# @return [Types::SpeechRecognitionSettings]
|
|
5880
|
+
#
|
|
5783
5881
|
# @!attribute [rw] intents_count
|
|
5784
5882
|
# The number of intents defined for the locale.
|
|
5785
5883
|
# @return [Integer]
|
|
@@ -5825,6 +5923,11 @@ module Aws::LexModelsV2
|
|
|
5825
5923
|
# your bot locale.
|
|
5826
5924
|
# @return [Types::GenerativeAISettings]
|
|
5827
5925
|
#
|
|
5926
|
+
# @!attribute [rw] speech_detection_sensitivity
|
|
5927
|
+
# The sensitivity level for voice activity detection (VAD) configured
|
|
5928
|
+
# for the bot locale.
|
|
5929
|
+
# @return [String]
|
|
5930
|
+
#
|
|
5828
5931
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotLocaleResponse AWS API Documentation
|
|
5829
5932
|
#
|
|
5830
5933
|
class DescribeBotLocaleResponse < Struct.new(
|
|
@@ -5835,6 +5938,8 @@ module Aws::LexModelsV2
|
|
|
5835
5938
|
:description,
|
|
5836
5939
|
:nlu_intent_confidence_threshold,
|
|
5837
5940
|
:voice_settings,
|
|
5941
|
+
:unified_speech_settings,
|
|
5942
|
+
:speech_recognition_settings,
|
|
5838
5943
|
:intents_count,
|
|
5839
5944
|
:slot_types_count,
|
|
5840
5945
|
:bot_locale_status,
|
|
@@ -5844,7 +5949,8 @@ module Aws::LexModelsV2
|
|
|
5844
5949
|
:last_build_submitted_date_time,
|
|
5845
5950
|
:bot_locale_history_events,
|
|
5846
5951
|
:recommended_actions,
|
|
5847
|
-
:generative_ai_settings
|
|
5952
|
+
:generative_ai_settings,
|
|
5953
|
+
:speech_detection_sensitivity)
|
|
5848
5954
|
SENSITIVE = []
|
|
5849
5955
|
include Aws::Structure
|
|
5850
5956
|
end
|
|
@@ -6525,6 +6631,10 @@ module Aws::LexModelsV2
|
|
|
6525
6631
|
# The name specified for the intent.
|
|
6526
6632
|
# @return [String]
|
|
6527
6633
|
#
|
|
6634
|
+
# @!attribute [rw] intent_display_name
|
|
6635
|
+
# The display name specified for the intent.
|
|
6636
|
+
# @return [String]
|
|
6637
|
+
#
|
|
6528
6638
|
# @!attribute [rw] description
|
|
6529
6639
|
# The description of the intent.
|
|
6530
6640
|
# @return [String]
|
|
@@ -6615,6 +6725,7 @@ module Aws::LexModelsV2
|
|
|
6615
6725
|
class DescribeIntentResponse < Struct.new(
|
|
6616
6726
|
:intent_id,
|
|
6617
6727
|
:intent_name,
|
|
6728
|
+
:intent_display_name,
|
|
6618
6729
|
:description,
|
|
6619
6730
|
:parent_intent_signature,
|
|
6620
6731
|
:sample_utterances,
|
|
@@ -8389,6 +8500,42 @@ module Aws::LexModelsV2
|
|
|
8389
8500
|
include Aws::Structure
|
|
8390
8501
|
end
|
|
8391
8502
|
|
|
8503
|
+
# Configures the Intent Disambiguation feature that helps resolve
|
|
8504
|
+
# ambiguous user inputs when multiple intents could match. When enabled,
|
|
8505
|
+
# the system presents clarifying questions to users, helping them
|
|
8506
|
+
# specify their exact intent for improved conversation accuracy.
|
|
8507
|
+
#
|
|
8508
|
+
# @!attribute [rw] enabled
|
|
8509
|
+
# Determines whether the Intent Disambiguation feature is enabled.
|
|
8510
|
+
# When set to `true`, Amazon Lex will present disambiguation options
|
|
8511
|
+
# to users when multiple intents could match their input, with the
|
|
8512
|
+
# default being `false`.
|
|
8513
|
+
# @return [Boolean]
|
|
8514
|
+
#
|
|
8515
|
+
# @!attribute [rw] max_disambiguation_intents
|
|
8516
|
+
# Specifies the maximum number of intent options (2-5) to present to
|
|
8517
|
+
# users when disambiguation is needed. This setting determines how
|
|
8518
|
+
# many intent options will be shown to users when the system detects
|
|
8519
|
+
# ambiguous input. The default value is 3.
|
|
8520
|
+
# @return [Integer]
|
|
8521
|
+
#
|
|
8522
|
+
# @!attribute [rw] custom_disambiguation_message
|
|
8523
|
+
# Provides a custom message that will be displayed before presenting
|
|
8524
|
+
# the disambiguation options to users. This message helps set the
|
|
8525
|
+
# context for users and can be customized to match your bot's tone
|
|
8526
|
+
# and brand. If not specified, a default message will be used.
|
|
8527
|
+
# @return [String]
|
|
8528
|
+
#
|
|
8529
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/IntentDisambiguationSettings AWS API Documentation
|
|
8530
|
+
#
|
|
8531
|
+
class IntentDisambiguationSettings < Struct.new(
|
|
8532
|
+
:enabled,
|
|
8533
|
+
:max_disambiguation_intents,
|
|
8534
|
+
:custom_disambiguation_message)
|
|
8535
|
+
SENSITIVE = []
|
|
8536
|
+
include Aws::Structure
|
|
8537
|
+
end
|
|
8538
|
+
|
|
8392
8539
|
# Filters the response from the `ListIntents` operation.
|
|
8393
8540
|
#
|
|
8394
8541
|
# @!attribute [rw] name
|
|
@@ -8524,6 +8671,10 @@ module Aws::LexModelsV2
|
|
|
8524
8671
|
# The name of the intent.
|
|
8525
8672
|
# @return [String]
|
|
8526
8673
|
#
|
|
8674
|
+
# @!attribute [rw] intent_display_name
|
|
8675
|
+
# The display name of the intent.
|
|
8676
|
+
# @return [String]
|
|
8677
|
+
#
|
|
8527
8678
|
# @!attribute [rw] description
|
|
8528
8679
|
# The description of the intent.
|
|
8529
8680
|
# @return [String]
|
|
@@ -8552,6 +8703,7 @@ module Aws::LexModelsV2
|
|
|
8552
8703
|
class IntentSummary < Struct.new(
|
|
8553
8704
|
:intent_id,
|
|
8554
8705
|
:intent_name,
|
|
8706
|
+
:intent_display_name,
|
|
8555
8707
|
:description,
|
|
8556
8708
|
:parent_intent_signature,
|
|
8557
8709
|
:input_contexts,
|
|
@@ -11218,11 +11370,19 @@ module Aws::LexModelsV2
|
|
|
11218
11370
|
# use it only when standard NLU confidence is low.
|
|
11219
11371
|
# @return [String]
|
|
11220
11372
|
#
|
|
11373
|
+
# @!attribute [rw] intent_disambiguation_settings
|
|
11374
|
+
# An object containing specifications for the Intent Disambiguation
|
|
11375
|
+
# feature within the Assisted NLU settings. These settings determine
|
|
11376
|
+
# how the bot handles ambiguous user inputs that could match multiple
|
|
11377
|
+
# intents.
|
|
11378
|
+
# @return [Types::IntentDisambiguationSettings]
|
|
11379
|
+
#
|
|
11221
11380
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/NluImprovementSpecification AWS API Documentation
|
|
11222
11381
|
#
|
|
11223
11382
|
class NluImprovementSpecification < Struct.new(
|
|
11224
11383
|
:enabled,
|
|
11225
|
-
:assisted_nlu_mode
|
|
11384
|
+
:assisted_nlu_mode,
|
|
11385
|
+
:intent_disambiguation_settings)
|
|
11226
11386
|
SENSITIVE = []
|
|
11227
11387
|
include Aws::Structure
|
|
11228
11388
|
end
|
|
@@ -12983,6 +13143,64 @@ module Aws::LexModelsV2
|
|
|
12983
13143
|
include Aws::Structure
|
|
12984
13144
|
end
|
|
12985
13145
|
|
|
13146
|
+
# Configuration for a foundation model used for speech synthesis and
|
|
13147
|
+
# recognition capabilities.
|
|
13148
|
+
#
|
|
13149
|
+
# @!attribute [rw] model_arn
|
|
13150
|
+
# The Amazon Resource Name (ARN) of the foundation model used for
|
|
13151
|
+
# speech processing.
|
|
13152
|
+
# @return [String]
|
|
13153
|
+
#
|
|
13154
|
+
# @!attribute [rw] voice_id
|
|
13155
|
+
# The identifier of the voice to use for speech synthesis with the
|
|
13156
|
+
# foundation model.
|
|
13157
|
+
# @return [String]
|
|
13158
|
+
#
|
|
13159
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SpeechFoundationModel AWS API Documentation
|
|
13160
|
+
#
|
|
13161
|
+
class SpeechFoundationModel < Struct.new(
|
|
13162
|
+
:model_arn,
|
|
13163
|
+
:voice_id)
|
|
13164
|
+
SENSITIVE = []
|
|
13165
|
+
include Aws::Structure
|
|
13166
|
+
end
|
|
13167
|
+
|
|
13168
|
+
# Configuration settings that define which speech-to-text model to use
|
|
13169
|
+
# for processing speech input.
|
|
13170
|
+
#
|
|
13171
|
+
# @!attribute [rw] deepgram_config
|
|
13172
|
+
# Configuration settings for using Deepgram as the speech-to-text
|
|
13173
|
+
# provider.
|
|
13174
|
+
# @return [Types::DeepgramSpeechModelConfig]
|
|
13175
|
+
#
|
|
13176
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SpeechModelConfig AWS API Documentation
|
|
13177
|
+
#
|
|
13178
|
+
class SpeechModelConfig < Struct.new(
|
|
13179
|
+
:deepgram_config)
|
|
13180
|
+
SENSITIVE = []
|
|
13181
|
+
include Aws::Structure
|
|
13182
|
+
end
|
|
13183
|
+
|
|
13184
|
+
# Settings that control how Amazon Lex processes and recognizes speech
|
|
13185
|
+
# input from users.
|
|
13186
|
+
#
|
|
13187
|
+
# @!attribute [rw] speech_model_preference
|
|
13188
|
+
# The speech-to-text model to use.
|
|
13189
|
+
# @return [String]
|
|
13190
|
+
#
|
|
13191
|
+
# @!attribute [rw] speech_model_config
|
|
13192
|
+
# Configuration settings for the selected speech-to-text model.
|
|
13193
|
+
# @return [Types::SpeechModelConfig]
|
|
13194
|
+
#
|
|
13195
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SpeechRecognitionSettings AWS API Documentation
|
|
13196
|
+
#
|
|
13197
|
+
class SpeechRecognitionSettings < Struct.new(
|
|
13198
|
+
:speech_model_preference,
|
|
13199
|
+
:speech_model_config)
|
|
13200
|
+
SENSITIVE = []
|
|
13201
|
+
include Aws::Structure
|
|
13202
|
+
end
|
|
13203
|
+
|
|
12986
13204
|
# @!attribute [rw] bot_id
|
|
12987
13205
|
# The unique identifier of the bot containing the bot recommendation.
|
|
12988
13206
|
# @return [String]
|
|
@@ -14277,6 +14495,22 @@ module Aws::LexModelsV2
|
|
|
14277
14495
|
include Aws::Structure
|
|
14278
14496
|
end
|
|
14279
14497
|
|
|
14498
|
+
# Unified configuration settings that combine speech recognition and
|
|
14499
|
+
# synthesis capabilities.
|
|
14500
|
+
#
|
|
14501
|
+
# @!attribute [rw] speech_foundation_model
|
|
14502
|
+
# The foundation model configuration to use for unified speech
|
|
14503
|
+
# processing capabilities.
|
|
14504
|
+
# @return [Types::SpeechFoundationModel]
|
|
14505
|
+
#
|
|
14506
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UnifiedSpeechSettings AWS API Documentation
|
|
14507
|
+
#
|
|
14508
|
+
class UnifiedSpeechSettings < Struct.new(
|
|
14509
|
+
:speech_foundation_model)
|
|
14510
|
+
SENSITIVE = []
|
|
14511
|
+
include Aws::Structure
|
|
14512
|
+
end
|
|
14513
|
+
|
|
14280
14514
|
# @!attribute [rw] resource_arn
|
|
14281
14515
|
# The Amazon Resource Name (ARN) of the resource to remove the tags
|
|
14282
14516
|
# from.
|
|
@@ -14449,6 +14683,14 @@ module Aws::LexModelsV2
|
|
|
14449
14683
|
# interaction with the user.
|
|
14450
14684
|
# @return [Types::VoiceSettings]
|
|
14451
14685
|
#
|
|
14686
|
+
# @!attribute [rw] unified_speech_settings
|
|
14687
|
+
# Updated unified speech settings to apply to the bot locale.
|
|
14688
|
+
# @return [Types::UnifiedSpeechSettings]
|
|
14689
|
+
#
|
|
14690
|
+
# @!attribute [rw] speech_recognition_settings
|
|
14691
|
+
# Updated speech-to-text settings to apply to the bot locale.
|
|
14692
|
+
# @return [Types::SpeechRecognitionSettings]
|
|
14693
|
+
#
|
|
14452
14694
|
# @!attribute [rw] generative_ai_settings
|
|
14453
14695
|
# Contains settings for generative AI features powered by Amazon
|
|
14454
14696
|
# Bedrock for your bot locale. Use this object to turn generative AI
|
|
@@ -14456,6 +14698,13 @@ module Aws::LexModelsV2
|
|
|
14456
14698
|
# For more information, see LINK.
|
|
14457
14699
|
# @return [Types::GenerativeAISettings]
|
|
14458
14700
|
#
|
|
14701
|
+
# @!attribute [rw] speech_detection_sensitivity
|
|
14702
|
+
# The new sensitivity level for voice activity detection (VAD) in the
|
|
14703
|
+
# bot locale. This setting helps optimize speech recognition accuracy
|
|
14704
|
+
# by adjusting how the system responds to background noise during
|
|
14705
|
+
# voice interactions.
|
|
14706
|
+
# @return [String]
|
|
14707
|
+
#
|
|
14459
14708
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotLocaleRequest AWS API Documentation
|
|
14460
14709
|
#
|
|
14461
14710
|
class UpdateBotLocaleRequest < Struct.new(
|
|
@@ -14465,7 +14714,10 @@ module Aws::LexModelsV2
|
|
|
14465
14714
|
:description,
|
|
14466
14715
|
:nlu_intent_confidence_threshold,
|
|
14467
14716
|
:voice_settings,
|
|
14468
|
-
:
|
|
14717
|
+
:unified_speech_settings,
|
|
14718
|
+
:speech_recognition_settings,
|
|
14719
|
+
:generative_ai_settings,
|
|
14720
|
+
:speech_detection_sensitivity)
|
|
14469
14721
|
SENSITIVE = []
|
|
14470
14722
|
include Aws::Structure
|
|
14471
14723
|
end
|
|
@@ -14501,6 +14753,14 @@ module Aws::LexModelsV2
|
|
|
14501
14753
|
# user.
|
|
14502
14754
|
# @return [Types::VoiceSettings]
|
|
14503
14755
|
#
|
|
14756
|
+
# @!attribute [rw] unified_speech_settings
|
|
14757
|
+
# The updated unified speech settings for the bot locale.
|
|
14758
|
+
# @return [Types::UnifiedSpeechSettings]
|
|
14759
|
+
#
|
|
14760
|
+
# @!attribute [rw] speech_recognition_settings
|
|
14761
|
+
# The updated speech-to-text settings for the bot locale.
|
|
14762
|
+
# @return [Types::SpeechRecognitionSettings]
|
|
14763
|
+
#
|
|
14504
14764
|
# @!attribute [rw] bot_locale_status
|
|
14505
14765
|
# The current status of the locale. When the bot status is `Built` the
|
|
14506
14766
|
# locale is ready for use.
|
|
@@ -14529,6 +14789,11 @@ module Aws::LexModelsV2
|
|
|
14529
14789
|
# Bedrock for your bot locale.
|
|
14530
14790
|
# @return [Types::GenerativeAISettings]
|
|
14531
14791
|
#
|
|
14792
|
+
# @!attribute [rw] speech_detection_sensitivity
|
|
14793
|
+
# The updated sensitivity level for voice activity detection (VAD) in
|
|
14794
|
+
# the bot locale.
|
|
14795
|
+
# @return [String]
|
|
14796
|
+
#
|
|
14532
14797
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotLocaleResponse AWS API Documentation
|
|
14533
14798
|
#
|
|
14534
14799
|
class UpdateBotLocaleResponse < Struct.new(
|
|
@@ -14539,12 +14804,15 @@ module Aws::LexModelsV2
|
|
|
14539
14804
|
:description,
|
|
14540
14805
|
:nlu_intent_confidence_threshold,
|
|
14541
14806
|
:voice_settings,
|
|
14807
|
+
:unified_speech_settings,
|
|
14808
|
+
:speech_recognition_settings,
|
|
14542
14809
|
:bot_locale_status,
|
|
14543
14810
|
:failure_reasons,
|
|
14544
14811
|
:creation_date_time,
|
|
14545
14812
|
:last_updated_date_time,
|
|
14546
14813
|
:recommended_actions,
|
|
14547
|
-
:generative_ai_settings
|
|
14814
|
+
:generative_ai_settings,
|
|
14815
|
+
:speech_detection_sensitivity)
|
|
14548
14816
|
SENSITIVE = []
|
|
14549
14817
|
include Aws::Structure
|
|
14550
14818
|
end
|
|
@@ -14867,6 +15135,10 @@ module Aws::LexModelsV2
|
|
|
14867
15135
|
# The new name for the intent.
|
|
14868
15136
|
# @return [String]
|
|
14869
15137
|
#
|
|
15138
|
+
# @!attribute [rw] intent_display_name
|
|
15139
|
+
# The new display name for the intent.
|
|
15140
|
+
# @return [String]
|
|
15141
|
+
#
|
|
14870
15142
|
# @!attribute [rw] description
|
|
14871
15143
|
# The new description of the intent.
|
|
14872
15144
|
# @return [String]
|
|
@@ -14959,6 +15231,7 @@ module Aws::LexModelsV2
|
|
|
14959
15231
|
class UpdateIntentRequest < Struct.new(
|
|
14960
15232
|
:intent_id,
|
|
14961
15233
|
:intent_name,
|
|
15234
|
+
:intent_display_name,
|
|
14962
15235
|
:description,
|
|
14963
15236
|
:parent_intent_signature,
|
|
14964
15237
|
:sample_utterances,
|
|
@@ -14988,6 +15261,10 @@ module Aws::LexModelsV2
|
|
|
14988
15261
|
# The updated name of the intent.
|
|
14989
15262
|
# @return [String]
|
|
14990
15263
|
#
|
|
15264
|
+
# @!attribute [rw] intent_display_name
|
|
15265
|
+
# The updated display name of the intent.
|
|
15266
|
+
# @return [String]
|
|
15267
|
+
#
|
|
14991
15268
|
# @!attribute [rw] description
|
|
14992
15269
|
# The updated description of the intent.
|
|
14993
15270
|
# @return [String]
|
|
@@ -15080,6 +15357,7 @@ module Aws::LexModelsV2
|
|
|
15080
15357
|
class UpdateIntentResponse < Struct.new(
|
|
15081
15358
|
:intent_id,
|
|
15082
15359
|
:intent_name,
|
|
15360
|
+
:intent_display_name,
|
|
15083
15361
|
:description,
|
|
15084
15362
|
:parent_intent_signature,
|
|
15085
15363
|
:sample_utterances,
|
|
@@ -16090,10 +16368,6 @@ module Aws::LexModelsV2
|
|
|
16090
16368
|
#
|
|
16091
16369
|
# * `generative`
|
|
16092
16370
|
#
|
|
16093
|
-
# @!attribute [rw] voice_id
|
|
16094
|
-
# The identifier of the Amazon Polly voice to use.
|
|
16095
|
-
# @return [String]
|
|
16096
|
-
#
|
|
16097
16371
|
# @!attribute [rw] engine
|
|
16098
16372
|
# Indicates the type of Amazon Polly voice that Amazon Lex should use
|
|
16099
16373
|
# for voice interaction with the user. For more information, see the [
|
|
@@ -16107,11 +16381,15 @@ module Aws::LexModelsV2
|
|
|
16107
16381
|
# [1]: https://docs.aws.amazon.com/polly/latest/dg/API_SynthesizeSpeech.html#polly-SynthesizeSpeech-request-Engine
|
|
16108
16382
|
# @return [String]
|
|
16109
16383
|
#
|
|
16384
|
+
# @!attribute [rw] voice_id
|
|
16385
|
+
# The identifier of the Amazon Polly voice to use.
|
|
16386
|
+
# @return [String]
|
|
16387
|
+
#
|
|
16110
16388
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/VoiceSettings AWS API Documentation
|
|
16111
16389
|
#
|
|
16112
16390
|
class VoiceSettings < Struct.new(
|
|
16113
|
-
:
|
|
16114
|
-
:
|
|
16391
|
+
:engine,
|
|
16392
|
+
:voice_id)
|
|
16115
16393
|
SENSITIVE = []
|
|
16116
16394
|
include Aws::Structure
|
|
16117
16395
|
end
|