aws-sdk-lexmodelsv2 1.44.0 → 1.45.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 +337 -8
- data/lib/aws-sdk-lexmodelsv2/client_api.rb +194 -0
- data/lib/aws-sdk-lexmodelsv2/endpoints.rb +56 -0
- data/lib/aws-sdk-lexmodelsv2/plugins/endpoints.rb +8 -0
- data/lib/aws-sdk-lexmodelsv2/types.rb +562 -6
- data/lib/aws-sdk-lexmodelsv2.rb +1 -1
- metadata +2 -2
@@ -1836,6 +1836,21 @@ module Aws::LexModelsV2
|
|
1836
1836
|
include Aws::Structure
|
1837
1837
|
end
|
1838
1838
|
|
1839
|
+
# Contains information about the Amazon Bedrock model used to interpret
|
1840
|
+
# the prompt used in descriptive bot building.
|
1841
|
+
#
|
1842
|
+
# @!attribute [rw] model_arn
|
1843
|
+
# The ARN of the foundation model used in descriptive bot building.
|
1844
|
+
# @return [String]
|
1845
|
+
#
|
1846
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BedrockModelSpecification AWS API Documentation
|
1847
|
+
#
|
1848
|
+
class BedrockModelSpecification < Struct.new(
|
1849
|
+
:model_arn)
|
1850
|
+
SENSITIVE = []
|
1851
|
+
include Aws::Structure
|
1852
|
+
end
|
1853
|
+
|
1839
1854
|
# Provides a record of an event that affects a bot alias. For example,
|
1840
1855
|
# when the version of a bot that the alias points to changes.
|
1841
1856
|
#
|
@@ -2603,6 +2618,27 @@ module Aws::LexModelsV2
|
|
2603
2618
|
include Aws::Structure
|
2604
2619
|
end
|
2605
2620
|
|
2621
|
+
# Contains specifications about the Amazon Lex build time generative AI
|
2622
|
+
# capabilities from Amazon Bedrock that you can turn on for your bot.
|
2623
|
+
#
|
2624
|
+
# @!attribute [rw] descriptive_bot_builder
|
2625
|
+
# An object containing specifications for the descriptive bot building
|
2626
|
+
# feature.
|
2627
|
+
# @return [Types::DescriptiveBotBuilderSpecification]
|
2628
|
+
#
|
2629
|
+
# @!attribute [rw] sample_utterance_generation
|
2630
|
+
# Contains specifications for the sample utterance generation feature.
|
2631
|
+
# @return [Types::SampleUtteranceGenerationSpecification]
|
2632
|
+
#
|
2633
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BuildtimeSettings AWS API Documentation
|
2634
|
+
#
|
2635
|
+
class BuildtimeSettings < Struct.new(
|
2636
|
+
:descriptive_bot_builder,
|
2637
|
+
:sample_utterance_generation)
|
2638
|
+
SENSITIVE = []
|
2639
|
+
include Aws::Structure
|
2640
|
+
end
|
2641
|
+
|
2606
2642
|
# Specifies attributes for sorting a list of built-in intents.
|
2607
2643
|
#
|
2608
2644
|
# @!attribute [rw] attribute
|
@@ -3251,6 +3287,11 @@ module Aws::LexModelsV2
|
|
3251
3287
|
# with the user.
|
3252
3288
|
# @return [Types::VoiceSettings]
|
3253
3289
|
#
|
3290
|
+
# @!attribute [rw] generative_ai_settings
|
3291
|
+
# Contains specifications about the generative AI capabilities from
|
3292
|
+
# Amazon Bedrock that you can turn on for your bot.
|
3293
|
+
# @return [Types::GenerativeAISettings]
|
3294
|
+
#
|
3254
3295
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotLocaleRequest AWS API Documentation
|
3255
3296
|
#
|
3256
3297
|
class CreateBotLocaleRequest < Struct.new(
|
@@ -3259,7 +3300,8 @@ module Aws::LexModelsV2
|
|
3259
3300
|
:locale_id,
|
3260
3301
|
:description,
|
3261
3302
|
:nlu_intent_confidence_threshold,
|
3262
|
-
:voice_settings
|
3303
|
+
:voice_settings,
|
3304
|
+
:generative_ai_settings)
|
3263
3305
|
SENSITIVE = []
|
3264
3306
|
include Aws::Structure
|
3265
3307
|
end
|
@@ -3315,6 +3357,11 @@ module Aws::LexModelsV2
|
|
3315
3357
|
# created.
|
3316
3358
|
# @return [Time]
|
3317
3359
|
#
|
3360
|
+
# @!attribute [rw] generative_ai_settings
|
3361
|
+
# Contains specifications about the generative AI capabilities from
|
3362
|
+
# Amazon Bedrock that you can turn on for your bot.
|
3363
|
+
# @return [Types::GenerativeAISettings]
|
3364
|
+
#
|
3318
3365
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotLocaleResponse AWS API Documentation
|
3319
3366
|
#
|
3320
3367
|
class CreateBotLocaleResponse < Struct.new(
|
@@ -3326,7 +3373,8 @@ module Aws::LexModelsV2
|
|
3326
3373
|
:nlu_intent_confidence_threshold,
|
3327
3374
|
:voice_settings,
|
3328
3375
|
:bot_locale_status,
|
3329
|
-
:creation_date_time
|
3376
|
+
:creation_date_time,
|
3377
|
+
:generative_ai_settings)
|
3330
3378
|
SENSITIVE = []
|
3331
3379
|
include Aws::Structure
|
3332
3380
|
end
|
@@ -5383,6 +5431,11 @@ module Aws::LexModelsV2
|
|
5383
5431
|
# `failureReasons` field.
|
5384
5432
|
# @return [Array<String>]
|
5385
5433
|
#
|
5434
|
+
# @!attribute [rw] generative_ai_settings
|
5435
|
+
# Contains settings for Amazon Bedrock's generative AI features for
|
5436
|
+
# your bot locale.
|
5437
|
+
# @return [Types::GenerativeAISettings]
|
5438
|
+
#
|
5386
5439
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotLocaleResponse AWS API Documentation
|
5387
5440
|
#
|
5388
5441
|
class DescribeBotLocaleResponse < Struct.new(
|
@@ -5401,7 +5454,8 @@ module Aws::LexModelsV2
|
|
5401
5454
|
:last_updated_date_time,
|
5402
5455
|
:last_build_submitted_date_time,
|
5403
5456
|
:bot_locale_history_events,
|
5404
|
-
:recommended_actions
|
5457
|
+
:recommended_actions,
|
5458
|
+
:generative_ai_settings)
|
5405
5459
|
SENSITIVE = []
|
5406
5460
|
include Aws::Structure
|
5407
5461
|
end
|
@@ -5521,6 +5575,99 @@ module Aws::LexModelsV2
|
|
5521
5575
|
include Aws::Structure
|
5522
5576
|
end
|
5523
5577
|
|
5578
|
+
# @!attribute [rw] bot_id
|
5579
|
+
# The unique identifier of the bot for which to return the generation
|
5580
|
+
# details.
|
5581
|
+
# @return [String]
|
5582
|
+
#
|
5583
|
+
# @!attribute [rw] bot_version
|
5584
|
+
# The version of the bot for which to return the generation details.
|
5585
|
+
# @return [String]
|
5586
|
+
#
|
5587
|
+
# @!attribute [rw] locale_id
|
5588
|
+
# The locale of the bot for which to return the generation details.
|
5589
|
+
# @return [String]
|
5590
|
+
#
|
5591
|
+
# @!attribute [rw] generation_id
|
5592
|
+
# The unique identifier of the generation request for which to return
|
5593
|
+
# the generation details.
|
5594
|
+
# @return [String]
|
5595
|
+
#
|
5596
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotResourceGenerationRequest AWS API Documentation
|
5597
|
+
#
|
5598
|
+
class DescribeBotResourceGenerationRequest < Struct.new(
|
5599
|
+
:bot_id,
|
5600
|
+
:bot_version,
|
5601
|
+
:locale_id,
|
5602
|
+
:generation_id)
|
5603
|
+
SENSITIVE = []
|
5604
|
+
include Aws::Structure
|
5605
|
+
end
|
5606
|
+
|
5607
|
+
# @!attribute [rw] bot_id
|
5608
|
+
# The unique identifier of the bot for which the generation request
|
5609
|
+
# was made.
|
5610
|
+
# @return [String]
|
5611
|
+
#
|
5612
|
+
# @!attribute [rw] bot_version
|
5613
|
+
# The version of the bot for which the generation request was made.
|
5614
|
+
# @return [String]
|
5615
|
+
#
|
5616
|
+
# @!attribute [rw] locale_id
|
5617
|
+
# The locale of the bot for which the generation request was made.
|
5618
|
+
# @return [String]
|
5619
|
+
#
|
5620
|
+
# @!attribute [rw] generation_id
|
5621
|
+
# The generation ID for which to return the generation details.
|
5622
|
+
# @return [String]
|
5623
|
+
#
|
5624
|
+
# @!attribute [rw] failure_reasons
|
5625
|
+
# A list of reasons why the generation of bot resources through
|
5626
|
+
# natural language description failed.
|
5627
|
+
# @return [Array<String>]
|
5628
|
+
#
|
5629
|
+
# @!attribute [rw] generation_status
|
5630
|
+
# The status of the generation request.
|
5631
|
+
# @return [String]
|
5632
|
+
#
|
5633
|
+
# @!attribute [rw] generation_input_prompt
|
5634
|
+
# The prompt used in the generation request.
|
5635
|
+
# @return [String]
|
5636
|
+
#
|
5637
|
+
# @!attribute [rw] generated_bot_locale_url
|
5638
|
+
# The Amazon S3 location of the generated bot locale configuration.
|
5639
|
+
# @return [String]
|
5640
|
+
#
|
5641
|
+
# @!attribute [rw] creation_date_time
|
5642
|
+
# The date and time at which the item was generated.
|
5643
|
+
# @return [Time]
|
5644
|
+
#
|
5645
|
+
# @!attribute [rw] model_arn
|
5646
|
+
# The ARN of the model used to generate the bot resources.
|
5647
|
+
# @return [String]
|
5648
|
+
#
|
5649
|
+
# @!attribute [rw] last_updated_date_time
|
5650
|
+
# The date and time at which the generated item was updated.
|
5651
|
+
# @return [Time]
|
5652
|
+
#
|
5653
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotResourceGenerationResponse AWS API Documentation
|
5654
|
+
#
|
5655
|
+
class DescribeBotResourceGenerationResponse < Struct.new(
|
5656
|
+
:bot_id,
|
5657
|
+
:bot_version,
|
5658
|
+
:locale_id,
|
5659
|
+
:generation_id,
|
5660
|
+
:failure_reasons,
|
5661
|
+
:generation_status,
|
5662
|
+
:generation_input_prompt,
|
5663
|
+
:generated_bot_locale_url,
|
5664
|
+
:creation_date_time,
|
5665
|
+
:model_arn,
|
5666
|
+
:last_updated_date_time)
|
5667
|
+
SENSITIVE = []
|
5668
|
+
include Aws::Structure
|
5669
|
+
end
|
5670
|
+
|
5524
5671
|
# @!attribute [rw] bot_id
|
5525
5672
|
# The unique identifier of the bot.
|
5526
5673
|
# @return [String]
|
@@ -6591,6 +6738,27 @@ module Aws::LexModelsV2
|
|
6591
6738
|
include Aws::Structure
|
6592
6739
|
end
|
6593
6740
|
|
6741
|
+
# Contains specifications for the descriptive bot building feature.
|
6742
|
+
#
|
6743
|
+
# @!attribute [rw] enabled
|
6744
|
+
# Specifies whether the descriptive bot building feature is activated
|
6745
|
+
# or not.
|
6746
|
+
# @return [Boolean]
|
6747
|
+
#
|
6748
|
+
# @!attribute [rw] bedrock_model_specification
|
6749
|
+
# An object containing information about the Amazon Bedrock model used
|
6750
|
+
# to interpret the prompt used in descriptive bot building.
|
6751
|
+
# @return [Types::BedrockModelSpecification]
|
6752
|
+
#
|
6753
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescriptiveBotBuilderSpecification AWS API Documentation
|
6754
|
+
#
|
6755
|
+
class DescriptiveBotBuilderSpecification < Struct.new(
|
6756
|
+
:enabled,
|
6757
|
+
:bedrock_model_specification)
|
6758
|
+
SENSITIVE = []
|
6759
|
+
include Aws::Structure
|
6760
|
+
end
|
6761
|
+
|
6594
6762
|
# Defines the action that the bot executes at runtime when the
|
6595
6763
|
# conversation reaches this step.
|
6596
6764
|
#
|
@@ -7060,6 +7228,145 @@ module Aws::LexModelsV2
|
|
7060
7228
|
include Aws::Structure
|
7061
7229
|
end
|
7062
7230
|
|
7231
|
+
# @!attribute [rw] intent_id
|
7232
|
+
# The intent unique Id for the bot request to generate utterances.
|
7233
|
+
# @return [String]
|
7234
|
+
#
|
7235
|
+
# @!attribute [rw] bot_id
|
7236
|
+
# The bot unique Id for the bot request to generate utterances.
|
7237
|
+
# @return [String]
|
7238
|
+
#
|
7239
|
+
# @!attribute [rw] bot_version
|
7240
|
+
# The bot version for the bot request to generate utterances.
|
7241
|
+
# @return [String]
|
7242
|
+
#
|
7243
|
+
# @!attribute [rw] locale_id
|
7244
|
+
# The unique locale Id for the bot request to generate utterances.
|
7245
|
+
# @return [String]
|
7246
|
+
#
|
7247
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/GenerateBotElementRequest AWS API Documentation
|
7248
|
+
#
|
7249
|
+
class GenerateBotElementRequest < Struct.new(
|
7250
|
+
:intent_id,
|
7251
|
+
:bot_id,
|
7252
|
+
:bot_version,
|
7253
|
+
:locale_id)
|
7254
|
+
SENSITIVE = []
|
7255
|
+
include Aws::Structure
|
7256
|
+
end
|
7257
|
+
|
7258
|
+
# @!attribute [rw] bot_id
|
7259
|
+
# The unique bot Id for the bot which received the response.
|
7260
|
+
# @return [String]
|
7261
|
+
#
|
7262
|
+
# @!attribute [rw] bot_version
|
7263
|
+
# The unique bot version for the bot which received the response.
|
7264
|
+
# @return [String]
|
7265
|
+
#
|
7266
|
+
# @!attribute [rw] locale_id
|
7267
|
+
# The unique locale Id for the bot which received the response.
|
7268
|
+
# @return [String]
|
7269
|
+
#
|
7270
|
+
# @!attribute [rw] intent_id
|
7271
|
+
# The unique intent Id for the bot which received the response.
|
7272
|
+
# @return [String]
|
7273
|
+
#
|
7274
|
+
# @!attribute [rw] sample_utterances
|
7275
|
+
# The sample utterances for the bot which received the response.
|
7276
|
+
# @return [Array<Types::SampleUtterance>]
|
7277
|
+
#
|
7278
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/GenerateBotElementResponse AWS API Documentation
|
7279
|
+
#
|
7280
|
+
class GenerateBotElementResponse < Struct.new(
|
7281
|
+
:bot_id,
|
7282
|
+
:bot_version,
|
7283
|
+
:locale_id,
|
7284
|
+
:intent_id,
|
7285
|
+
:sample_utterances)
|
7286
|
+
SENSITIVE = []
|
7287
|
+
include Aws::Structure
|
7288
|
+
end
|
7289
|
+
|
7290
|
+
# Specifies the attribute and method by which to sort the generation
|
7291
|
+
# request information.
|
7292
|
+
#
|
7293
|
+
# @!attribute [rw] attribute
|
7294
|
+
# The attribute by which to sort the generation request information.
|
7295
|
+
# You can sort by the following attributes.
|
7296
|
+
#
|
7297
|
+
# * `creationStartTime` – The time at which the generation request was
|
7298
|
+
# created.
|
7299
|
+
#
|
7300
|
+
# * `lastUpdatedTime` – The time at which the generation request was
|
7301
|
+
# last updated.
|
7302
|
+
# @return [String]
|
7303
|
+
#
|
7304
|
+
# @!attribute [rw] order
|
7305
|
+
# The order by which to sort the generation request information.
|
7306
|
+
# @return [String]
|
7307
|
+
#
|
7308
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/GenerationSortBy AWS API Documentation
|
7309
|
+
#
|
7310
|
+
class GenerationSortBy < Struct.new(
|
7311
|
+
:attribute,
|
7312
|
+
:order)
|
7313
|
+
SENSITIVE = []
|
7314
|
+
include Aws::Structure
|
7315
|
+
end
|
7316
|
+
|
7317
|
+
# Contains information about a generation request made for the bot
|
7318
|
+
# locale.
|
7319
|
+
#
|
7320
|
+
# @!attribute [rw] generation_id
|
7321
|
+
# The unique identifier of the generation request.
|
7322
|
+
# @return [String]
|
7323
|
+
#
|
7324
|
+
# @!attribute [rw] generation_status
|
7325
|
+
# The status of the generation request.
|
7326
|
+
# @return [String]
|
7327
|
+
#
|
7328
|
+
# @!attribute [rw] creation_date_time
|
7329
|
+
# The date and time at which the generation request was made.
|
7330
|
+
# @return [Time]
|
7331
|
+
#
|
7332
|
+
# @!attribute [rw] last_updated_date_time
|
7333
|
+
# The date and time at which the generation request was last updated.
|
7334
|
+
# @return [Time]
|
7335
|
+
#
|
7336
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/GenerationSummary AWS API Documentation
|
7337
|
+
#
|
7338
|
+
class GenerationSummary < Struct.new(
|
7339
|
+
:generation_id,
|
7340
|
+
:generation_status,
|
7341
|
+
:creation_date_time,
|
7342
|
+
:last_updated_date_time)
|
7343
|
+
SENSITIVE = []
|
7344
|
+
include Aws::Structure
|
7345
|
+
end
|
7346
|
+
|
7347
|
+
# Contains specifications about the generative AI capabilities from
|
7348
|
+
# Amazon Bedrock that you can turn on for your bot.
|
7349
|
+
#
|
7350
|
+
# @!attribute [rw] runtime_settings
|
7351
|
+
# Contains specifications about the Amazon Lex runtime generative AI
|
7352
|
+
# capabilities from Amazon Bedrock that you can turn on for your bot.
|
7353
|
+
# @return [Types::RuntimeSettings]
|
7354
|
+
#
|
7355
|
+
# @!attribute [rw] buildtime_settings
|
7356
|
+
# Contains specifications about the Amazon Lex build time generative
|
7357
|
+
# AI capabilities from Amazon Bedrock that you can turn on for your
|
7358
|
+
# bot.
|
7359
|
+
# @return [Types::BuildtimeSettings]
|
7360
|
+
#
|
7361
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/GenerativeAISettings AWS API Documentation
|
7362
|
+
#
|
7363
|
+
class GenerativeAISettings < Struct.new(
|
7364
|
+
:runtime_settings,
|
7365
|
+
:buildtime_settings)
|
7366
|
+
SENSITIVE = []
|
7367
|
+
include Aws::Structure
|
7368
|
+
end
|
7369
|
+
|
7063
7370
|
# @!attribute [rw] test_execution_id
|
7064
7371
|
# The unique identifier of the completed test execution.
|
7065
7372
|
# @return [String]
|
@@ -8222,6 +8529,85 @@ module Aws::LexModelsV2
|
|
8222
8529
|
include Aws::Structure
|
8223
8530
|
end
|
8224
8531
|
|
8532
|
+
# @!attribute [rw] bot_id
|
8533
|
+
# The unique identifier of the bot whose generation requests you want
|
8534
|
+
# to view.
|
8535
|
+
# @return [String]
|
8536
|
+
#
|
8537
|
+
# @!attribute [rw] bot_version
|
8538
|
+
# The version of the bot whose generation requests you want to view.
|
8539
|
+
# @return [String]
|
8540
|
+
#
|
8541
|
+
# @!attribute [rw] locale_id
|
8542
|
+
# The locale of the bot whose generation requests you want to view.
|
8543
|
+
# @return [String]
|
8544
|
+
#
|
8545
|
+
# @!attribute [rw] sort_by
|
8546
|
+
# An object containing information about the attribute and the method
|
8547
|
+
# by which to sort the results
|
8548
|
+
# @return [Types::GenerationSortBy]
|
8549
|
+
#
|
8550
|
+
# @!attribute [rw] max_results
|
8551
|
+
# The maximum number of results to return in the response.
|
8552
|
+
# @return [Integer]
|
8553
|
+
#
|
8554
|
+
# @!attribute [rw] next_token
|
8555
|
+
# If the total number of results is greater than the number specified
|
8556
|
+
# in the `maxResults`, the response returns a token in the `nextToken`
|
8557
|
+
# field. Use this token when making a request to return the next batch
|
8558
|
+
# of results.
|
8559
|
+
# @return [String]
|
8560
|
+
#
|
8561
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotResourceGenerationsRequest AWS API Documentation
|
8562
|
+
#
|
8563
|
+
class ListBotResourceGenerationsRequest < Struct.new(
|
8564
|
+
:bot_id,
|
8565
|
+
:bot_version,
|
8566
|
+
:locale_id,
|
8567
|
+
:sort_by,
|
8568
|
+
:max_results,
|
8569
|
+
:next_token)
|
8570
|
+
SENSITIVE = []
|
8571
|
+
include Aws::Structure
|
8572
|
+
end
|
8573
|
+
|
8574
|
+
# @!attribute [rw] bot_id
|
8575
|
+
# The unique identifier of the bot for which the generation requests
|
8576
|
+
# were made.
|
8577
|
+
# @return [String]
|
8578
|
+
#
|
8579
|
+
# @!attribute [rw] bot_version
|
8580
|
+
# The version of the bot for which the generation requests were made.
|
8581
|
+
# @return [String]
|
8582
|
+
#
|
8583
|
+
# @!attribute [rw] locale_id
|
8584
|
+
# The locale of the bot for which the generation requests were made.
|
8585
|
+
# @return [String]
|
8586
|
+
#
|
8587
|
+
# @!attribute [rw] generation_summaries
|
8588
|
+
# A list of objects, each containing information about a generation
|
8589
|
+
# request for the bot locale.
|
8590
|
+
# @return [Array<Types::GenerationSummary>]
|
8591
|
+
#
|
8592
|
+
# @!attribute [rw] next_token
|
8593
|
+
# If the total number of results is greater than the number specified
|
8594
|
+
# in the `maxResults`, the response returns a token in the `nextToken`
|
8595
|
+
# field. Use this token when making a request to return the next batch
|
8596
|
+
# of results.
|
8597
|
+
# @return [String]
|
8598
|
+
#
|
8599
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotResourceGenerationsResponse AWS API Documentation
|
8600
|
+
#
|
8601
|
+
class ListBotResourceGenerationsResponse < Struct.new(
|
8602
|
+
:bot_id,
|
8603
|
+
:bot_version,
|
8604
|
+
:locale_id,
|
8605
|
+
:generation_summaries,
|
8606
|
+
:next_token)
|
8607
|
+
SENSITIVE = []
|
8608
|
+
include Aws::Structure
|
8609
|
+
end
|
8610
|
+
|
8225
8611
|
# @!attribute [rw] bot_id
|
8226
8612
|
# The identifier of the bot to list versions for.
|
8227
8613
|
# @return [String]
|
@@ -10723,6 +11109,22 @@ module Aws::LexModelsV2
|
|
10723
11109
|
include Aws::Structure
|
10724
11110
|
end
|
10725
11111
|
|
11112
|
+
# Contains specifications about the Amazon Lex runtime generative AI
|
11113
|
+
# capabilities from Amazon Bedrock that you can turn on for your bot.
|
11114
|
+
#
|
11115
|
+
# @!attribute [rw] slot_resolution_improvement
|
11116
|
+
# An object containing specifications for the assisted slot resolution
|
11117
|
+
# feature.
|
11118
|
+
# @return [Types::SlotResolutionImprovementSpecification]
|
11119
|
+
#
|
11120
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/RuntimeSettings AWS API Documentation
|
11121
|
+
#
|
11122
|
+
class RuntimeSettings < Struct.new(
|
11123
|
+
:slot_resolution_improvement)
|
11124
|
+
SENSITIVE = []
|
11125
|
+
include Aws::Structure
|
11126
|
+
end
|
11127
|
+
|
10726
11128
|
# Specifies an Amazon S3 bucket for logging audio conversations
|
10727
11129
|
#
|
10728
11130
|
# @!attribute [rw] kms_key_arn
|
@@ -10825,6 +11227,26 @@ module Aws::LexModelsV2
|
|
10825
11227
|
include Aws::Structure
|
10826
11228
|
end
|
10827
11229
|
|
11230
|
+
# Contains specifications for the sample utterance generation feature.
|
11231
|
+
#
|
11232
|
+
# @!attribute [rw] enabled
|
11233
|
+
# Specifies whether to enable sample utterance generation or not.
|
11234
|
+
# @return [Boolean]
|
11235
|
+
#
|
11236
|
+
# @!attribute [rw] bedrock_model_specification
|
11237
|
+
# Contains information about the Amazon Bedrock model used to
|
11238
|
+
# interpret the prompt used in descriptive bot building.
|
11239
|
+
# @return [Types::BedrockModelSpecification]
|
11240
|
+
#
|
11241
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SampleUtteranceGenerationSpecification AWS API Documentation
|
11242
|
+
#
|
11243
|
+
class SampleUtteranceGenerationSpecification < Struct.new(
|
11244
|
+
:enabled,
|
11245
|
+
:bedrock_model_specification)
|
11246
|
+
SENSITIVE = []
|
11247
|
+
include Aws::Structure
|
11248
|
+
end
|
11249
|
+
|
10828
11250
|
# Defines one of the values for a slot type.
|
10829
11251
|
#
|
10830
11252
|
# @!attribute [rw] value
|
@@ -11244,6 +11666,45 @@ module Aws::LexModelsV2
|
|
11244
11666
|
include Aws::Structure
|
11245
11667
|
end
|
11246
11668
|
|
11669
|
+
# Contains specifications for the assisted slot resolution feature.
|
11670
|
+
#
|
11671
|
+
# @!attribute [rw] enabled
|
11672
|
+
# Specifies whether assisted slot resolution is turned on or off.
|
11673
|
+
# @return [Boolean]
|
11674
|
+
#
|
11675
|
+
# @!attribute [rw] bedrock_model_specification
|
11676
|
+
# An object containing information about the Amazon Bedrock model used
|
11677
|
+
# to assist slot resolution.
|
11678
|
+
# @return [Types::BedrockModelSpecification]
|
11679
|
+
#
|
11680
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SlotResolutionImprovementSpecification AWS API Documentation
|
11681
|
+
#
|
11682
|
+
class SlotResolutionImprovementSpecification < Struct.new(
|
11683
|
+
:enabled,
|
11684
|
+
:bedrock_model_specification)
|
11685
|
+
SENSITIVE = []
|
11686
|
+
include Aws::Structure
|
11687
|
+
end
|
11688
|
+
|
11689
|
+
# Contains information about whether assisted slot resolution is turned
|
11690
|
+
# on for the slot or not.
|
11691
|
+
#
|
11692
|
+
# @!attribute [rw] slot_resolution_strategy
|
11693
|
+
# Specifies whether assisted slot resolution is turned on for the slot
|
11694
|
+
# or not. If the value is `EnhancedFallback`, assisted slot resolution
|
11695
|
+
# is activated when Amazon Lex defaults to the
|
11696
|
+
# `AMAZON.FallbackIntent`. If the value is `Default`, assisted slot
|
11697
|
+
# resolution is turned off.
|
11698
|
+
# @return [String]
|
11699
|
+
#
|
11700
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SlotResolutionSetting AWS API Documentation
|
11701
|
+
#
|
11702
|
+
class SlotResolutionSetting < Struct.new(
|
11703
|
+
:slot_resolution_strategy)
|
11704
|
+
SENSITIVE = []
|
11705
|
+
include Aws::Structure
|
11706
|
+
end
|
11707
|
+
|
11247
11708
|
# Information about the success and failure rate of slot resolution in
|
11248
11709
|
# the results of a test execution.
|
11249
11710
|
#
|
@@ -11549,6 +12010,11 @@ module Aws::LexModelsV2
|
|
11549
12010
|
# successfully entered by a user.
|
11550
12011
|
# @return [Types::SlotCaptureSetting]
|
11551
12012
|
#
|
12013
|
+
# @!attribute [rw] slot_resolution_setting
|
12014
|
+
# An object containing information about whether assisted slot
|
12015
|
+
# resolution is turned on for the slot or not.
|
12016
|
+
# @return [Types::SlotResolutionSetting]
|
12017
|
+
#
|
11552
12018
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SlotValueElicitationSetting AWS API Documentation
|
11553
12019
|
#
|
11554
12020
|
class SlotValueElicitationSetting < Struct.new(
|
@@ -11557,7 +12023,8 @@ module Aws::LexModelsV2
|
|
11557
12023
|
:prompt_specification,
|
11558
12024
|
:sample_utterances,
|
11559
12025
|
:wait_and_continue_specification,
|
11560
|
-
:slot_capture_setting
|
12026
|
+
:slot_capture_setting,
|
12027
|
+
:slot_resolution_setting)
|
11561
12028
|
SENSITIVE = []
|
11562
12029
|
include Aws::Structure
|
11563
12030
|
end
|
@@ -11782,6 +12249,81 @@ module Aws::LexModelsV2
|
|
11782
12249
|
include Aws::Structure
|
11783
12250
|
end
|
11784
12251
|
|
12252
|
+
# @!attribute [rw] generation_input_prompt
|
12253
|
+
# The prompt to generate intents and slot types for the bot locale.
|
12254
|
+
# Your description should be both *detailed* and *precise* to help
|
12255
|
+
# generate appropriate and sufficient intents for your bot. Include a
|
12256
|
+
# list of actions to improve the intent creation process.
|
12257
|
+
# @return [String]
|
12258
|
+
#
|
12259
|
+
# @!attribute [rw] bot_id
|
12260
|
+
# The unique identifier of the bot for which to generate intents and
|
12261
|
+
# slot types.
|
12262
|
+
# @return [String]
|
12263
|
+
#
|
12264
|
+
# @!attribute [rw] bot_version
|
12265
|
+
# The version of the bot for which to generate intents and slot types.
|
12266
|
+
# @return [String]
|
12267
|
+
#
|
12268
|
+
# @!attribute [rw] locale_id
|
12269
|
+
# The locale of the bot for which to generate intents and slot types.
|
12270
|
+
# @return [String]
|
12271
|
+
#
|
12272
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StartBotResourceGenerationRequest AWS API Documentation
|
12273
|
+
#
|
12274
|
+
class StartBotResourceGenerationRequest < Struct.new(
|
12275
|
+
:generation_input_prompt,
|
12276
|
+
:bot_id,
|
12277
|
+
:bot_version,
|
12278
|
+
:locale_id)
|
12279
|
+
SENSITIVE = []
|
12280
|
+
include Aws::Structure
|
12281
|
+
end
|
12282
|
+
|
12283
|
+
# @!attribute [rw] generation_input_prompt
|
12284
|
+
# The prompt that was used generate intents and slot types for the bot
|
12285
|
+
# locale.
|
12286
|
+
# @return [String]
|
12287
|
+
#
|
12288
|
+
# @!attribute [rw] generation_id
|
12289
|
+
# The unique identifier of the generation request.
|
12290
|
+
# @return [String]
|
12291
|
+
#
|
12292
|
+
# @!attribute [rw] bot_id
|
12293
|
+
# The unique identifier of the bot for which the generation request
|
12294
|
+
# was made.
|
12295
|
+
# @return [String]
|
12296
|
+
#
|
12297
|
+
# @!attribute [rw] bot_version
|
12298
|
+
# The version of the bot for which the generation request was made.
|
12299
|
+
# @return [String]
|
12300
|
+
#
|
12301
|
+
# @!attribute [rw] locale_id
|
12302
|
+
# The locale of the bot for which the generation request was made.
|
12303
|
+
# @return [String]
|
12304
|
+
#
|
12305
|
+
# @!attribute [rw] generation_status
|
12306
|
+
# The status of the generation request.
|
12307
|
+
# @return [String]
|
12308
|
+
#
|
12309
|
+
# @!attribute [rw] creation_date_time
|
12310
|
+
# The date and time at which the generation request was made.
|
12311
|
+
# @return [Time]
|
12312
|
+
#
|
12313
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StartBotResourceGenerationResponse AWS API Documentation
|
12314
|
+
#
|
12315
|
+
class StartBotResourceGenerationResponse < Struct.new(
|
12316
|
+
:generation_input_prompt,
|
12317
|
+
:generation_id,
|
12318
|
+
:bot_id,
|
12319
|
+
:bot_version,
|
12320
|
+
:locale_id,
|
12321
|
+
:generation_status,
|
12322
|
+
:creation_date_time)
|
12323
|
+
SENSITIVE = []
|
12324
|
+
include Aws::Structure
|
12325
|
+
end
|
12326
|
+
|
11785
12327
|
# @!attribute [rw] import_id
|
11786
12328
|
# The unique identifier for the import. It is included in the response
|
11787
12329
|
# from the [CreateUploadUrl][1] operation.
|
@@ -13072,6 +13614,13 @@ module Aws::LexModelsV2
|
|
13072
13614
|
# interaction with the user.
|
13073
13615
|
# @return [Types::VoiceSettings]
|
13074
13616
|
#
|
13617
|
+
# @!attribute [rw] generative_ai_settings
|
13618
|
+
# Contains settings for generative AI features powered by Amazon
|
13619
|
+
# Bedrock for your bot locale. Use this object to turn generative AI
|
13620
|
+
# features on and off. Pricing may differ if you turn a feature on.
|
13621
|
+
# For more information, see LINK.
|
13622
|
+
# @return [Types::GenerativeAISettings]
|
13623
|
+
#
|
13075
13624
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotLocaleRequest AWS API Documentation
|
13076
13625
|
#
|
13077
13626
|
class UpdateBotLocaleRequest < Struct.new(
|
@@ -13080,7 +13629,8 @@ module Aws::LexModelsV2
|
|
13080
13629
|
:locale_id,
|
13081
13630
|
:description,
|
13082
13631
|
:nlu_intent_confidence_threshold,
|
13083
|
-
:voice_settings
|
13632
|
+
:voice_settings,
|
13633
|
+
:generative_ai_settings)
|
13084
13634
|
SENSITIVE = []
|
13085
13635
|
include Aws::Structure
|
13086
13636
|
end
|
@@ -13139,6 +13689,11 @@ module Aws::LexModelsV2
|
|
13139
13689
|
# `failureReasons` field.
|
13140
13690
|
# @return [Array<String>]
|
13141
13691
|
#
|
13692
|
+
# @!attribute [rw] generative_ai_settings
|
13693
|
+
# Contains settings for generative AI features powered by Amazon
|
13694
|
+
# Bedrock for your bot locale.
|
13695
|
+
# @return [Types::GenerativeAISettings]
|
13696
|
+
#
|
13142
13697
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotLocaleResponse AWS API Documentation
|
13143
13698
|
#
|
13144
13699
|
class UpdateBotLocaleResponse < Struct.new(
|
@@ -13153,7 +13708,8 @@ module Aws::LexModelsV2
|
|
13153
13708
|
:failure_reasons,
|
13154
13709
|
:creation_date_time,
|
13155
13710
|
:last_updated_date_time,
|
13156
|
-
:recommended_actions
|
13711
|
+
:recommended_actions,
|
13712
|
+
:generative_ai_settings)
|
13157
13713
|
SENSITIVE = []
|
13158
13714
|
include Aws::Structure
|
13159
13715
|
end
|