aws-sdk-lexmodelsv2 1.73.0 → 1.74.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 +10 -1
- data/lib/aws-sdk-lexmodelsv2/client_api.rb +5 -0
- data/lib/aws-sdk-lexmodelsv2/types.rb +20 -1
- data/lib/aws-sdk-lexmodelsv2.rb +1 -1
- data/sig/client.rbs +6 -0
- data/sig/types.rbs +6 -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: 7cadee5bd776f1d98aa34037474fb9c2f75a5f74cf6e4ba6c88b57b634186c6d
|
4
|
+
data.tar.gz: d460da81878235280241a59e20c19bd4ae34fe5ff2a606313870de34f497f3c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47b80ff595f30184d0649592aa241c1b1f7019584806a6de5b5823d13fcd968975987fdd7d8ed8ea3fb2eb483e0be039a042a339dfbba60afda6e36902058ba2
|
7
|
+
data.tar.gz: 8e1f9b75aea78b662590169f2a6cab5ccd9b28170b312f862d8434218b2f719ee5b8a4a027001fb158f98f291d336787bc18dab806a2a7cabb4bb3f5d9e8391f
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.74.0
|
@@ -1110,6 +1110,9 @@ module Aws::LexModelsV2
|
|
1110
1110
|
# custom_prompt: "BedrockModelCustomPrompt",
|
1111
1111
|
# },
|
1112
1112
|
# },
|
1113
|
+
# nlu_improvement: {
|
1114
|
+
# enabled: false, # required
|
1115
|
+
# },
|
1113
1116
|
# },
|
1114
1117
|
# buildtime_settings: {
|
1115
1118
|
# descriptive_bot_builder: {
|
@@ -1158,6 +1161,7 @@ module Aws::LexModelsV2
|
|
1158
1161
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.guardrail.version #=> String
|
1159
1162
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.trace_status #=> String, one of "ENABLED", "DISABLED"
|
1160
1163
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.custom_prompt #=> String
|
1164
|
+
# resp.generative_ai_settings.runtime_settings.nlu_improvement.enabled #=> Boolean
|
1161
1165
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.enabled #=> Boolean
|
1162
1166
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.bedrock_model_specification.model_arn #=> String
|
1163
1167
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.bedrock_model_specification.guardrail.identifier #=> String
|
@@ -3609,6 +3613,7 @@ module Aws::LexModelsV2
|
|
3609
3613
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.guardrail.version #=> String
|
3610
3614
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.trace_status #=> String, one of "ENABLED", "DISABLED"
|
3611
3615
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.custom_prompt #=> String
|
3616
|
+
# resp.generative_ai_settings.runtime_settings.nlu_improvement.enabled #=> Boolean
|
3612
3617
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.enabled #=> Boolean
|
3613
3618
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.bedrock_model_specification.model_arn #=> String
|
3614
3619
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.bedrock_model_specification.guardrail.identifier #=> String
|
@@ -9138,6 +9143,9 @@ module Aws::LexModelsV2
|
|
9138
9143
|
# custom_prompt: "BedrockModelCustomPrompt",
|
9139
9144
|
# },
|
9140
9145
|
# },
|
9146
|
+
# nlu_improvement: {
|
9147
|
+
# enabled: false, # required
|
9148
|
+
# },
|
9141
9149
|
# },
|
9142
9150
|
# buildtime_settings: {
|
9143
9151
|
# descriptive_bot_builder: {
|
@@ -9191,6 +9199,7 @@ module Aws::LexModelsV2
|
|
9191
9199
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.guardrail.version #=> String
|
9192
9200
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.trace_status #=> String, one of "ENABLED", "DISABLED"
|
9193
9201
|
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.bedrock_model_specification.custom_prompt #=> String
|
9202
|
+
# resp.generative_ai_settings.runtime_settings.nlu_improvement.enabled #=> Boolean
|
9194
9203
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.enabled #=> Boolean
|
9195
9204
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.bedrock_model_specification.model_arn #=> String
|
9196
9205
|
# resp.generative_ai_settings.buildtime_settings.descriptive_bot_builder.bedrock_model_specification.guardrail.identifier #=> String
|
@@ -10554,7 +10563,7 @@ module Aws::LexModelsV2
|
|
10554
10563
|
tracer: tracer
|
10555
10564
|
)
|
10556
10565
|
context[:gem_name] = 'aws-sdk-lexmodelsv2'
|
10557
|
-
context[:gem_version] = '1.
|
10566
|
+
context[:gem_version] = '1.74.0'
|
10558
10567
|
Seahorse::Client::Request.new(handlers, context)
|
10559
10568
|
end
|
10560
10569
|
|
@@ -564,6 +564,7 @@ module Aws::LexModelsV2
|
|
564
564
|
NewCustomVocabularyItem = Shapes::StructureShape.new(name: 'NewCustomVocabularyItem')
|
565
565
|
NextIndex = Shapes::IntegerShape.new(name: 'NextIndex')
|
566
566
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
567
|
+
NluImprovementSpecification = Shapes::StructureShape.new(name: 'NluImprovementSpecification')
|
567
568
|
NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
|
568
569
|
NumericalBotVersion = Shapes::StringShape.new(name: 'NumericalBotVersion')
|
569
570
|
OSIncludeFields = Shapes::ListShape.new(name: 'OSIncludeFields')
|
@@ -2917,6 +2918,9 @@ module Aws::LexModelsV2
|
|
2917
2918
|
NewCustomVocabularyItem.add_member(:display_as, Shapes::ShapeRef.new(shape: Phrase, location_name: "displayAs"))
|
2918
2919
|
NewCustomVocabularyItem.struct_class = Types::NewCustomVocabularyItem
|
2919
2920
|
|
2921
|
+
NluImprovementSpecification.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, required: true, location_name: "enabled"))
|
2922
|
+
NluImprovementSpecification.struct_class = Types::NluImprovementSpecification
|
2923
|
+
|
2920
2924
|
OSIncludeFields.member = Shapes::ShapeRef.new(shape: IncludeField)
|
2921
2925
|
|
2922
2926
|
ObfuscationSetting.add_member(:obfuscation_setting_type, Shapes::ShapeRef.new(shape: ObfuscationSettingType, required: true, location_name: "obfuscationSettingType"))
|
@@ -3059,6 +3063,7 @@ module Aws::LexModelsV2
|
|
3059
3063
|
RuntimeHints.struct_class = Types::RuntimeHints
|
3060
3064
|
|
3061
3065
|
RuntimeSettings.add_member(:slot_resolution_improvement, Shapes::ShapeRef.new(shape: SlotResolutionImprovementSpecification, location_name: "slotResolutionImprovement"))
|
3066
|
+
RuntimeSettings.add_member(:nlu_improvement, Shapes::ShapeRef.new(shape: NluImprovementSpecification, location_name: "nluImprovement"))
|
3062
3067
|
RuntimeSettings.struct_class = Types::RuntimeSettings
|
3063
3068
|
|
3064
3069
|
S3BucketLogDestination.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
|
@@ -11201,6 +11201,20 @@ module Aws::LexModelsV2
|
|
11201
11201
|
include Aws::Structure
|
11202
11202
|
end
|
11203
11203
|
|
11204
|
+
# Specifies whether the assisted nlu feature is turned on or off.
|
11205
|
+
#
|
11206
|
+
# @!attribute [rw] enabled
|
11207
|
+
# Specifies whether the assisted nlu feature is enabled.
|
11208
|
+
# @return [Boolean]
|
11209
|
+
#
|
11210
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/NluImprovementSpecification AWS API Documentation
|
11211
|
+
#
|
11212
|
+
class NluImprovementSpecification < Struct.new(
|
11213
|
+
:enabled)
|
11214
|
+
SENSITIVE = []
|
11215
|
+
include Aws::Structure
|
11216
|
+
end
|
11217
|
+
|
11204
11218
|
# Determines whether Amazon Lex obscures slot values in conversation
|
11205
11219
|
# logs.
|
11206
11220
|
#
|
@@ -11919,10 +11933,15 @@ module Aws::LexModelsV2
|
|
11919
11933
|
# feature.
|
11920
11934
|
# @return [Types::SlotResolutionImprovementSpecification]
|
11921
11935
|
#
|
11936
|
+
# @!attribute [rw] nlu_improvement
|
11937
|
+
# An object containing specifications for the assisted nlu feature.
|
11938
|
+
# @return [Types::NluImprovementSpecification]
|
11939
|
+
#
|
11922
11940
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/RuntimeSettings AWS API Documentation
|
11923
11941
|
#
|
11924
11942
|
class RuntimeSettings < Struct.new(
|
11925
|
-
:slot_resolution_improvement
|
11943
|
+
:slot_resolution_improvement,
|
11944
|
+
:nlu_improvement)
|
11926
11945
|
SENSITIVE = []
|
11927
11946
|
include Aws::Structure
|
11928
11947
|
end
|
data/lib/aws-sdk-lexmodelsv2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -304,6 +304,9 @@ module Aws
|
|
304
304
|
trace_status: ("ENABLED" | "DISABLED")?,
|
305
305
|
custom_prompt: ::String?
|
306
306
|
}?
|
307
|
+
}?,
|
308
|
+
nlu_improvement: {
|
309
|
+
enabled: bool
|
307
310
|
}?
|
308
311
|
}?,
|
309
312
|
buildtime_settings: {
|
@@ -7566,6 +7569,9 @@ module Aws
|
|
7566
7569
|
trace_status: ("ENABLED" | "DISABLED")?,
|
7567
7570
|
custom_prompt: ::String?
|
7568
7571
|
}?
|
7572
|
+
}?,
|
7573
|
+
nlu_improvement: {
|
7574
|
+
enabled: bool
|
7569
7575
|
}?
|
7570
7576
|
}?,
|
7571
7577
|
buildtime_settings: {
|
data/sig/types.rbs
CHANGED
@@ -2566,6 +2566,11 @@ module Aws::LexModelsV2
|
|
2566
2566
|
SENSITIVE: []
|
2567
2567
|
end
|
2568
2568
|
|
2569
|
+
class NluImprovementSpecification
|
2570
|
+
attr_accessor enabled: bool
|
2571
|
+
SENSITIVE: []
|
2572
|
+
end
|
2573
|
+
|
2569
2574
|
class ObfuscationSetting
|
2570
2575
|
attr_accessor obfuscation_setting_type: ("None" | "DefaultObfuscation")
|
2571
2576
|
SENSITIVE: []
|
@@ -2736,6 +2741,7 @@ module Aws::LexModelsV2
|
|
2736
2741
|
|
2737
2742
|
class RuntimeSettings
|
2738
2743
|
attr_accessor slot_resolution_improvement: Types::SlotResolutionImprovementSpecification
|
2744
|
+
attr_accessor nlu_improvement: Types::NluImprovementSpecification
|
2739
2745
|
SENSITIVE: []
|
2740
2746
|
end
|
2741
2747
|
|