aws-sdk-lexmodelsv2 1.81.0 → 1.83.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 +61 -1
- data/lib/aws-sdk-lexmodelsv2/client_api.rb +25 -0
- data/lib/aws-sdk-lexmodelsv2/types.rb +144 -10
- data/lib/aws-sdk-lexmodelsv2.rb +1 -1
- data/sig/client.rbs +28 -5
- data/sig/types.rbs +21 -0
- 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: a7b954eda4daa5faa09724b45dad7dfa79aaaca6cdf4ca47e069130c2fcffc06
|
|
4
|
+
data.tar.gz: 95ed68679d49c4ae5726205e73b464310b97e93182fa32c9ce9433b8859d351f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3c71de8a2fb4a8234c9b299ee6bb9e57e3557b4e1caf8f1733612159f65e5d7628cc7550efa1e4002760335da8fb9c82b7d0bd2a24d6c742ab3580006eb80ed2
|
|
7
|
+
data.tar.gz: 5fdafcd3a75844ed1c624bda8fe1c49b693011d415da09b3bdbdd4a335d1f0ddde5b94c19e8e2ac6378b46e66e6db88936e4ebcaaaf53392045b1d1128623ccc
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.83.0 (2025-11-21)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* 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.
|
|
8
|
+
|
|
9
|
+
1.82.0 (2025-11-17)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Adds support for LLM as Primary, allowing usage of LLMs as the default NLU system.
|
|
13
|
+
|
|
4
14
|
1.81.0 (2025-10-22)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.83.0
|
|
@@ -1078,6 +1078,12 @@ module Aws::LexModelsV2
|
|
|
1078
1078
|
# Contains specifications about the generative AI capabilities from
|
|
1079
1079
|
# Amazon Bedrock that you can turn on for your bot.
|
|
1080
1080
|
#
|
|
1081
|
+
# @option params [String] :speech_detection_sensitivity
|
|
1082
|
+
# The sensitivity level for voice activity detection (VAD) in the bot
|
|
1083
|
+
# locale. This setting helps optimize speech recognition accuracy by
|
|
1084
|
+
# adjusting how the system responds to background noise during voice
|
|
1085
|
+
# interactions.
|
|
1086
|
+
#
|
|
1081
1087
|
# @return [Types::CreateBotLocaleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1082
1088
|
#
|
|
1083
1089
|
# * {Types::CreateBotLocaleResponse#bot_id #bot_id} => String
|
|
@@ -1090,6 +1096,7 @@ module Aws::LexModelsV2
|
|
|
1090
1096
|
# * {Types::CreateBotLocaleResponse#bot_locale_status #bot_locale_status} => String
|
|
1091
1097
|
# * {Types::CreateBotLocaleResponse#creation_date_time #creation_date_time} => Time
|
|
1092
1098
|
# * {Types::CreateBotLocaleResponse#generative_ai_settings #generative_ai_settings} => Types::GenerativeAISettings
|
|
1099
|
+
# * {Types::CreateBotLocaleResponse#speech_detection_sensitivity #speech_detection_sensitivity} => String
|
|
1093
1100
|
#
|
|
1094
1101
|
# @example Request syntax with placeholder values
|
|
1095
1102
|
#
|
|
@@ -1119,6 +1126,12 @@ module Aws::LexModelsV2
|
|
|
1119
1126
|
# },
|
|
1120
1127
|
# nlu_improvement: {
|
|
1121
1128
|
# enabled: false, # required
|
|
1129
|
+
# assisted_nlu_mode: "Primary", # accepts Primary, Fallback
|
|
1130
|
+
# intent_disambiguation_settings: {
|
|
1131
|
+
# enabled: false, # required
|
|
1132
|
+
# max_disambiguation_intents: 1,
|
|
1133
|
+
# custom_disambiguation_message: "CustomDisambiguationMessage",
|
|
1134
|
+
# },
|
|
1122
1135
|
# },
|
|
1123
1136
|
# },
|
|
1124
1137
|
# buildtime_settings: {
|
|
@@ -1148,6 +1161,7 @@ module Aws::LexModelsV2
|
|
|
1148
1161
|
# },
|
|
1149
1162
|
# },
|
|
1150
1163
|
# },
|
|
1164
|
+
# speech_detection_sensitivity: "Default", # accepts Default, HighNoiseTolerance, MaximumNoiseTolerance
|
|
1151
1165
|
# })
|
|
1152
1166
|
#
|
|
1153
1167
|
# @example Response structure
|
|
@@ -1169,6 +1183,10 @@ module Aws::LexModelsV2
|
|
|
1169
1183
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.trace_status #=> String, one of "ENABLED", "DISABLED"
|
|
1170
1184
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.custom_prompt #=> String
|
|
1171
1185
|
# resp.generative_ai_settings.runtime_settings.nlu_improvement.enabled #=> Boolean
|
|
1186
|
+
# resp.generative_ai_settings.runtime_settings.nlu_improvement.assisted_nlu_mode #=> String, one of "Primary", "Fallback"
|
|
1187
|
+
# resp.generative_ai_settings.runtime_settings.nlu_improvement.intent_disambiguation_settings.enabled #=> Boolean
|
|
1188
|
+
# resp.generative_ai_settings.runtime_settings.nlu_improvement.intent_disambiguation_settings.max_disambiguation_intents #=> Integer
|
|
1189
|
+
# resp.generative_ai_settings.runtime_settings.nlu_improvement.intent_disambiguation_settings.custom_disambiguation_message #=> String
|
|
1172
1190
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.enabled #=> Boolean
|
|
1173
1191
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.bedrock_model_specification.model_arn #=> String
|
|
1174
1192
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.bedrock_model_specification.guardrail.identifier #=> String
|
|
@@ -1181,6 +1199,7 @@ module Aws::LexModelsV2
|
|
|
1181
1199
|
# resp.generative_ai_settings.buildtime_settings.sample_utterance_generation.bedrock_model_specification.guardrail.version #=> String
|
|
1182
1200
|
# resp.generative_ai_settings.buildtime_settings.sample_utterance_generation.bedrock_model_specification.trace_status #=> String, one of "ENABLED", "DISABLED"
|
|
1183
1201
|
# resp.generative_ai_settings.buildtime_settings.sample_utterance_generation.bedrock_model_specification.custom_prompt #=> String
|
|
1202
|
+
# resp.speech_detection_sensitivity #=> String, one of "Default", "HighNoiseTolerance", "MaximumNoiseTolerance"
|
|
1184
1203
|
#
|
|
1185
1204
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotLocale AWS API Documentation
|
|
1186
1205
|
#
|
|
@@ -1416,6 +1435,12 @@ module Aws::LexModelsV2
|
|
|
1416
1435
|
# The name of the intent. Intent names must be unique in the locale that
|
|
1417
1436
|
# contains the intent and cannot match the name of any built-in intent.
|
|
1418
1437
|
#
|
|
1438
|
+
# @option params [String] :intent_display_name
|
|
1439
|
+
# A display name for the intent. If configured, This name will be shown
|
|
1440
|
+
# to users during Intent Disambiguation instead of the intent name.
|
|
1441
|
+
# Display names should be user-friendly, descriptive and match the
|
|
1442
|
+
# intent's purpose to improve user experience during disambiguation.
|
|
1443
|
+
#
|
|
1419
1444
|
# @option params [String] :description
|
|
1420
1445
|
# A description of the intent. Use the description to help identify the
|
|
1421
1446
|
# intent in lists.
|
|
@@ -1531,6 +1556,7 @@ module Aws::LexModelsV2
|
|
|
1531
1556
|
#
|
|
1532
1557
|
# * {Types::CreateIntentResponse#intent_id #intent_id} => String
|
|
1533
1558
|
# * {Types::CreateIntentResponse#intent_name #intent_name} => String
|
|
1559
|
+
# * {Types::CreateIntentResponse#intent_display_name #intent_display_name} => String
|
|
1534
1560
|
# * {Types::CreateIntentResponse#description #description} => String
|
|
1535
1561
|
# * {Types::CreateIntentResponse#parent_intent_signature #parent_intent_signature} => String
|
|
1536
1562
|
# * {Types::CreateIntentResponse#sample_utterances #sample_utterances} => Array<Types::SampleUtterance>
|
|
@@ -3582,6 +3608,7 @@ module Aws::LexModelsV2
|
|
|
3582
3608
|
# * {Types::DescribeBotLocaleResponse#bot_locale_history_events #bot_locale_history_events} => Array<Types::BotLocaleHistoryEvent>
|
|
3583
3609
|
# * {Types::DescribeBotLocaleResponse#recommended_actions #recommended_actions} => Array<String>
|
|
3584
3610
|
# * {Types::DescribeBotLocaleResponse#generative_ai_settings #generative_ai_settings} => Types::GenerativeAISettings
|
|
3611
|
+
# * {Types::DescribeBotLocaleResponse#speech_detection_sensitivity #speech_detection_sensitivity} => String
|
|
3585
3612
|
#
|
|
3586
3613
|
# @example Request syntax with placeholder values
|
|
3587
3614
|
#
|
|
@@ -3621,6 +3648,10 @@ module Aws::LexModelsV2
|
|
|
3621
3648
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.trace_status #=> String, one of "ENABLED", "DISABLED"
|
|
3622
3649
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.custom_prompt #=> String
|
|
3623
3650
|
# resp.generative_ai_settings.runtime_settings.nlu_improvement.enabled #=> Boolean
|
|
3651
|
+
# resp.generative_ai_settings.runtime_settings.nlu_improvement.assisted_nlu_mode #=> String, one of "Primary", "Fallback"
|
|
3652
|
+
# resp.generative_ai_settings.runtime_settings.nlu_improvement.intent_disambiguation_settings.enabled #=> Boolean
|
|
3653
|
+
# resp.generative_ai_settings.runtime_settings.nlu_improvement.intent_disambiguation_settings.max_disambiguation_intents #=> Integer
|
|
3654
|
+
# resp.generative_ai_settings.runtime_settings.nlu_improvement.intent_disambiguation_settings.custom_disambiguation_message #=> String
|
|
3624
3655
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.enabled #=> Boolean
|
|
3625
3656
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.bedrock_model_specification.model_arn #=> String
|
|
3626
3657
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.bedrock_model_specification.guardrail.identifier #=> String
|
|
@@ -3633,6 +3664,7 @@ module Aws::LexModelsV2
|
|
|
3633
3664
|
# resp.generative_ai_settings.buildtime_settings.sample_utterance_generation.bedrock_model_specification.guardrail.version #=> String
|
|
3634
3665
|
# resp.generative_ai_settings.buildtime_settings.sample_utterance_generation.bedrock_model_specification.trace_status #=> String, one of "ENABLED", "DISABLED"
|
|
3635
3666
|
# resp.generative_ai_settings.buildtime_settings.sample_utterance_generation.bedrock_model_specification.custom_prompt #=> String
|
|
3667
|
+
# resp.speech_detection_sensitivity #=> String, one of "Default", "HighNoiseTolerance", "MaximumNoiseTolerance"
|
|
3636
3668
|
#
|
|
3637
3669
|
#
|
|
3638
3670
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
|
@@ -4058,6 +4090,7 @@ module Aws::LexModelsV2
|
|
|
4058
4090
|
# resp.resource_specification.bot_locale_import_specification.nlu_intent_confidence_threshold #=> Float
|
|
4059
4091
|
# resp.resource_specification.bot_locale_import_specification.voice_settings.voice_id #=> String
|
|
4060
4092
|
# resp.resource_specification.bot_locale_import_specification.voice_settings.engine #=> String, one of "standard", "neural", "long-form", "generative"
|
|
4093
|
+
# resp.resource_specification.bot_locale_import_specification.speech_detection_sensitivity #=> String, one of "Default", "HighNoiseTolerance", "MaximumNoiseTolerance"
|
|
4061
4094
|
# resp.resource_specification.custom_vocabulary_import_specification.bot_id #=> String
|
|
4062
4095
|
# resp.resource_specification.custom_vocabulary_import_specification.bot_version #=> String
|
|
4063
4096
|
# resp.resource_specification.custom_vocabulary_import_specification.locale_id #=> String
|
|
@@ -4119,6 +4152,7 @@ module Aws::LexModelsV2
|
|
|
4119
4152
|
#
|
|
4120
4153
|
# * {Types::DescribeIntentResponse#intent_id #intent_id} => String
|
|
4121
4154
|
# * {Types::DescribeIntentResponse#intent_name #intent_name} => String
|
|
4155
|
+
# * {Types::DescribeIntentResponse#intent_display_name #intent_display_name} => String
|
|
4122
4156
|
# * {Types::DescribeIntentResponse#description #description} => String
|
|
4123
4157
|
# * {Types::DescribeIntentResponse#parent_intent_signature #parent_intent_signature} => String
|
|
4124
4158
|
# * {Types::DescribeIntentResponse#sample_utterances #sample_utterances} => Array<Types::SampleUtterance>
|
|
@@ -6918,6 +6952,7 @@ module Aws::LexModelsV2
|
|
|
6918
6952
|
# resp.intent_summaries #=> Array
|
|
6919
6953
|
# resp.intent_summaries[0].intent_id #=> String
|
|
6920
6954
|
# resp.intent_summaries[0].intent_name #=> String
|
|
6955
|
+
# resp.intent_summaries[0].intent_display_name #=> String
|
|
6921
6956
|
# resp.intent_summaries[0].description #=> String
|
|
6922
6957
|
# resp.intent_summaries[0].parent_intent_signature #=> String
|
|
6923
6958
|
# resp.intent_summaries[0].input_contexts #=> Array
|
|
@@ -8484,6 +8519,7 @@ module Aws::LexModelsV2
|
|
|
8484
8519
|
# voice_id: "VoiceId", # required
|
|
8485
8520
|
# engine: "standard", # accepts standard, neural, long-form, generative
|
|
8486
8521
|
# },
|
|
8522
|
+
# speech_detection_sensitivity: "Default", # accepts Default, HighNoiseTolerance, MaximumNoiseTolerance
|
|
8487
8523
|
# },
|
|
8488
8524
|
# custom_vocabulary_import_specification: {
|
|
8489
8525
|
# bot_id: "Id", # required
|
|
@@ -8531,6 +8567,7 @@ module Aws::LexModelsV2
|
|
|
8531
8567
|
# resp.resource_specification.bot_locale_import_specification.nlu_intent_confidence_threshold #=> Float
|
|
8532
8568
|
# resp.resource_specification.bot_locale_import_specification.voice_settings.voice_id #=> String
|
|
8533
8569
|
# resp.resource_specification.bot_locale_import_specification.voice_settings.engine #=> String, one of "standard", "neural", "long-form", "generative"
|
|
8570
|
+
# resp.resource_specification.bot_locale_import_specification.speech_detection_sensitivity #=> String, one of "Default", "HighNoiseTolerance", "MaximumNoiseTolerance"
|
|
8534
8571
|
# resp.resource_specification.custom_vocabulary_import_specification.bot_id #=> String
|
|
8535
8572
|
# resp.resource_specification.custom_vocabulary_import_specification.bot_version #=> String
|
|
8536
8573
|
# resp.resource_specification.custom_vocabulary_import_specification.locale_id #=> String
|
|
@@ -9108,6 +9145,12 @@ module Aws::LexModelsV2
|
|
|
9108
9145
|
# and off. Pricing may differ if you turn a feature on. For more
|
|
9109
9146
|
# information, see LINK.
|
|
9110
9147
|
#
|
|
9148
|
+
# @option params [String] :speech_detection_sensitivity
|
|
9149
|
+
# The new sensitivity level for voice activity detection (VAD) in the
|
|
9150
|
+
# bot locale. This setting helps optimize speech recognition accuracy by
|
|
9151
|
+
# adjusting how the system responds to background noise during voice
|
|
9152
|
+
# interactions.
|
|
9153
|
+
#
|
|
9111
9154
|
# @return [Types::UpdateBotLocaleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
9112
9155
|
#
|
|
9113
9156
|
# * {Types::UpdateBotLocaleResponse#bot_id #bot_id} => String
|
|
@@ -9123,6 +9166,7 @@ module Aws::LexModelsV2
|
|
|
9123
9166
|
# * {Types::UpdateBotLocaleResponse#last_updated_date_time #last_updated_date_time} => Time
|
|
9124
9167
|
# * {Types::UpdateBotLocaleResponse#recommended_actions #recommended_actions} => Array<String>
|
|
9125
9168
|
# * {Types::UpdateBotLocaleResponse#generative_ai_settings #generative_ai_settings} => Types::GenerativeAISettings
|
|
9169
|
+
# * {Types::UpdateBotLocaleResponse#speech_detection_sensitivity #speech_detection_sensitivity} => String
|
|
9126
9170
|
#
|
|
9127
9171
|
# @example Request syntax with placeholder values
|
|
9128
9172
|
#
|
|
@@ -9152,6 +9196,12 @@ module Aws::LexModelsV2
|
|
|
9152
9196
|
# },
|
|
9153
9197
|
# nlu_improvement: {
|
|
9154
9198
|
# enabled: false, # required
|
|
9199
|
+
# assisted_nlu_mode: "Primary", # accepts Primary, Fallback
|
|
9200
|
+
# intent_disambiguation_settings: {
|
|
9201
|
+
# enabled: false, # required
|
|
9202
|
+
# max_disambiguation_intents: 1,
|
|
9203
|
+
# custom_disambiguation_message: "CustomDisambiguationMessage",
|
|
9204
|
+
# },
|
|
9155
9205
|
# },
|
|
9156
9206
|
# },
|
|
9157
9207
|
# buildtime_settings: {
|
|
@@ -9181,6 +9231,7 @@ module Aws::LexModelsV2
|
|
|
9181
9231
|
# },
|
|
9182
9232
|
# },
|
|
9183
9233
|
# },
|
|
9234
|
+
# speech_detection_sensitivity: "Default", # accepts Default, HighNoiseTolerance, MaximumNoiseTolerance
|
|
9184
9235
|
# })
|
|
9185
9236
|
#
|
|
9186
9237
|
# @example Response structure
|
|
@@ -9207,6 +9258,10 @@ module Aws::LexModelsV2
|
|
|
9207
9258
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.trace_status #=> String, one of "ENABLED", "DISABLED"
|
|
9208
9259
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.custom_prompt #=> String
|
|
9209
9260
|
# resp.generative_ai_settings.runtime_settings.nlu_improvement.enabled #=> Boolean
|
|
9261
|
+
# resp.generative_ai_settings.runtime_settings.nlu_improvement.assisted_nlu_mode #=> String, one of "Primary", "Fallback"
|
|
9262
|
+
# resp.generative_ai_settings.runtime_settings.nlu_improvement.intent_disambiguation_settings.enabled #=> Boolean
|
|
9263
|
+
# resp.generative_ai_settings.runtime_settings.nlu_improvement.intent_disambiguation_settings.max_disambiguation_intents #=> Integer
|
|
9264
|
+
# resp.generative_ai_settings.runtime_settings.nlu_improvement.intent_disambiguation_settings.custom_disambiguation_message #=> String
|
|
9210
9265
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.enabled #=> Boolean
|
|
9211
9266
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.bedrock_model_specification.model_arn #=> String
|
|
9212
9267
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.bedrock_model_specification.guardrail.identifier #=> String
|
|
@@ -9219,6 +9274,7 @@ module Aws::LexModelsV2
|
|
|
9219
9274
|
# resp.generative_ai_settings.buildtime_settings.sample_utterance_generation.bedrock_model_specification.guardrail.version #=> String
|
|
9220
9275
|
# resp.generative_ai_settings.buildtime_settings.sample_utterance_generation.bedrock_model_specification.trace_status #=> String, one of "ENABLED", "DISABLED"
|
|
9221
9276
|
# resp.generative_ai_settings.buildtime_settings.sample_utterance_generation.bedrock_model_specification.custom_prompt #=> String
|
|
9277
|
+
# resp.speech_detection_sensitivity #=> String, one of "Default", "HighNoiseTolerance", "MaximumNoiseTolerance"
|
|
9222
9278
|
#
|
|
9223
9279
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotLocale AWS API Documentation
|
|
9224
9280
|
#
|
|
@@ -9378,6 +9434,9 @@ module Aws::LexModelsV2
|
|
|
9378
9434
|
# @option params [required, String] :intent_name
|
|
9379
9435
|
# The new name for the intent.
|
|
9380
9436
|
#
|
|
9437
|
+
# @option params [String] :intent_display_name
|
|
9438
|
+
# The new display name for the intent.
|
|
9439
|
+
#
|
|
9381
9440
|
# @option params [String] :description
|
|
9382
9441
|
# The new description of the intent.
|
|
9383
9442
|
#
|
|
@@ -9451,6 +9510,7 @@ module Aws::LexModelsV2
|
|
|
9451
9510
|
#
|
|
9452
9511
|
# * {Types::UpdateIntentResponse#intent_id #intent_id} => String
|
|
9453
9512
|
# * {Types::UpdateIntentResponse#intent_name #intent_name} => String
|
|
9513
|
+
# * {Types::UpdateIntentResponse#intent_display_name #intent_display_name} => String
|
|
9454
9514
|
# * {Types::UpdateIntentResponse#description #description} => String
|
|
9455
9515
|
# * {Types::UpdateIntentResponse#parent_intent_signature #parent_intent_signature} => String
|
|
9456
9516
|
# * {Types::UpdateIntentResponse#sample_utterances #sample_utterances} => Array<Types::SampleUtterance>
|
|
@@ -10570,7 +10630,7 @@ module Aws::LexModelsV2
|
|
|
10570
10630
|
tracer: tracer
|
|
10571
10631
|
)
|
|
10572
10632
|
context[:gem_name] = 'aws-sdk-lexmodelsv2'
|
|
10573
|
-
context[:gem_version] = '1.
|
|
10633
|
+
context[:gem_version] = '1.83.0'
|
|
10574
10634
|
Seahorse::Client::Request.new(handlers, context)
|
|
10575
10635
|
end
|
|
10576
10636
|
|
|
@@ -126,6 +126,7 @@ module Aws::LexModelsV2
|
|
|
126
126
|
AnalyticsUtteranceResults = Shapes::ListShape.new(name: 'AnalyticsUtteranceResults')
|
|
127
127
|
AnalyticsUtteranceSortByName = Shapes::StringShape.new(name: 'AnalyticsUtteranceSortByName')
|
|
128
128
|
AnswerField = Shapes::StringShape.new(name: 'AnswerField')
|
|
129
|
+
AssistedNluMode = Shapes::StringShape.new(name: 'AssistedNluMode')
|
|
129
130
|
AssociatedTranscript = Shapes::StructureShape.new(name: 'AssociatedTranscript')
|
|
130
131
|
AssociatedTranscriptFilter = Shapes::StructureShape.new(name: 'AssociatedTranscriptFilter')
|
|
131
132
|
AssociatedTranscriptFilterName = Shapes::StringShape.new(name: 'AssociatedTranscriptFilterName')
|
|
@@ -298,6 +299,7 @@ module Aws::LexModelsV2
|
|
|
298
299
|
CreateTestSetDiscrepancyReportResponse = Shapes::StructureShape.new(name: 'CreateTestSetDiscrepancyReportResponse')
|
|
299
300
|
CreateUploadUrlRequest = Shapes::StructureShape.new(name: 'CreateUploadUrlRequest')
|
|
300
301
|
CreateUploadUrlResponse = Shapes::StructureShape.new(name: 'CreateUploadUrlResponse')
|
|
302
|
+
CustomDisambiguationMessage = Shapes::StringShape.new(name: 'CustomDisambiguationMessage')
|
|
301
303
|
CustomPayload = Shapes::StructureShape.new(name: 'CustomPayload')
|
|
302
304
|
CustomPayloadValue = Shapes::StringShape.new(name: 'CustomPayloadValue')
|
|
303
305
|
CustomVocabularyEntryId = Shapes::StructureShape.new(name: 'CustomVocabularyEntryId')
|
|
@@ -382,6 +384,7 @@ module Aws::LexModelsV2
|
|
|
382
384
|
DialogCodeHookInvocationSetting = Shapes::StructureShape.new(name: 'DialogCodeHookInvocationSetting')
|
|
383
385
|
DialogCodeHookSettings = Shapes::StructureShape.new(name: 'DialogCodeHookSettings')
|
|
384
386
|
DialogState = Shapes::StructureShape.new(name: 'DialogState')
|
|
387
|
+
DisplayName = Shapes::StringShape.new(name: 'DisplayName')
|
|
385
388
|
DomainEndpoint = Shapes::StringShape.new(name: 'DomainEndpoint')
|
|
386
389
|
DraftBotVersion = Shapes::StringShape.new(name: 'DraftBotVersion')
|
|
387
390
|
Effect = Shapes::StringShape.new(name: 'Effect')
|
|
@@ -460,6 +463,7 @@ module Aws::LexModelsV2
|
|
|
460
463
|
IntentClassificationTestResults = Shapes::StructureShape.new(name: 'IntentClassificationTestResults')
|
|
461
464
|
IntentClosingSetting = Shapes::StructureShape.new(name: 'IntentClosingSetting')
|
|
462
465
|
IntentConfirmationSetting = Shapes::StructureShape.new(name: 'IntentConfirmationSetting')
|
|
466
|
+
IntentDisambiguationSettings = Shapes::StructureShape.new(name: 'IntentDisambiguationSettings')
|
|
463
467
|
IntentFilter = Shapes::StructureShape.new(name: 'IntentFilter')
|
|
464
468
|
IntentFilterName = Shapes::StringShape.new(name: 'IntentFilterName')
|
|
465
469
|
IntentFilterOperator = Shapes::StringShape.new(name: 'IntentFilterOperator')
|
|
@@ -550,6 +554,7 @@ module Aws::LexModelsV2
|
|
|
550
554
|
LocaleId = Shapes::StringShape.new(name: 'LocaleId')
|
|
551
555
|
LocaleName = Shapes::StringShape.new(name: 'LocaleName')
|
|
552
556
|
LogPrefix = Shapes::StringShape.new(name: 'LogPrefix')
|
|
557
|
+
MaxDisambiguationIntents = Shapes::IntegerShape.new(name: 'MaxDisambiguationIntents')
|
|
553
558
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
|
554
559
|
MaxUtteranceDigits = Shapes::IntegerShape.new(name: 'MaxUtteranceDigits')
|
|
555
560
|
MergeStrategy = Shapes::StringShape.new(name: 'MergeStrategy')
|
|
@@ -700,6 +705,7 @@ module Aws::LexModelsV2
|
|
|
700
705
|
SlotValues = Shapes::ListShape.new(name: 'SlotValues')
|
|
701
706
|
SortOrder = Shapes::StringShape.new(name: 'SortOrder')
|
|
702
707
|
Specifications = Shapes::StructureShape.new(name: 'Specifications')
|
|
708
|
+
SpeechDetectionSensitivity = Shapes::StringShape.new(name: 'SpeechDetectionSensitivity')
|
|
703
709
|
StartBotRecommendationRequest = Shapes::StructureShape.new(name: 'StartBotRecommendationRequest')
|
|
704
710
|
StartBotRecommendationResponse = Shapes::StructureShape.new(name: 'StartBotRecommendationResponse')
|
|
705
711
|
StartBotResourceGenerationRequest = Shapes::StructureShape.new(name: 'StartBotResourceGenerationRequest')
|
|
@@ -1249,6 +1255,7 @@ module Aws::LexModelsV2
|
|
|
1249
1255
|
BotLocaleImportSpecification.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location_name: "localeId"))
|
|
1250
1256
|
BotLocaleImportSpecification.add_member(:nlu_intent_confidence_threshold, Shapes::ShapeRef.new(shape: ConfidenceThreshold, location_name: "nluIntentConfidenceThreshold"))
|
|
1251
1257
|
BotLocaleImportSpecification.add_member(:voice_settings, Shapes::ShapeRef.new(shape: VoiceSettings, location_name: "voiceSettings"))
|
|
1258
|
+
BotLocaleImportSpecification.add_member(:speech_detection_sensitivity, Shapes::ShapeRef.new(shape: SpeechDetectionSensitivity, location_name: "speechDetectionSensitivity"))
|
|
1252
1259
|
BotLocaleImportSpecification.struct_class = Types::BotLocaleImportSpecification
|
|
1253
1260
|
|
|
1254
1261
|
BotLocaleSortBy.add_member(:attribute, Shapes::ShapeRef.new(shape: BotLocaleSortAttribute, required: true, location_name: "attribute"))
|
|
@@ -1499,6 +1506,7 @@ module Aws::LexModelsV2
|
|
|
1499
1506
|
CreateBotLocaleRequest.add_member(:nlu_intent_confidence_threshold, Shapes::ShapeRef.new(shape: ConfidenceThreshold, required: true, location_name: "nluIntentConfidenceThreshold"))
|
|
1500
1507
|
CreateBotLocaleRequest.add_member(:voice_settings, Shapes::ShapeRef.new(shape: VoiceSettings, location_name: "voiceSettings"))
|
|
1501
1508
|
CreateBotLocaleRequest.add_member(:generative_ai_settings, Shapes::ShapeRef.new(shape: GenerativeAISettings, location_name: "generativeAISettings"))
|
|
1509
|
+
CreateBotLocaleRequest.add_member(:speech_detection_sensitivity, Shapes::ShapeRef.new(shape: SpeechDetectionSensitivity, location_name: "speechDetectionSensitivity"))
|
|
1502
1510
|
CreateBotLocaleRequest.struct_class = Types::CreateBotLocaleRequest
|
|
1503
1511
|
|
|
1504
1512
|
CreateBotLocaleResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
|
|
@@ -1511,6 +1519,7 @@ module Aws::LexModelsV2
|
|
|
1511
1519
|
CreateBotLocaleResponse.add_member(:bot_locale_status, Shapes::ShapeRef.new(shape: BotLocaleStatus, location_name: "botLocaleStatus"))
|
|
1512
1520
|
CreateBotLocaleResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
|
1513
1521
|
CreateBotLocaleResponse.add_member(:generative_ai_settings, Shapes::ShapeRef.new(shape: GenerativeAISettings, location_name: "generativeAISettings"))
|
|
1522
|
+
CreateBotLocaleResponse.add_member(:speech_detection_sensitivity, Shapes::ShapeRef.new(shape: SpeechDetectionSensitivity, location_name: "speechDetectionSensitivity"))
|
|
1514
1523
|
CreateBotLocaleResponse.struct_class = Types::CreateBotLocaleResponse
|
|
1515
1524
|
|
|
1516
1525
|
CreateBotReplicaRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
|
@@ -1579,6 +1588,7 @@ module Aws::LexModelsV2
|
|
|
1579
1588
|
CreateExportResponse.struct_class = Types::CreateExportResponse
|
|
1580
1589
|
|
|
1581
1590
|
CreateIntentRequest.add_member(:intent_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "intentName"))
|
|
1591
|
+
CreateIntentRequest.add_member(:intent_display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "intentDisplayName"))
|
|
1582
1592
|
CreateIntentRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
|
1583
1593
|
CreateIntentRequest.add_member(:parent_intent_signature, Shapes::ShapeRef.new(shape: IntentSignature, location_name: "parentIntentSignature"))
|
|
1584
1594
|
CreateIntentRequest.add_member(:sample_utterances, Shapes::ShapeRef.new(shape: SampleUtterancesList, location_name: "sampleUtterances"))
|
|
@@ -1599,6 +1609,7 @@ module Aws::LexModelsV2
|
|
|
1599
1609
|
|
|
1600
1610
|
CreateIntentResponse.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, location_name: "intentId"))
|
|
1601
1611
|
CreateIntentResponse.add_member(:intent_name, Shapes::ShapeRef.new(shape: Name, location_name: "intentName"))
|
|
1612
|
+
CreateIntentResponse.add_member(:intent_display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "intentDisplayName"))
|
|
1602
1613
|
CreateIntentResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
|
1603
1614
|
CreateIntentResponse.add_member(:parent_intent_signature, Shapes::ShapeRef.new(shape: IntentSignature, location_name: "parentIntentSignature"))
|
|
1604
1615
|
CreateIntentResponse.add_member(:sample_utterances, Shapes::ShapeRef.new(shape: SampleUtterancesList, location_name: "sampleUtterances"))
|
|
@@ -1918,6 +1929,7 @@ module Aws::LexModelsV2
|
|
|
1918
1929
|
DescribeBotLocaleResponse.add_member(:bot_locale_history_events, Shapes::ShapeRef.new(shape: BotLocaleHistoryEventsList, location_name: "botLocaleHistoryEvents"))
|
|
1919
1930
|
DescribeBotLocaleResponse.add_member(:recommended_actions, Shapes::ShapeRef.new(shape: RecommendedActions, location_name: "recommendedActions"))
|
|
1920
1931
|
DescribeBotLocaleResponse.add_member(:generative_ai_settings, Shapes::ShapeRef.new(shape: GenerativeAISettings, location_name: "generativeAISettings"))
|
|
1932
|
+
DescribeBotLocaleResponse.add_member(:speech_detection_sensitivity, Shapes::ShapeRef.new(shape: SpeechDetectionSensitivity, location_name: "speechDetectionSensitivity"))
|
|
1921
1933
|
DescribeBotLocaleResponse.struct_class = Types::DescribeBotLocaleResponse
|
|
1922
1934
|
|
|
1923
1935
|
DescribeBotRecommendationRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
|
@@ -2055,6 +2067,7 @@ module Aws::LexModelsV2
|
|
|
2055
2067
|
|
|
2056
2068
|
DescribeIntentResponse.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, location_name: "intentId"))
|
|
2057
2069
|
DescribeIntentResponse.add_member(:intent_name, Shapes::ShapeRef.new(shape: Name, location_name: "intentName"))
|
|
2070
|
+
DescribeIntentResponse.add_member(:intent_display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "intentDisplayName"))
|
|
2058
2071
|
DescribeIntentResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
|
2059
2072
|
DescribeIntentResponse.add_member(:parent_intent_signature, Shapes::ShapeRef.new(shape: IntentSignature, location_name: "parentIntentSignature"))
|
|
2060
2073
|
DescribeIntentResponse.add_member(:sample_utterances, Shapes::ShapeRef.new(shape: SampleUtterancesList, location_name: "sampleUtterances"))
|
|
@@ -2425,6 +2438,11 @@ module Aws::LexModelsV2
|
|
|
2425
2438
|
IntentConfirmationSetting.add_member(:elicitation_code_hook, Shapes::ShapeRef.new(shape: ElicitationCodeHookInvocationSetting, location_name: "elicitationCodeHook"))
|
|
2426
2439
|
IntentConfirmationSetting.struct_class = Types::IntentConfirmationSetting
|
|
2427
2440
|
|
|
2441
|
+
IntentDisambiguationSettings.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, required: true, location_name: "enabled"))
|
|
2442
|
+
IntentDisambiguationSettings.add_member(:max_disambiguation_intents, Shapes::ShapeRef.new(shape: MaxDisambiguationIntents, location_name: "maxDisambiguationIntents"))
|
|
2443
|
+
IntentDisambiguationSettings.add_member(:custom_disambiguation_message, Shapes::ShapeRef.new(shape: CustomDisambiguationMessage, location_name: "customDisambiguationMessage"))
|
|
2444
|
+
IntentDisambiguationSettings.struct_class = Types::IntentDisambiguationSettings
|
|
2445
|
+
|
|
2428
2446
|
IntentFilter.add_member(:name, Shapes::ShapeRef.new(shape: IntentFilterName, required: true, location_name: "name"))
|
|
2429
2447
|
IntentFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "values"))
|
|
2430
2448
|
IntentFilter.add_member(:operator, Shapes::ShapeRef.new(shape: IntentFilterOperator, required: true, location_name: "operator"))
|
|
@@ -2455,6 +2473,7 @@ module Aws::LexModelsV2
|
|
|
2455
2473
|
|
|
2456
2474
|
IntentSummary.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, location_name: "intentId"))
|
|
2457
2475
|
IntentSummary.add_member(:intent_name, Shapes::ShapeRef.new(shape: Name, location_name: "intentName"))
|
|
2476
|
+
IntentSummary.add_member(:intent_display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "intentDisplayName"))
|
|
2458
2477
|
IntentSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
|
2459
2478
|
IntentSummary.add_member(:parent_intent_signature, Shapes::ShapeRef.new(shape: IntentSignature, location_name: "parentIntentSignature"))
|
|
2460
2479
|
IntentSummary.add_member(:input_contexts, Shapes::ShapeRef.new(shape: InputContextsList, location_name: "inputContexts"))
|
|
@@ -2919,6 +2938,8 @@ module Aws::LexModelsV2
|
|
|
2919
2938
|
NewCustomVocabularyItem.struct_class = Types::NewCustomVocabularyItem
|
|
2920
2939
|
|
|
2921
2940
|
NluImprovementSpecification.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, required: true, location_name: "enabled"))
|
|
2941
|
+
NluImprovementSpecification.add_member(:assisted_nlu_mode, Shapes::ShapeRef.new(shape: AssistedNluMode, location_name: "assistedNluMode"))
|
|
2942
|
+
NluImprovementSpecification.add_member(:intent_disambiguation_settings, Shapes::ShapeRef.new(shape: IntentDisambiguationSettings, location_name: "intentDisambiguationSettings"))
|
|
2922
2943
|
NluImprovementSpecification.struct_class = Types::NluImprovementSpecification
|
|
2923
2944
|
|
|
2924
2945
|
OSIncludeFields.member = Shapes::ShapeRef.new(shape: IncludeField)
|
|
@@ -3581,6 +3602,7 @@ module Aws::LexModelsV2
|
|
|
3581
3602
|
UpdateBotLocaleRequest.add_member(:nlu_intent_confidence_threshold, Shapes::ShapeRef.new(shape: ConfidenceThreshold, required: true, location_name: "nluIntentConfidenceThreshold"))
|
|
3582
3603
|
UpdateBotLocaleRequest.add_member(:voice_settings, Shapes::ShapeRef.new(shape: VoiceSettings, location_name: "voiceSettings"))
|
|
3583
3604
|
UpdateBotLocaleRequest.add_member(:generative_ai_settings, Shapes::ShapeRef.new(shape: GenerativeAISettings, location_name: "generativeAISettings"))
|
|
3605
|
+
UpdateBotLocaleRequest.add_member(:speech_detection_sensitivity, Shapes::ShapeRef.new(shape: SpeechDetectionSensitivity, location_name: "speechDetectionSensitivity"))
|
|
3584
3606
|
UpdateBotLocaleRequest.struct_class = Types::UpdateBotLocaleRequest
|
|
3585
3607
|
|
|
3586
3608
|
UpdateBotLocaleResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
|
|
@@ -3596,6 +3618,7 @@ module Aws::LexModelsV2
|
|
|
3596
3618
|
UpdateBotLocaleResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
|
|
3597
3619
|
UpdateBotLocaleResponse.add_member(:recommended_actions, Shapes::ShapeRef.new(shape: RecommendedActions, location_name: "recommendedActions"))
|
|
3598
3620
|
UpdateBotLocaleResponse.add_member(:generative_ai_settings, Shapes::ShapeRef.new(shape: GenerativeAISettings, location_name: "generativeAISettings"))
|
|
3621
|
+
UpdateBotLocaleResponse.add_member(:speech_detection_sensitivity, Shapes::ShapeRef.new(shape: SpeechDetectionSensitivity, location_name: "speechDetectionSensitivity"))
|
|
3599
3622
|
UpdateBotLocaleResponse.struct_class = Types::UpdateBotLocaleResponse
|
|
3600
3623
|
|
|
3601
3624
|
UpdateBotRecommendationRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
|
@@ -3657,6 +3680,7 @@ module Aws::LexModelsV2
|
|
|
3657
3680
|
|
|
3658
3681
|
UpdateIntentRequest.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "intentId"))
|
|
3659
3682
|
UpdateIntentRequest.add_member(:intent_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "intentName"))
|
|
3683
|
+
UpdateIntentRequest.add_member(:intent_display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "intentDisplayName"))
|
|
3660
3684
|
UpdateIntentRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
|
3661
3685
|
UpdateIntentRequest.add_member(:parent_intent_signature, Shapes::ShapeRef.new(shape: IntentSignature, location_name: "parentIntentSignature"))
|
|
3662
3686
|
UpdateIntentRequest.add_member(:sample_utterances, Shapes::ShapeRef.new(shape: SampleUtterancesList, location_name: "sampleUtterances"))
|
|
@@ -3678,6 +3702,7 @@ module Aws::LexModelsV2
|
|
|
3678
3702
|
|
|
3679
3703
|
UpdateIntentResponse.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, location_name: "intentId"))
|
|
3680
3704
|
UpdateIntentResponse.add_member(:intent_name, Shapes::ShapeRef.new(shape: Name, location_name: "intentName"))
|
|
3705
|
+
UpdateIntentResponse.add_member(:intent_display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "intentDisplayName"))
|
|
3681
3706
|
UpdateIntentResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
|
3682
3707
|
UpdateIntentResponse.add_member(:parent_intent_signature, Shapes::ShapeRef.new(shape: IntentSignature, location_name: "parentIntentSignature"))
|
|
3683
3708
|
UpdateIntentResponse.add_member(:sample_utterances, Shapes::ShapeRef.new(shape: SampleUtterancesList, location_name: "sampleUtterances"))
|
|
@@ -2337,6 +2337,13 @@ module Aws::LexModelsV2
|
|
|
2337
2337
|
# * `generative`
|
|
2338
2338
|
# @return [Types::VoiceSettings]
|
|
2339
2339
|
#
|
|
2340
|
+
# @!attribute [rw] speech_detection_sensitivity
|
|
2341
|
+
# The sensitivity level for voice activity detection (VAD) in the bot
|
|
2342
|
+
# locale. This setting helps optimize speech recognition accuracy by
|
|
2343
|
+
# adjusting how the system responds to background noise during voice
|
|
2344
|
+
# interactions.
|
|
2345
|
+
# @return [String]
|
|
2346
|
+
#
|
|
2340
2347
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BotLocaleImportSpecification AWS API Documentation
|
|
2341
2348
|
#
|
|
2342
2349
|
class BotLocaleImportSpecification < Struct.new(
|
|
@@ -2344,7 +2351,8 @@ module Aws::LexModelsV2
|
|
|
2344
2351
|
:bot_version,
|
|
2345
2352
|
:locale_id,
|
|
2346
2353
|
:nlu_intent_confidence_threshold,
|
|
2347
|
-
:voice_settings
|
|
2354
|
+
:voice_settings,
|
|
2355
|
+
:speech_detection_sensitivity)
|
|
2348
2356
|
SENSITIVE = []
|
|
2349
2357
|
include Aws::Structure
|
|
2350
2358
|
end
|
|
@@ -3507,6 +3515,13 @@ module Aws::LexModelsV2
|
|
|
3507
3515
|
# Amazon Bedrock that you can turn on for your bot.
|
|
3508
3516
|
# @return [Types::GenerativeAISettings]
|
|
3509
3517
|
#
|
|
3518
|
+
# @!attribute [rw] speech_detection_sensitivity
|
|
3519
|
+
# The sensitivity level for voice activity detection (VAD) in the bot
|
|
3520
|
+
# locale. This setting helps optimize speech recognition accuracy by
|
|
3521
|
+
# adjusting how the system responds to background noise during voice
|
|
3522
|
+
# interactions.
|
|
3523
|
+
# @return [String]
|
|
3524
|
+
#
|
|
3510
3525
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotLocaleRequest AWS API Documentation
|
|
3511
3526
|
#
|
|
3512
3527
|
class CreateBotLocaleRequest < Struct.new(
|
|
@@ -3516,7 +3531,8 @@ module Aws::LexModelsV2
|
|
|
3516
3531
|
:description,
|
|
3517
3532
|
:nlu_intent_confidence_threshold,
|
|
3518
3533
|
:voice_settings,
|
|
3519
|
-
:generative_ai_settings
|
|
3534
|
+
:generative_ai_settings,
|
|
3535
|
+
:speech_detection_sensitivity)
|
|
3520
3536
|
SENSITIVE = []
|
|
3521
3537
|
include Aws::Structure
|
|
3522
3538
|
end
|
|
@@ -3577,6 +3593,11 @@ module Aws::LexModelsV2
|
|
|
3577
3593
|
# Amazon Bedrock that you can turn on for your bot.
|
|
3578
3594
|
# @return [Types::GenerativeAISettings]
|
|
3579
3595
|
#
|
|
3596
|
+
# @!attribute [rw] speech_detection_sensitivity
|
|
3597
|
+
# The sensitivity level for voice activity detection (VAD) that was
|
|
3598
|
+
# specified for the bot locale.
|
|
3599
|
+
# @return [String]
|
|
3600
|
+
#
|
|
3580
3601
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotLocaleResponse AWS API Documentation
|
|
3581
3602
|
#
|
|
3582
3603
|
class CreateBotLocaleResponse < Struct.new(
|
|
@@ -3589,7 +3610,8 @@ module Aws::LexModelsV2
|
|
|
3589
3610
|
:voice_settings,
|
|
3590
3611
|
:bot_locale_status,
|
|
3591
3612
|
:creation_date_time,
|
|
3592
|
-
:generative_ai_settings
|
|
3613
|
+
:generative_ai_settings,
|
|
3614
|
+
:speech_detection_sensitivity)
|
|
3593
3615
|
SENSITIVE = []
|
|
3594
3616
|
include Aws::Structure
|
|
3595
3617
|
end
|
|
@@ -3932,6 +3954,14 @@ module Aws::LexModelsV2
|
|
|
3932
3954
|
# intent.
|
|
3933
3955
|
# @return [String]
|
|
3934
3956
|
#
|
|
3957
|
+
# @!attribute [rw] intent_display_name
|
|
3958
|
+
# A display name for the intent. If configured, This name will be
|
|
3959
|
+
# shown to users during Intent Disambiguation instead of the intent
|
|
3960
|
+
# name. Display names should be user-friendly, descriptive and match
|
|
3961
|
+
# the intent's purpose to improve user experience during
|
|
3962
|
+
# disambiguation.
|
|
3963
|
+
# @return [String]
|
|
3964
|
+
#
|
|
3935
3965
|
# @!attribute [rw] description
|
|
3936
3966
|
# A description of the intent. Use the description to help identify
|
|
3937
3967
|
# the intent in lists.
|
|
@@ -4067,6 +4097,7 @@ module Aws::LexModelsV2
|
|
|
4067
4097
|
#
|
|
4068
4098
|
class CreateIntentRequest < Struct.new(
|
|
4069
4099
|
:intent_name,
|
|
4100
|
+
:intent_display_name,
|
|
4070
4101
|
:description,
|
|
4071
4102
|
:parent_intent_signature,
|
|
4072
4103
|
:sample_utterances,
|
|
@@ -4095,6 +4126,10 @@ module Aws::LexModelsV2
|
|
|
4095
4126
|
# The name specified for the intent.
|
|
4096
4127
|
# @return [String]
|
|
4097
4128
|
#
|
|
4129
|
+
# @!attribute [rw] intent_display_name
|
|
4130
|
+
# The display name specified for the intent.
|
|
4131
|
+
# @return [String]
|
|
4132
|
+
#
|
|
4098
4133
|
# @!attribute [rw] description
|
|
4099
4134
|
# The description specified for the intent.
|
|
4100
4135
|
# @return [String]
|
|
@@ -4172,6 +4207,7 @@ module Aws::LexModelsV2
|
|
|
4172
4207
|
class CreateIntentResponse < Struct.new(
|
|
4173
4208
|
:intent_id,
|
|
4174
4209
|
:intent_name,
|
|
4210
|
+
:intent_display_name,
|
|
4175
4211
|
:description,
|
|
4176
4212
|
:parent_intent_signature,
|
|
4177
4213
|
:sample_utterances,
|
|
@@ -5825,6 +5861,11 @@ module Aws::LexModelsV2
|
|
|
5825
5861
|
# your bot locale.
|
|
5826
5862
|
# @return [Types::GenerativeAISettings]
|
|
5827
5863
|
#
|
|
5864
|
+
# @!attribute [rw] speech_detection_sensitivity
|
|
5865
|
+
# The sensitivity level for voice activity detection (VAD) configured
|
|
5866
|
+
# for the bot locale.
|
|
5867
|
+
# @return [String]
|
|
5868
|
+
#
|
|
5828
5869
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotLocaleResponse AWS API Documentation
|
|
5829
5870
|
#
|
|
5830
5871
|
class DescribeBotLocaleResponse < Struct.new(
|
|
@@ -5844,7 +5885,8 @@ module Aws::LexModelsV2
|
|
|
5844
5885
|
:last_build_submitted_date_time,
|
|
5845
5886
|
:bot_locale_history_events,
|
|
5846
5887
|
:recommended_actions,
|
|
5847
|
-
:generative_ai_settings
|
|
5888
|
+
:generative_ai_settings,
|
|
5889
|
+
:speech_detection_sensitivity)
|
|
5848
5890
|
SENSITIVE = []
|
|
5849
5891
|
include Aws::Structure
|
|
5850
5892
|
end
|
|
@@ -6525,6 +6567,10 @@ module Aws::LexModelsV2
|
|
|
6525
6567
|
# The name specified for the intent.
|
|
6526
6568
|
# @return [String]
|
|
6527
6569
|
#
|
|
6570
|
+
# @!attribute [rw] intent_display_name
|
|
6571
|
+
# The display name specified for the intent.
|
|
6572
|
+
# @return [String]
|
|
6573
|
+
#
|
|
6528
6574
|
# @!attribute [rw] description
|
|
6529
6575
|
# The description of the intent.
|
|
6530
6576
|
# @return [String]
|
|
@@ -6615,6 +6661,7 @@ module Aws::LexModelsV2
|
|
|
6615
6661
|
class DescribeIntentResponse < Struct.new(
|
|
6616
6662
|
:intent_id,
|
|
6617
6663
|
:intent_name,
|
|
6664
|
+
:intent_display_name,
|
|
6618
6665
|
:description,
|
|
6619
6666
|
:parent_intent_signature,
|
|
6620
6667
|
:sample_utterances,
|
|
@@ -8389,6 +8436,42 @@ module Aws::LexModelsV2
|
|
|
8389
8436
|
include Aws::Structure
|
|
8390
8437
|
end
|
|
8391
8438
|
|
|
8439
|
+
# Configures the Intent Disambiguation feature that helps resolve
|
|
8440
|
+
# ambiguous user inputs when multiple intents could match. When enabled,
|
|
8441
|
+
# the system presents clarifying questions to users, helping them
|
|
8442
|
+
# specify their exact intent for improved conversation accuracy.
|
|
8443
|
+
#
|
|
8444
|
+
# @!attribute [rw] enabled
|
|
8445
|
+
# Determines whether the Intent Disambiguation feature is enabled.
|
|
8446
|
+
# When set to `true`, Amazon Lex will present disambiguation options
|
|
8447
|
+
# to users when multiple intents could match their input, with the
|
|
8448
|
+
# default being `false`.
|
|
8449
|
+
# @return [Boolean]
|
|
8450
|
+
#
|
|
8451
|
+
# @!attribute [rw] max_disambiguation_intents
|
|
8452
|
+
# Specifies the maximum number of intent options (2-5) to present to
|
|
8453
|
+
# users when disambiguation is needed. This setting determines how
|
|
8454
|
+
# many intent options will be shown to users when the system detects
|
|
8455
|
+
# ambiguous input. The default value is 3.
|
|
8456
|
+
# @return [Integer]
|
|
8457
|
+
#
|
|
8458
|
+
# @!attribute [rw] custom_disambiguation_message
|
|
8459
|
+
# Provides a custom message that will be displayed before presenting
|
|
8460
|
+
# the disambiguation options to users. This message helps set the
|
|
8461
|
+
# context for users and can be customized to match your bot's tone
|
|
8462
|
+
# and brand. If not specified, a default message will be used.
|
|
8463
|
+
# @return [String]
|
|
8464
|
+
#
|
|
8465
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/IntentDisambiguationSettings AWS API Documentation
|
|
8466
|
+
#
|
|
8467
|
+
class IntentDisambiguationSettings < Struct.new(
|
|
8468
|
+
:enabled,
|
|
8469
|
+
:max_disambiguation_intents,
|
|
8470
|
+
:custom_disambiguation_message)
|
|
8471
|
+
SENSITIVE = []
|
|
8472
|
+
include Aws::Structure
|
|
8473
|
+
end
|
|
8474
|
+
|
|
8392
8475
|
# Filters the response from the `ListIntents` operation.
|
|
8393
8476
|
#
|
|
8394
8477
|
# @!attribute [rw] name
|
|
@@ -8524,6 +8607,10 @@ module Aws::LexModelsV2
|
|
|
8524
8607
|
# The name of the intent.
|
|
8525
8608
|
# @return [String]
|
|
8526
8609
|
#
|
|
8610
|
+
# @!attribute [rw] intent_display_name
|
|
8611
|
+
# The display name of the intent.
|
|
8612
|
+
# @return [String]
|
|
8613
|
+
#
|
|
8527
8614
|
# @!attribute [rw] description
|
|
8528
8615
|
# The description of the intent.
|
|
8529
8616
|
# @return [String]
|
|
@@ -8552,6 +8639,7 @@ module Aws::LexModelsV2
|
|
|
8552
8639
|
class IntentSummary < Struct.new(
|
|
8553
8640
|
:intent_id,
|
|
8554
8641
|
:intent_name,
|
|
8642
|
+
:intent_display_name,
|
|
8555
8643
|
:description,
|
|
8556
8644
|
:parent_intent_signature,
|
|
8557
8645
|
:input_contexts,
|
|
@@ -11201,16 +11289,36 @@ module Aws::LexModelsV2
|
|
|
11201
11289
|
include Aws::Structure
|
|
11202
11290
|
end
|
|
11203
11291
|
|
|
11204
|
-
#
|
|
11292
|
+
# Configures the Assisted Natural Language Understanding (NLU) feature
|
|
11293
|
+
# for your bot. This specification determines whether enhanced intent
|
|
11294
|
+
# recognition and utterance understanding capabilities are active.
|
|
11205
11295
|
#
|
|
11206
11296
|
# @!attribute [rw] enabled
|
|
11207
|
-
#
|
|
11297
|
+
# Determines whether the Assisted NLU feature is enabled for the bot.
|
|
11298
|
+
# When set to `true`, Amazon Lex uses advanced models to improve
|
|
11299
|
+
# intent recognition and slot resolution, with the default being
|
|
11300
|
+
# `false`.
|
|
11208
11301
|
# @return [Boolean]
|
|
11209
11302
|
#
|
|
11303
|
+
# @!attribute [rw] assisted_nlu_mode
|
|
11304
|
+
# Specifies the mode for Assisted NLU operation. Use `Primary` to make
|
|
11305
|
+
# Assisted NLU the primary intent recognition method, or `Fallback` to
|
|
11306
|
+
# use it only when standard NLU confidence is low.
|
|
11307
|
+
# @return [String]
|
|
11308
|
+
#
|
|
11309
|
+
# @!attribute [rw] intent_disambiguation_settings
|
|
11310
|
+
# An object containing specifications for the Intent Disambiguation
|
|
11311
|
+
# feature within the Assisted NLU settings. These settings determine
|
|
11312
|
+
# how the bot handles ambiguous user inputs that could match multiple
|
|
11313
|
+
# intents.
|
|
11314
|
+
# @return [Types::IntentDisambiguationSettings]
|
|
11315
|
+
#
|
|
11210
11316
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/NluImprovementSpecification AWS API Documentation
|
|
11211
11317
|
#
|
|
11212
11318
|
class NluImprovementSpecification < Struct.new(
|
|
11213
|
-
:enabled
|
|
11319
|
+
:enabled,
|
|
11320
|
+
:assisted_nlu_mode,
|
|
11321
|
+
:intent_disambiguation_settings)
|
|
11214
11322
|
SENSITIVE = []
|
|
11215
11323
|
include Aws::Structure
|
|
11216
11324
|
end
|
|
@@ -11934,7 +12042,9 @@ module Aws::LexModelsV2
|
|
|
11934
12042
|
# @return [Types::SlotResolutionImprovementSpecification]
|
|
11935
12043
|
#
|
|
11936
12044
|
# @!attribute [rw] nlu_improvement
|
|
11937
|
-
# An object containing specifications for the
|
|
12045
|
+
# An object containing specifications for the Assisted NLU feature
|
|
12046
|
+
# within the bot's runtime settings. These settings determine how the
|
|
12047
|
+
# bot processes and interprets user utterances during conversations.
|
|
11938
12048
|
# @return [Types::NluImprovementSpecification]
|
|
11939
12049
|
#
|
|
11940
12050
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/RuntimeSettings AWS API Documentation
|
|
@@ -14442,6 +14552,13 @@ module Aws::LexModelsV2
|
|
|
14442
14552
|
# For more information, see LINK.
|
|
14443
14553
|
# @return [Types::GenerativeAISettings]
|
|
14444
14554
|
#
|
|
14555
|
+
# @!attribute [rw] speech_detection_sensitivity
|
|
14556
|
+
# The new sensitivity level for voice activity detection (VAD) in the
|
|
14557
|
+
# bot locale. This setting helps optimize speech recognition accuracy
|
|
14558
|
+
# by adjusting how the system responds to background noise during
|
|
14559
|
+
# voice interactions.
|
|
14560
|
+
# @return [String]
|
|
14561
|
+
#
|
|
14445
14562
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotLocaleRequest AWS API Documentation
|
|
14446
14563
|
#
|
|
14447
14564
|
class UpdateBotLocaleRequest < Struct.new(
|
|
@@ -14451,7 +14568,8 @@ module Aws::LexModelsV2
|
|
|
14451
14568
|
:description,
|
|
14452
14569
|
:nlu_intent_confidence_threshold,
|
|
14453
14570
|
:voice_settings,
|
|
14454
|
-
:generative_ai_settings
|
|
14571
|
+
:generative_ai_settings,
|
|
14572
|
+
:speech_detection_sensitivity)
|
|
14455
14573
|
SENSITIVE = []
|
|
14456
14574
|
include Aws::Structure
|
|
14457
14575
|
end
|
|
@@ -14515,6 +14633,11 @@ module Aws::LexModelsV2
|
|
|
14515
14633
|
# Bedrock for your bot locale.
|
|
14516
14634
|
# @return [Types::GenerativeAISettings]
|
|
14517
14635
|
#
|
|
14636
|
+
# @!attribute [rw] speech_detection_sensitivity
|
|
14637
|
+
# The updated sensitivity level for voice activity detection (VAD) in
|
|
14638
|
+
# the bot locale.
|
|
14639
|
+
# @return [String]
|
|
14640
|
+
#
|
|
14518
14641
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotLocaleResponse AWS API Documentation
|
|
14519
14642
|
#
|
|
14520
14643
|
class UpdateBotLocaleResponse < Struct.new(
|
|
@@ -14530,7 +14653,8 @@ module Aws::LexModelsV2
|
|
|
14530
14653
|
:creation_date_time,
|
|
14531
14654
|
:last_updated_date_time,
|
|
14532
14655
|
:recommended_actions,
|
|
14533
|
-
:generative_ai_settings
|
|
14656
|
+
:generative_ai_settings,
|
|
14657
|
+
:speech_detection_sensitivity)
|
|
14534
14658
|
SENSITIVE = []
|
|
14535
14659
|
include Aws::Structure
|
|
14536
14660
|
end
|
|
@@ -14853,6 +14977,10 @@ module Aws::LexModelsV2
|
|
|
14853
14977
|
# The new name for the intent.
|
|
14854
14978
|
# @return [String]
|
|
14855
14979
|
#
|
|
14980
|
+
# @!attribute [rw] intent_display_name
|
|
14981
|
+
# The new display name for the intent.
|
|
14982
|
+
# @return [String]
|
|
14983
|
+
#
|
|
14856
14984
|
# @!attribute [rw] description
|
|
14857
14985
|
# The new description of the intent.
|
|
14858
14986
|
# @return [String]
|
|
@@ -14945,6 +15073,7 @@ module Aws::LexModelsV2
|
|
|
14945
15073
|
class UpdateIntentRequest < Struct.new(
|
|
14946
15074
|
:intent_id,
|
|
14947
15075
|
:intent_name,
|
|
15076
|
+
:intent_display_name,
|
|
14948
15077
|
:description,
|
|
14949
15078
|
:parent_intent_signature,
|
|
14950
15079
|
:sample_utterances,
|
|
@@ -14974,6 +15103,10 @@ module Aws::LexModelsV2
|
|
|
14974
15103
|
# The updated name of the intent.
|
|
14975
15104
|
# @return [String]
|
|
14976
15105
|
#
|
|
15106
|
+
# @!attribute [rw] intent_display_name
|
|
15107
|
+
# The updated display name of the intent.
|
|
15108
|
+
# @return [String]
|
|
15109
|
+
#
|
|
14977
15110
|
# @!attribute [rw] description
|
|
14978
15111
|
# The updated description of the intent.
|
|
14979
15112
|
# @return [String]
|
|
@@ -15066,6 +15199,7 @@ module Aws::LexModelsV2
|
|
|
15066
15199
|
class UpdateIntentResponse < Struct.new(
|
|
15067
15200
|
:intent_id,
|
|
15068
15201
|
:intent_name,
|
|
15202
|
+
:intent_display_name,
|
|
15069
15203
|
:description,
|
|
15070
15204
|
:parent_intent_signature,
|
|
15071
15205
|
:sample_utterances,
|
data/lib/aws-sdk-lexmodelsv2.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -280,6 +280,7 @@ module Aws
|
|
|
280
280
|
def bot_locale_status: () -> ("Creating" | "Building" | "Built" | "ReadyExpressTesting" | "Failed" | "Deleting" | "NotBuilt" | "Importing" | "Processing")
|
|
281
281
|
def creation_date_time: () -> ::Time
|
|
282
282
|
def generative_ai_settings: () -> Types::GenerativeAISettings
|
|
283
|
+
def speech_detection_sensitivity: () -> ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
|
|
283
284
|
end
|
|
284
285
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelsV2/Client.html#create_bot_locale-instance_method
|
|
285
286
|
def create_bot_locale: (
|
|
@@ -307,7 +308,13 @@ module Aws
|
|
|
307
308
|
}?
|
|
308
309
|
}?,
|
|
309
310
|
nlu_improvement: {
|
|
310
|
-
enabled: bool
|
|
311
|
+
enabled: bool,
|
|
312
|
+
assisted_nlu_mode: ("Primary" | "Fallback")?,
|
|
313
|
+
intent_disambiguation_settings: {
|
|
314
|
+
enabled: bool,
|
|
315
|
+
max_disambiguation_intents: ::Integer?,
|
|
316
|
+
custom_disambiguation_message: ::String?
|
|
317
|
+
}?
|
|
311
318
|
}?
|
|
312
319
|
}?,
|
|
313
320
|
buildtime_settings: {
|
|
@@ -336,7 +343,8 @@ module Aws
|
|
|
336
343
|
}?
|
|
337
344
|
}?
|
|
338
345
|
}?
|
|
339
|
-
}
|
|
346
|
+
},
|
|
347
|
+
?speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
|
|
340
348
|
) -> _CreateBotLocaleResponseSuccess
|
|
341
349
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBotLocaleResponseSuccess
|
|
342
350
|
|
|
@@ -412,6 +420,7 @@ module Aws
|
|
|
412
420
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateIntentResponse]
|
|
413
421
|
def intent_id: () -> ::String
|
|
414
422
|
def intent_name: () -> ::String
|
|
423
|
+
def intent_display_name: () -> ::String
|
|
415
424
|
def description: () -> ::String
|
|
416
425
|
def parent_intent_signature: () -> ::String
|
|
417
426
|
def sample_utterances: () -> ::Array[Types::SampleUtterance]
|
|
@@ -433,6 +442,7 @@ module Aws
|
|
|
433
442
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelsV2/Client.html#create_intent-instance_method
|
|
434
443
|
def create_intent: (
|
|
435
444
|
intent_name: ::String,
|
|
445
|
+
?intent_display_name: ::String,
|
|
436
446
|
?description: ::String,
|
|
437
447
|
?parent_intent_signature: ::String,
|
|
438
448
|
?sample_utterances: Array[
|
|
@@ -6074,6 +6084,7 @@ module Aws
|
|
|
6074
6084
|
def bot_locale_history_events: () -> ::Array[Types::BotLocaleHistoryEvent]
|
|
6075
6085
|
def recommended_actions: () -> ::Array[::String]
|
|
6076
6086
|
def generative_ai_settings: () -> Types::GenerativeAISettings
|
|
6087
|
+
def speech_detection_sensitivity: () -> ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
|
|
6077
6088
|
end
|
|
6078
6089
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelsV2/Client.html#describe_bot_locale-instance_method
|
|
6079
6090
|
def describe_bot_locale: (
|
|
@@ -6224,6 +6235,7 @@ module Aws
|
|
|
6224
6235
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeIntentResponse]
|
|
6225
6236
|
def intent_id: () -> ::String
|
|
6226
6237
|
def intent_name: () -> ::String
|
|
6238
|
+
def intent_display_name: () -> ::String
|
|
6227
6239
|
def description: () -> ::String
|
|
6228
6240
|
def parent_intent_signature: () -> ::String
|
|
6229
6241
|
def sample_utterances: () -> ::Array[Types::SampleUtterance]
|
|
@@ -7298,7 +7310,8 @@ module Aws
|
|
|
7298
7310
|
voice_settings: {
|
|
7299
7311
|
voice_id: ::String,
|
|
7300
7312
|
engine: ("standard" | "neural" | "long-form" | "generative")?
|
|
7301
|
-
}
|
|
7313
|
+
}?,
|
|
7314
|
+
speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")?
|
|
7302
7315
|
}?,
|
|
7303
7316
|
custom_vocabulary_import_specification: {
|
|
7304
7317
|
bot_id: ::String,
|
|
@@ -7545,6 +7558,7 @@ module Aws
|
|
|
7545
7558
|
def last_updated_date_time: () -> ::Time
|
|
7546
7559
|
def recommended_actions: () -> ::Array[::String]
|
|
7547
7560
|
def generative_ai_settings: () -> Types::GenerativeAISettings
|
|
7561
|
+
def speech_detection_sensitivity: () -> ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
|
|
7548
7562
|
end
|
|
7549
7563
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelsV2/Client.html#update_bot_locale-instance_method
|
|
7550
7564
|
def update_bot_locale: (
|
|
@@ -7572,7 +7586,13 @@ module Aws
|
|
|
7572
7586
|
}?
|
|
7573
7587
|
}?,
|
|
7574
7588
|
nlu_improvement: {
|
|
7575
|
-
enabled: bool
|
|
7589
|
+
enabled: bool,
|
|
7590
|
+
assisted_nlu_mode: ("Primary" | "Fallback")?,
|
|
7591
|
+
intent_disambiguation_settings: {
|
|
7592
|
+
enabled: bool,
|
|
7593
|
+
max_disambiguation_intents: ::Integer?,
|
|
7594
|
+
custom_disambiguation_message: ::String?
|
|
7595
|
+
}?
|
|
7576
7596
|
}?
|
|
7577
7597
|
}?,
|
|
7578
7598
|
buildtime_settings: {
|
|
@@ -7601,7 +7621,8 @@ module Aws
|
|
|
7601
7621
|
}?
|
|
7602
7622
|
}?
|
|
7603
7623
|
}?
|
|
7604
|
-
}
|
|
7624
|
+
},
|
|
7625
|
+
?speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
|
|
7605
7626
|
) -> _UpdateBotLocaleResponseSuccess
|
|
7606
7627
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateBotLocaleResponseSuccess
|
|
7607
7628
|
|
|
@@ -7651,6 +7672,7 @@ module Aws
|
|
|
7651
7672
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateIntentResponse]
|
|
7652
7673
|
def intent_id: () -> ::String
|
|
7653
7674
|
def intent_name: () -> ::String
|
|
7675
|
+
def intent_display_name: () -> ::String
|
|
7654
7676
|
def description: () -> ::String
|
|
7655
7677
|
def parent_intent_signature: () -> ::String
|
|
7656
7678
|
def sample_utterances: () -> ::Array[Types::SampleUtterance]
|
|
@@ -7675,6 +7697,7 @@ module Aws
|
|
|
7675
7697
|
def update_intent: (
|
|
7676
7698
|
intent_id: ::String,
|
|
7677
7699
|
intent_name: ::String,
|
|
7700
|
+
?intent_display_name: ::String,
|
|
7678
7701
|
?description: ::String,
|
|
7679
7702
|
?parent_intent_signature: ::String,
|
|
7680
7703
|
?sample_utterances: Array[
|
data/sig/types.rbs
CHANGED
|
@@ -461,6 +461,7 @@ module Aws::LexModelsV2
|
|
|
461
461
|
attr_accessor locale_id: ::String
|
|
462
462
|
attr_accessor nlu_intent_confidence_threshold: ::Float
|
|
463
463
|
attr_accessor voice_settings: Types::VoiceSettings
|
|
464
|
+
attr_accessor speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
|
|
464
465
|
SENSITIVE: []
|
|
465
466
|
end
|
|
466
467
|
|
|
@@ -756,6 +757,7 @@ module Aws::LexModelsV2
|
|
|
756
757
|
attr_accessor nlu_intent_confidence_threshold: ::Float
|
|
757
758
|
attr_accessor voice_settings: Types::VoiceSettings
|
|
758
759
|
attr_accessor generative_ai_settings: Types::GenerativeAISettings
|
|
760
|
+
attr_accessor speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
|
|
759
761
|
SENSITIVE: []
|
|
760
762
|
end
|
|
761
763
|
|
|
@@ -770,6 +772,7 @@ module Aws::LexModelsV2
|
|
|
770
772
|
attr_accessor bot_locale_status: ("Creating" | "Building" | "Built" | "ReadyExpressTesting" | "Failed" | "Deleting" | "NotBuilt" | "Importing" | "Processing")
|
|
771
773
|
attr_accessor creation_date_time: ::Time
|
|
772
774
|
attr_accessor generative_ai_settings: Types::GenerativeAISettings
|
|
775
|
+
attr_accessor speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
|
|
773
776
|
SENSITIVE: []
|
|
774
777
|
end
|
|
775
778
|
|
|
@@ -854,6 +857,7 @@ module Aws::LexModelsV2
|
|
|
854
857
|
|
|
855
858
|
class CreateIntentRequest
|
|
856
859
|
attr_accessor intent_name: ::String
|
|
860
|
+
attr_accessor intent_display_name: ::String
|
|
857
861
|
attr_accessor description: ::String
|
|
858
862
|
attr_accessor parent_intent_signature: ::String
|
|
859
863
|
attr_accessor sample_utterances: ::Array[Types::SampleUtterance]
|
|
@@ -876,6 +880,7 @@ module Aws::LexModelsV2
|
|
|
876
880
|
class CreateIntentResponse
|
|
877
881
|
attr_accessor intent_id: ::String
|
|
878
882
|
attr_accessor intent_name: ::String
|
|
883
|
+
attr_accessor intent_display_name: ::String
|
|
879
884
|
attr_accessor description: ::String
|
|
880
885
|
attr_accessor parent_intent_signature: ::String
|
|
881
886
|
attr_accessor sample_utterances: ::Array[Types::SampleUtterance]
|
|
@@ -1293,6 +1298,7 @@ module Aws::LexModelsV2
|
|
|
1293
1298
|
attr_accessor bot_locale_history_events: ::Array[Types::BotLocaleHistoryEvent]
|
|
1294
1299
|
attr_accessor recommended_actions: ::Array[::String]
|
|
1295
1300
|
attr_accessor generative_ai_settings: Types::GenerativeAISettings
|
|
1301
|
+
attr_accessor speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
|
|
1296
1302
|
SENSITIVE: []
|
|
1297
1303
|
end
|
|
1298
1304
|
|
|
@@ -1466,6 +1472,7 @@ module Aws::LexModelsV2
|
|
|
1466
1472
|
class DescribeIntentResponse
|
|
1467
1473
|
attr_accessor intent_id: ::String
|
|
1468
1474
|
attr_accessor intent_name: ::String
|
|
1475
|
+
attr_accessor intent_display_name: ::String
|
|
1469
1476
|
attr_accessor description: ::String
|
|
1470
1477
|
attr_accessor parent_intent_signature: ::String
|
|
1471
1478
|
attr_accessor sample_utterances: ::Array[Types::SampleUtterance]
|
|
@@ -1929,6 +1936,13 @@ module Aws::LexModelsV2
|
|
|
1929
1936
|
SENSITIVE: []
|
|
1930
1937
|
end
|
|
1931
1938
|
|
|
1939
|
+
class IntentDisambiguationSettings
|
|
1940
|
+
attr_accessor enabled: bool
|
|
1941
|
+
attr_accessor max_disambiguation_intents: ::Integer
|
|
1942
|
+
attr_accessor custom_disambiguation_message: ::String
|
|
1943
|
+
SENSITIVE: []
|
|
1944
|
+
end
|
|
1945
|
+
|
|
1932
1946
|
class IntentFilter
|
|
1933
1947
|
attr_accessor name: ("IntentName")
|
|
1934
1948
|
attr_accessor values: ::Array[::String]
|
|
@@ -1968,6 +1982,7 @@ module Aws::LexModelsV2
|
|
|
1968
1982
|
class IntentSummary
|
|
1969
1983
|
attr_accessor intent_id: ::String
|
|
1970
1984
|
attr_accessor intent_name: ::String
|
|
1985
|
+
attr_accessor intent_display_name: ::String
|
|
1971
1986
|
attr_accessor description: ::String
|
|
1972
1987
|
attr_accessor parent_intent_signature: ::String
|
|
1973
1988
|
attr_accessor input_contexts: ::Array[Types::InputContext]
|
|
@@ -2568,6 +2583,8 @@ module Aws::LexModelsV2
|
|
|
2568
2583
|
|
|
2569
2584
|
class NluImprovementSpecification
|
|
2570
2585
|
attr_accessor enabled: bool
|
|
2586
|
+
attr_accessor assisted_nlu_mode: ("Primary" | "Fallback")
|
|
2587
|
+
attr_accessor intent_disambiguation_settings: Types::IntentDisambiguationSettings
|
|
2571
2588
|
SENSITIVE: []
|
|
2572
2589
|
end
|
|
2573
2590
|
|
|
@@ -3362,6 +3379,7 @@ module Aws::LexModelsV2
|
|
|
3362
3379
|
attr_accessor nlu_intent_confidence_threshold: ::Float
|
|
3363
3380
|
attr_accessor voice_settings: Types::VoiceSettings
|
|
3364
3381
|
attr_accessor generative_ai_settings: Types::GenerativeAISettings
|
|
3382
|
+
attr_accessor speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
|
|
3365
3383
|
SENSITIVE: []
|
|
3366
3384
|
end
|
|
3367
3385
|
|
|
@@ -3379,6 +3397,7 @@ module Aws::LexModelsV2
|
|
|
3379
3397
|
attr_accessor last_updated_date_time: ::Time
|
|
3380
3398
|
attr_accessor recommended_actions: ::Array[::String]
|
|
3381
3399
|
attr_accessor generative_ai_settings: Types::GenerativeAISettings
|
|
3400
|
+
attr_accessor speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
|
|
3382
3401
|
SENSITIVE: []
|
|
3383
3402
|
end
|
|
3384
3403
|
|
|
@@ -3452,6 +3471,7 @@ module Aws::LexModelsV2
|
|
|
3452
3471
|
class UpdateIntentRequest
|
|
3453
3472
|
attr_accessor intent_id: ::String
|
|
3454
3473
|
attr_accessor intent_name: ::String
|
|
3474
|
+
attr_accessor intent_display_name: ::String
|
|
3455
3475
|
attr_accessor description: ::String
|
|
3456
3476
|
attr_accessor parent_intent_signature: ::String
|
|
3457
3477
|
attr_accessor sample_utterances: ::Array[Types::SampleUtterance]
|
|
@@ -3475,6 +3495,7 @@ module Aws::LexModelsV2
|
|
|
3475
3495
|
class UpdateIntentResponse
|
|
3476
3496
|
attr_accessor intent_id: ::String
|
|
3477
3497
|
attr_accessor intent_name: ::String
|
|
3498
|
+
attr_accessor intent_display_name: ::String
|
|
3478
3499
|
attr_accessor description: ::String
|
|
3479
3500
|
attr_accessor parent_intent_signature: ::String
|
|
3480
3501
|
attr_accessor sample_utterances: ::Array[Types::SampleUtterance]
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-lexmodelsv2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.83.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.239.1
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.239.1
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|