aws-sdk-lexmodelsv2 1.81.0 → 1.82.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lexmodelsv2/client.rb +6 -1
- data/lib/aws-sdk-lexmodelsv2/client_api.rb +2 -0
- data/lib/aws-sdk-lexmodelsv2/types.rb +18 -4
- data/lib/aws-sdk-lexmodelsv2.rb +1 -1
- data/sig/client.rbs +4 -2
- data/sig/types.rbs +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 41e75a5e3f284ba71fb2fcf8d76b085bb72f8694472561252b300ecfec491487
|
|
4
|
+
data.tar.gz: 86d6ab1ff74eca708aa3f61ab91e79e82328c9ec52ac29bfa347579fdd65a26a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 475cf6a794d101e66f07dbd3c1237a7235f90f93987178689fbd1c6dc4a7321de9c201031f4afed412308c777d7fce7567c477891e7fd4529521059ac4f9cb38
|
|
7
|
+
data.tar.gz: bcfc8b6ea0afcafa72aa1bcb86b9a775347257fa0da8f5aea1c71bee8ce5080fa5733daf4a267c2941626a2bcbf321a0cc23a369a5f2de9d8adb80a345e52f65
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.82.0
|
|
@@ -1119,6 +1119,7 @@ module Aws::LexModelsV2
|
|
|
1119
1119
|
# },
|
|
1120
1120
|
# nlu_improvement: {
|
|
1121
1121
|
# enabled: false, # required
|
|
1122
|
+
# assisted_nlu_mode: "Primary", # accepts Primary, Fallback
|
|
1122
1123
|
# },
|
|
1123
1124
|
# },
|
|
1124
1125
|
# buildtime_settings: {
|
|
@@ -1169,6 +1170,7 @@ module Aws::LexModelsV2
|
|
|
1169
1170
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.trace_status #=> String, one of "ENABLED", "DISABLED"
|
|
1170
1171
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.custom_prompt #=> String
|
|
1171
1172
|
# resp.generative_ai_settings.runtime_settings.nlu_improvement.enabled #=> Boolean
|
|
1173
|
+
# resp.generative_ai_settings.runtime_settings.nlu_improvement.assisted_nlu_mode #=> String, one of "Primary", "Fallback"
|
|
1172
1174
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.enabled #=> Boolean
|
|
1173
1175
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.bedrock_model_specification.model_arn #=> String
|
|
1174
1176
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.bedrock_model_specification.guardrail.identifier #=> String
|
|
@@ -3621,6 +3623,7 @@ module Aws::LexModelsV2
|
|
|
3621
3623
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.trace_status #=> String, one of "ENABLED", "DISABLED"
|
|
3622
3624
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.custom_prompt #=> String
|
|
3623
3625
|
# resp.generative_ai_settings.runtime_settings.nlu_improvement.enabled #=> Boolean
|
|
3626
|
+
# resp.generative_ai_settings.runtime_settings.nlu_improvement.assisted_nlu_mode #=> String, one of "Primary", "Fallback"
|
|
3624
3627
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.enabled #=> Boolean
|
|
3625
3628
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.bedrock_model_specification.model_arn #=> String
|
|
3626
3629
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.bedrock_model_specification.guardrail.identifier #=> String
|
|
@@ -9152,6 +9155,7 @@ module Aws::LexModelsV2
|
|
|
9152
9155
|
# },
|
|
9153
9156
|
# nlu_improvement: {
|
|
9154
9157
|
# enabled: false, # required
|
|
9158
|
+
# assisted_nlu_mode: "Primary", # accepts Primary, Fallback
|
|
9155
9159
|
# },
|
|
9156
9160
|
# },
|
|
9157
9161
|
# buildtime_settings: {
|
|
@@ -9207,6 +9211,7 @@ module Aws::LexModelsV2
|
|
|
9207
9211
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.trace_status #=> String, one of "ENABLED", "DISABLED"
|
|
9208
9212
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.custom_prompt #=> String
|
|
9209
9213
|
# resp.generative_ai_settings.runtime_settings.nlu_improvement.enabled #=> Boolean
|
|
9214
|
+
# resp.generative_ai_settings.runtime_settings.nlu_improvement.assisted_nlu_mode #=> String, one of "Primary", "Fallback"
|
|
9210
9215
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.enabled #=> Boolean
|
|
9211
9216
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.bedrock_model_specification.model_arn #=> String
|
|
9212
9217
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.bedrock_model_specification.guardrail.identifier #=> String
|
|
@@ -10570,7 +10575,7 @@ module Aws::LexModelsV2
|
|
|
10570
10575
|
tracer: tracer
|
|
10571
10576
|
)
|
|
10572
10577
|
context[:gem_name] = 'aws-sdk-lexmodelsv2'
|
|
10573
|
-
context[:gem_version] = '1.
|
|
10578
|
+
context[:gem_version] = '1.82.0'
|
|
10574
10579
|
Seahorse::Client::Request.new(handlers, context)
|
|
10575
10580
|
end
|
|
10576
10581
|
|
|
@@ -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')
|
|
@@ -2919,6 +2920,7 @@ module Aws::LexModelsV2
|
|
|
2919
2920
|
NewCustomVocabularyItem.struct_class = Types::NewCustomVocabularyItem
|
|
2920
2921
|
|
|
2921
2922
|
NluImprovementSpecification.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, required: true, location_name: "enabled"))
|
|
2923
|
+
NluImprovementSpecification.add_member(:assisted_nlu_mode, Shapes::ShapeRef.new(shape: AssistedNluMode, location_name: "assistedNluMode"))
|
|
2922
2924
|
NluImprovementSpecification.struct_class = Types::NluImprovementSpecification
|
|
2923
2925
|
|
|
2924
2926
|
OSIncludeFields.member = Shapes::ShapeRef.new(shape: IncludeField)
|
|
@@ -11201,16 +11201,28 @@ module Aws::LexModelsV2
|
|
|
11201
11201
|
include Aws::Structure
|
|
11202
11202
|
end
|
|
11203
11203
|
|
|
11204
|
-
#
|
|
11204
|
+
# Configures the Assisted Natural Language Understanding (NLU) feature
|
|
11205
|
+
# for your bot. This specification determines whether enhanced intent
|
|
11206
|
+
# recognition and utterance understanding capabilities are active.
|
|
11205
11207
|
#
|
|
11206
11208
|
# @!attribute [rw] enabled
|
|
11207
|
-
#
|
|
11209
|
+
# Determines whether the Assisted NLU feature is enabled for the bot.
|
|
11210
|
+
# When set to `true`, Amazon Lex uses advanced models to improve
|
|
11211
|
+
# intent recognition and slot resolution, with the default being
|
|
11212
|
+
# `false`.
|
|
11208
11213
|
# @return [Boolean]
|
|
11209
11214
|
#
|
|
11215
|
+
# @!attribute [rw] assisted_nlu_mode
|
|
11216
|
+
# Specifies the mode for Assisted NLU operation. Use `Primary` to make
|
|
11217
|
+
# Assisted NLU the primary intent recognition method, or `Fallback` to
|
|
11218
|
+
# use it only when standard NLU confidence is low.
|
|
11219
|
+
# @return [String]
|
|
11220
|
+
#
|
|
11210
11221
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/NluImprovementSpecification AWS API Documentation
|
|
11211
11222
|
#
|
|
11212
11223
|
class NluImprovementSpecification < Struct.new(
|
|
11213
|
-
:enabled
|
|
11224
|
+
:enabled,
|
|
11225
|
+
:assisted_nlu_mode)
|
|
11214
11226
|
SENSITIVE = []
|
|
11215
11227
|
include Aws::Structure
|
|
11216
11228
|
end
|
|
@@ -11934,7 +11946,9 @@ module Aws::LexModelsV2
|
|
|
11934
11946
|
# @return [Types::SlotResolutionImprovementSpecification]
|
|
11935
11947
|
#
|
|
11936
11948
|
# @!attribute [rw] nlu_improvement
|
|
11937
|
-
# An object containing specifications for the
|
|
11949
|
+
# An object containing specifications for the Assisted NLU feature
|
|
11950
|
+
# within the bot's runtime settings. These settings determine how the
|
|
11951
|
+
# bot processes and interprets user utterances during conversations.
|
|
11938
11952
|
# @return [Types::NluImprovementSpecification]
|
|
11939
11953
|
#
|
|
11940
11954
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/RuntimeSettings AWS API Documentation
|
data/lib/aws-sdk-lexmodelsv2.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -307,7 +307,8 @@ module Aws
|
|
|
307
307
|
}?
|
|
308
308
|
}?,
|
|
309
309
|
nlu_improvement: {
|
|
310
|
-
enabled: bool
|
|
310
|
+
enabled: bool,
|
|
311
|
+
assisted_nlu_mode: ("Primary" | "Fallback")?
|
|
311
312
|
}?
|
|
312
313
|
}?,
|
|
313
314
|
buildtime_settings: {
|
|
@@ -7572,7 +7573,8 @@ module Aws
|
|
|
7572
7573
|
}?
|
|
7573
7574
|
}?,
|
|
7574
7575
|
nlu_improvement: {
|
|
7575
|
-
enabled: bool
|
|
7576
|
+
enabled: bool,
|
|
7577
|
+
assisted_nlu_mode: ("Primary" | "Fallback")?
|
|
7576
7578
|
}?
|
|
7577
7579
|
}?,
|
|
7578
7580
|
buildtime_settings: {
|
data/sig/types.rbs
CHANGED