aws-sdk-bedrockagent 1.68.0 → 1.69.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-bedrockagent/client.rb +42 -2
- data/lib/aws-sdk-bedrockagent/client_api.rb +26 -0
- data/lib/aws-sdk-bedrockagent/types.rb +79 -2
- data/lib/aws-sdk-bedrockagent.rb +1 -1
- data/sig/client.rbs +30 -2
- data/sig/types.rbs +22 -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: 1f9401ac650a5c40e454af1a6a3438f377dd642b5d99b83b593e88def942ba5b
|
|
4
|
+
data.tar.gz: 54ff6baccc89e125bc60909084e03ad1dde492aca218f8cf1a45ee55705dc876
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d3e2d6ad6697b17329e36016b44e790d18d990de3cf7dcb8ec40c89e42a4a629d98672c237546698dbc7133b7bc6412e29d9c80bf881c30d9b910d2fd8ca9682
|
|
7
|
+
data.tar.gz: e9aa36c88ec6f63920798e72aad13591de9d2b70e9b165c57c8ebd050688d9aec0e973e6dd492f90038149988726628fe4c4c4889b715add484c8f2508d88dc4
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.69.0
|
|
@@ -2294,6 +2294,20 @@ module Aws::BedrockAgent
|
|
|
2294
2294
|
# bedrock_embedding_model_configuration: {
|
|
2295
2295
|
# dimensions: 1,
|
|
2296
2296
|
# embedding_data_type: "FLOAT32", # accepts FLOAT32, BINARY
|
|
2297
|
+
# audio: [
|
|
2298
|
+
# {
|
|
2299
|
+
# segmentation_configuration: { # required
|
|
2300
|
+
# fixed_length_duration: 1, # required
|
|
2301
|
+
# },
|
|
2302
|
+
# },
|
|
2303
|
+
# ],
|
|
2304
|
+
# video: [
|
|
2305
|
+
# {
|
|
2306
|
+
# segmentation_configuration: { # required
|
|
2307
|
+
# fixed_length_duration: 1, # required
|
|
2308
|
+
# },
|
|
2309
|
+
# },
|
|
2310
|
+
# ],
|
|
2297
2311
|
# },
|
|
2298
2312
|
# },
|
|
2299
2313
|
# supplemental_data_storage_configuration: {
|
|
@@ -2466,6 +2480,10 @@ module Aws::BedrockAgent
|
|
|
2466
2480
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_arn #=> String
|
|
2467
2481
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.dimensions #=> Integer
|
|
2468
2482
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.embedding_data_type #=> String, one of "FLOAT32", "BINARY"
|
|
2483
|
+
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.audio #=> Array
|
|
2484
|
+
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.audio[0].segmentation_configuration.fixed_length_duration #=> Integer
|
|
2485
|
+
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.video #=> Array
|
|
2486
|
+
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.video[0].segmentation_configuration.fixed_length_duration #=> Integer
|
|
2469
2487
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations #=> Array
|
|
2470
2488
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].type #=> String, one of "S3"
|
|
2471
2489
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].s3_location.uri #=> String
|
|
@@ -4323,7 +4341,7 @@ module Aws::BedrockAgent
|
|
|
4323
4341
|
req.send_request(options)
|
|
4324
4342
|
end
|
|
4325
4343
|
|
|
4326
|
-
# Gets information about a
|
|
4344
|
+
# Gets information about a knowledge base.
|
|
4327
4345
|
#
|
|
4328
4346
|
# @option params [required, String] :knowledge_base_id
|
|
4329
4347
|
# The unique identifier of the knowledge base you want to get
|
|
@@ -4350,6 +4368,10 @@ module Aws::BedrockAgent
|
|
|
4350
4368
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_arn #=> String
|
|
4351
4369
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.dimensions #=> Integer
|
|
4352
4370
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.embedding_data_type #=> String, one of "FLOAT32", "BINARY"
|
|
4371
|
+
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.audio #=> Array
|
|
4372
|
+
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.audio[0].segmentation_configuration.fixed_length_duration #=> Integer
|
|
4373
|
+
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.video #=> Array
|
|
4374
|
+
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.video[0].segmentation_configuration.fixed_length_duration #=> Integer
|
|
4353
4375
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations #=> Array
|
|
4354
4376
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].type #=> String, one of "S3"
|
|
4355
4377
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].s3_location.uri #=> String
|
|
@@ -7279,6 +7301,20 @@ module Aws::BedrockAgent
|
|
|
7279
7301
|
# bedrock_embedding_model_configuration: {
|
|
7280
7302
|
# dimensions: 1,
|
|
7281
7303
|
# embedding_data_type: "FLOAT32", # accepts FLOAT32, BINARY
|
|
7304
|
+
# audio: [
|
|
7305
|
+
# {
|
|
7306
|
+
# segmentation_configuration: { # required
|
|
7307
|
+
# fixed_length_duration: 1, # required
|
|
7308
|
+
# },
|
|
7309
|
+
# },
|
|
7310
|
+
# ],
|
|
7311
|
+
# video: [
|
|
7312
|
+
# {
|
|
7313
|
+
# segmentation_configuration: { # required
|
|
7314
|
+
# fixed_length_duration: 1, # required
|
|
7315
|
+
# },
|
|
7316
|
+
# },
|
|
7317
|
+
# ],
|
|
7282
7318
|
# },
|
|
7283
7319
|
# },
|
|
7284
7320
|
# supplemental_data_storage_configuration: {
|
|
@@ -7448,6 +7484,10 @@ module Aws::BedrockAgent
|
|
|
7448
7484
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_arn #=> String
|
|
7449
7485
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.dimensions #=> Integer
|
|
7450
7486
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.embedding_data_type #=> String, one of "FLOAT32", "BINARY"
|
|
7487
|
+
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.audio #=> Array
|
|
7488
|
+
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.audio[0].segmentation_configuration.fixed_length_duration #=> Integer
|
|
7489
|
+
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.video #=> Array
|
|
7490
|
+
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.video[0].segmentation_configuration.fixed_length_duration #=> Integer
|
|
7451
7491
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations #=> Array
|
|
7452
7492
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].type #=> String, one of "S3"
|
|
7453
7493
|
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].s3_location.uri #=> String
|
|
@@ -8103,7 +8143,7 @@ module Aws::BedrockAgent
|
|
|
8103
8143
|
tracer: tracer
|
|
8104
8144
|
)
|
|
8105
8145
|
context[:gem_name] = 'aws-sdk-bedrockagent'
|
|
8106
|
-
context[:gem_version] = '1.
|
|
8146
|
+
context[:gem_version] = '1.69.0'
|
|
8107
8147
|
Seahorse::Client::Request.new(handlers, context)
|
|
8108
8148
|
end
|
|
8109
8149
|
|
|
@@ -62,6 +62,10 @@ module Aws::BedrockAgent
|
|
|
62
62
|
AssociateAgentCollaboratorResponse = Shapes::StructureShape.new(name: 'AssociateAgentCollaboratorResponse')
|
|
63
63
|
AssociateAgentKnowledgeBaseRequest = Shapes::StructureShape.new(name: 'AssociateAgentKnowledgeBaseRequest')
|
|
64
64
|
AssociateAgentKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'AssociateAgentKnowledgeBaseResponse')
|
|
65
|
+
AudioConfiguration = Shapes::StructureShape.new(name: 'AudioConfiguration')
|
|
66
|
+
AudioConfigurations = Shapes::ListShape.new(name: 'AudioConfigurations')
|
|
67
|
+
AudioSegmentationConfiguration = Shapes::StructureShape.new(name: 'AudioSegmentationConfiguration')
|
|
68
|
+
AudioSegmentationConfigurationFixedLengthDurationInteger = Shapes::IntegerShape.new(name: 'AudioSegmentationConfigurationFixedLengthDurationInteger')
|
|
65
69
|
AutoToolChoice = Shapes::StructureShape.new(name: 'AutoToolChoice')
|
|
66
70
|
AwsDataCatalogTableName = Shapes::StringShape.new(name: 'AwsDataCatalogTableName')
|
|
67
71
|
AwsDataCatalogTableNames = Shapes::ListShape.new(name: 'AwsDataCatalogTableNames')
|
|
@@ -692,6 +696,10 @@ module Aws::BedrockAgent
|
|
|
692
696
|
VectorSearchRerankingConfiguration = Shapes::StructureShape.new(name: 'VectorSearchRerankingConfiguration')
|
|
693
697
|
VectorSearchRerankingConfigurationType = Shapes::StringShape.new(name: 'VectorSearchRerankingConfigurationType')
|
|
694
698
|
Version = Shapes::StringShape.new(name: 'Version')
|
|
699
|
+
VideoConfiguration = Shapes::StructureShape.new(name: 'VideoConfiguration')
|
|
700
|
+
VideoConfigurations = Shapes::ListShape.new(name: 'VideoConfigurations')
|
|
701
|
+
VideoSegmentationConfiguration = Shapes::StructureShape.new(name: 'VideoSegmentationConfiguration')
|
|
702
|
+
VideoSegmentationConfigurationFixedLengthDurationInteger = Shapes::IntegerShape.new(name: 'VideoSegmentationConfigurationFixedLengthDurationInteger')
|
|
695
703
|
WebCrawlerConfiguration = Shapes::StructureShape.new(name: 'WebCrawlerConfiguration')
|
|
696
704
|
WebCrawlerLimits = Shapes::StructureShape.new(name: 'WebCrawlerLimits')
|
|
697
705
|
WebCrawlerLimitsMaxPagesInteger = Shapes::IntegerShape.new(name: 'WebCrawlerLimitsMaxPagesInteger')
|
|
@@ -931,6 +939,14 @@ module Aws::BedrockAgent
|
|
|
931
939
|
AssociateAgentKnowledgeBaseResponse.add_member(:agent_knowledge_base, Shapes::ShapeRef.new(shape: AgentKnowledgeBase, required: true, location_name: "agentKnowledgeBase"))
|
|
932
940
|
AssociateAgentKnowledgeBaseResponse.struct_class = Types::AssociateAgentKnowledgeBaseResponse
|
|
933
941
|
|
|
942
|
+
AudioConfiguration.add_member(:segmentation_configuration, Shapes::ShapeRef.new(shape: AudioSegmentationConfiguration, required: true, location_name: "segmentationConfiguration"))
|
|
943
|
+
AudioConfiguration.struct_class = Types::AudioConfiguration
|
|
944
|
+
|
|
945
|
+
AudioConfigurations.member = Shapes::ShapeRef.new(shape: AudioConfiguration)
|
|
946
|
+
|
|
947
|
+
AudioSegmentationConfiguration.add_member(:fixed_length_duration, Shapes::ShapeRef.new(shape: AudioSegmentationConfigurationFixedLengthDurationInteger, required: true, location_name: "fixedLengthDuration"))
|
|
948
|
+
AudioSegmentationConfiguration.struct_class = Types::AudioSegmentationConfiguration
|
|
949
|
+
|
|
934
950
|
AutoToolChoice.struct_class = Types::AutoToolChoice
|
|
935
951
|
|
|
936
952
|
AwsDataCatalogTableNames.member = Shapes::ShapeRef.new(shape: AwsDataCatalogTableName)
|
|
@@ -940,6 +956,8 @@ module Aws::BedrockAgent
|
|
|
940
956
|
|
|
941
957
|
BedrockEmbeddingModelConfiguration.add_member(:dimensions, Shapes::ShapeRef.new(shape: Dimensions, location_name: "dimensions"))
|
|
942
958
|
BedrockEmbeddingModelConfiguration.add_member(:embedding_data_type, Shapes::ShapeRef.new(shape: EmbeddingDataType, location_name: "embeddingDataType"))
|
|
959
|
+
BedrockEmbeddingModelConfiguration.add_member(:audio, Shapes::ShapeRef.new(shape: AudioConfigurations, location_name: "audio"))
|
|
960
|
+
BedrockEmbeddingModelConfiguration.add_member(:video, Shapes::ShapeRef.new(shape: VideoConfigurations, location_name: "video"))
|
|
943
961
|
BedrockEmbeddingModelConfiguration.struct_class = Types::BedrockEmbeddingModelConfiguration
|
|
944
962
|
|
|
945
963
|
BedrockFoundationModelConfiguration.add_member(:model_arn, Shapes::ShapeRef.new(shape: BedrockModelArn, required: true, location_name: "modelArn"))
|
|
@@ -2932,6 +2950,14 @@ module Aws::BedrockAgent
|
|
|
2932
2950
|
VectorSearchRerankingConfiguration.add_member(:bedrock_reranking_configuration, Shapes::ShapeRef.new(shape: VectorSearchBedrockRerankingConfiguration, location_name: "bedrockRerankingConfiguration"))
|
|
2933
2951
|
VectorSearchRerankingConfiguration.struct_class = Types::VectorSearchRerankingConfiguration
|
|
2934
2952
|
|
|
2953
|
+
VideoConfiguration.add_member(:segmentation_configuration, Shapes::ShapeRef.new(shape: VideoSegmentationConfiguration, required: true, location_name: "segmentationConfiguration"))
|
|
2954
|
+
VideoConfiguration.struct_class = Types::VideoConfiguration
|
|
2955
|
+
|
|
2956
|
+
VideoConfigurations.member = Shapes::ShapeRef.new(shape: VideoConfiguration)
|
|
2957
|
+
|
|
2958
|
+
VideoSegmentationConfiguration.add_member(:fixed_length_duration, Shapes::ShapeRef.new(shape: VideoSegmentationConfigurationFixedLengthDurationInteger, required: true, location_name: "fixedLengthDuration"))
|
|
2959
|
+
VideoSegmentationConfiguration.struct_class = Types::VideoSegmentationConfiguration
|
|
2960
|
+
|
|
2935
2961
|
WebCrawlerConfiguration.add_member(:crawler_limits, Shapes::ShapeRef.new(shape: WebCrawlerLimits, location_name: "crawlerLimits"))
|
|
2936
2962
|
WebCrawlerConfiguration.add_member(:inclusion_filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "inclusionFilters"))
|
|
2937
2963
|
WebCrawlerConfiguration.add_member(:exclusion_filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "exclusionFilters"))
|
|
@@ -1202,6 +1202,38 @@ module Aws::BedrockAgent
|
|
|
1202
1202
|
include Aws::Structure
|
|
1203
1203
|
end
|
|
1204
1204
|
|
|
1205
|
+
# Configuration settings for processing audio content in multimodal
|
|
1206
|
+
# knowledge bases.
|
|
1207
|
+
#
|
|
1208
|
+
# @!attribute [rw] segmentation_configuration
|
|
1209
|
+
# Configuration for segmenting audio content during processing.
|
|
1210
|
+
# @return [Types::AudioSegmentationConfiguration]
|
|
1211
|
+
#
|
|
1212
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/AudioConfiguration AWS API Documentation
|
|
1213
|
+
#
|
|
1214
|
+
class AudioConfiguration < Struct.new(
|
|
1215
|
+
:segmentation_configuration)
|
|
1216
|
+
SENSITIVE = []
|
|
1217
|
+
include Aws::Structure
|
|
1218
|
+
end
|
|
1219
|
+
|
|
1220
|
+
# Configuration for segmenting audio content during multimodal knowledge
|
|
1221
|
+
# base ingestion. Determines how audio files are divided into chunks for
|
|
1222
|
+
# processing.
|
|
1223
|
+
#
|
|
1224
|
+
# @!attribute [rw] fixed_length_duration
|
|
1225
|
+
# The duration in seconds for each audio segment. Audio files will be
|
|
1226
|
+
# divided into chunks of this length for processing.
|
|
1227
|
+
# @return [Integer]
|
|
1228
|
+
#
|
|
1229
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/AudioSegmentationConfiguration AWS API Documentation
|
|
1230
|
+
#
|
|
1231
|
+
class AudioSegmentationConfiguration < Struct.new(
|
|
1232
|
+
:fixed_length_duration)
|
|
1233
|
+
SENSITIVE = []
|
|
1234
|
+
include Aws::Structure
|
|
1235
|
+
end
|
|
1236
|
+
|
|
1205
1237
|
# Defines tools. The model automatically decides whether to call a tool
|
|
1206
1238
|
# or to generate text instead. For more information, see [Use a tool to
|
|
1207
1239
|
# complete an Amazon Bedrock model response][1].
|
|
@@ -1252,11 +1284,23 @@ module Aws::BedrockAgent
|
|
|
1252
1284
|
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-supported.html
|
|
1253
1285
|
# @return [String]
|
|
1254
1286
|
#
|
|
1287
|
+
# @!attribute [rw] audio
|
|
1288
|
+
# Configuration settings for processing audio content in multimodal
|
|
1289
|
+
# knowledge bases.
|
|
1290
|
+
# @return [Array<Types::AudioConfiguration>]
|
|
1291
|
+
#
|
|
1292
|
+
# @!attribute [rw] video
|
|
1293
|
+
# Configuration settings for processing video content in multimodal
|
|
1294
|
+
# knowledge bases.
|
|
1295
|
+
# @return [Array<Types::VideoConfiguration>]
|
|
1296
|
+
#
|
|
1255
1297
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/BedrockEmbeddingModelConfiguration AWS API Documentation
|
|
1256
1298
|
#
|
|
1257
1299
|
class BedrockEmbeddingModelConfiguration < Struct.new(
|
|
1258
1300
|
:dimensions,
|
|
1259
|
-
:embedding_data_type
|
|
1301
|
+
:embedding_data_type,
|
|
1302
|
+
:audio,
|
|
1303
|
+
:video)
|
|
1260
1304
|
SENSITIVE = []
|
|
1261
1305
|
include Aws::Structure
|
|
1262
1306
|
end
|
|
@@ -6118,7 +6162,8 @@ module Aws::BedrockAgent
|
|
|
6118
6162
|
# The ingestion status of the document. The following statuses are
|
|
6119
6163
|
# possible:
|
|
6120
6164
|
#
|
|
6121
|
-
# *
|
|
6165
|
+
# * STARTING – You submitted the ingestion job containing the
|
|
6166
|
+
# document.
|
|
6122
6167
|
#
|
|
6123
6168
|
# * PENDING – The document is waiting to be ingested.
|
|
6124
6169
|
#
|
|
@@ -11613,6 +11658,38 @@ module Aws::BedrockAgent
|
|
|
11613
11658
|
include Aws::Structure
|
|
11614
11659
|
end
|
|
11615
11660
|
|
|
11661
|
+
# Configuration settings for processing video content in multimodal
|
|
11662
|
+
# knowledge bases.
|
|
11663
|
+
#
|
|
11664
|
+
# @!attribute [rw] segmentation_configuration
|
|
11665
|
+
# Configuration for segmenting video content during processing.
|
|
11666
|
+
# @return [Types::VideoSegmentationConfiguration]
|
|
11667
|
+
#
|
|
11668
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/VideoConfiguration AWS API Documentation
|
|
11669
|
+
#
|
|
11670
|
+
class VideoConfiguration < Struct.new(
|
|
11671
|
+
:segmentation_configuration)
|
|
11672
|
+
SENSITIVE = []
|
|
11673
|
+
include Aws::Structure
|
|
11674
|
+
end
|
|
11675
|
+
|
|
11676
|
+
# Configuration for segmenting video content during multimodal knowledge
|
|
11677
|
+
# base ingestion. Determines how video files are divided into chunks for
|
|
11678
|
+
# processing.
|
|
11679
|
+
#
|
|
11680
|
+
# @!attribute [rw] fixed_length_duration
|
|
11681
|
+
# The duration in seconds for each video segment. Video files will be
|
|
11682
|
+
# divided into chunks of this length for processing.
|
|
11683
|
+
# @return [Integer]
|
|
11684
|
+
#
|
|
11685
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/VideoSegmentationConfiguration AWS API Documentation
|
|
11686
|
+
#
|
|
11687
|
+
class VideoSegmentationConfiguration < Struct.new(
|
|
11688
|
+
:fixed_length_duration)
|
|
11689
|
+
SENSITIVE = []
|
|
11690
|
+
include Aws::Structure
|
|
11691
|
+
end
|
|
11692
|
+
|
|
11616
11693
|
# The configuration of web URLs that you want to crawl. You should be
|
|
11617
11694
|
# authorized to crawl the URLs.
|
|
11618
11695
|
#
|
data/lib/aws-sdk-bedrockagent.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -752,7 +752,21 @@ module Aws
|
|
|
752
752
|
embedding_model_configuration: {
|
|
753
753
|
bedrock_embedding_model_configuration: {
|
|
754
754
|
dimensions: ::Integer?,
|
|
755
|
-
embedding_data_type: ("FLOAT32" | "BINARY")
|
|
755
|
+
embedding_data_type: ("FLOAT32" | "BINARY")?,
|
|
756
|
+
audio: Array[
|
|
757
|
+
{
|
|
758
|
+
segmentation_configuration: {
|
|
759
|
+
fixed_length_duration: ::Integer
|
|
760
|
+
}
|
|
761
|
+
},
|
|
762
|
+
]?,
|
|
763
|
+
video: Array[
|
|
764
|
+
{
|
|
765
|
+
segmentation_configuration: {
|
|
766
|
+
fixed_length_duration: ::Integer
|
|
767
|
+
}
|
|
768
|
+
},
|
|
769
|
+
]?
|
|
756
770
|
}?
|
|
757
771
|
}?,
|
|
758
772
|
supplemental_data_storage_configuration: {
|
|
@@ -2412,7 +2426,21 @@ module Aws
|
|
|
2412
2426
|
embedding_model_configuration: {
|
|
2413
2427
|
bedrock_embedding_model_configuration: {
|
|
2414
2428
|
dimensions: ::Integer?,
|
|
2415
|
-
embedding_data_type: ("FLOAT32" | "BINARY")
|
|
2429
|
+
embedding_data_type: ("FLOAT32" | "BINARY")?,
|
|
2430
|
+
audio: Array[
|
|
2431
|
+
{
|
|
2432
|
+
segmentation_configuration: {
|
|
2433
|
+
fixed_length_duration: ::Integer
|
|
2434
|
+
}
|
|
2435
|
+
},
|
|
2436
|
+
]?,
|
|
2437
|
+
video: Array[
|
|
2438
|
+
{
|
|
2439
|
+
segmentation_configuration: {
|
|
2440
|
+
fixed_length_duration: ::Integer
|
|
2441
|
+
}
|
|
2442
|
+
},
|
|
2443
|
+
]?
|
|
2416
2444
|
}?
|
|
2417
2445
|
}?,
|
|
2418
2446
|
supplemental_data_storage_configuration: {
|
data/sig/types.rbs
CHANGED
|
@@ -271,6 +271,16 @@ module Aws::BedrockAgent
|
|
|
271
271
|
SENSITIVE: []
|
|
272
272
|
end
|
|
273
273
|
|
|
274
|
+
class AudioConfiguration
|
|
275
|
+
attr_accessor segmentation_configuration: Types::AudioSegmentationConfiguration
|
|
276
|
+
SENSITIVE: []
|
|
277
|
+
end
|
|
278
|
+
|
|
279
|
+
class AudioSegmentationConfiguration
|
|
280
|
+
attr_accessor fixed_length_duration: ::Integer
|
|
281
|
+
SENSITIVE: []
|
|
282
|
+
end
|
|
283
|
+
|
|
274
284
|
class AutoToolChoice < Aws::EmptyStructure
|
|
275
285
|
end
|
|
276
286
|
|
|
@@ -282,6 +292,8 @@ module Aws::BedrockAgent
|
|
|
282
292
|
class BedrockEmbeddingModelConfiguration
|
|
283
293
|
attr_accessor dimensions: ::Integer
|
|
284
294
|
attr_accessor embedding_data_type: ("FLOAT32" | "BINARY")
|
|
295
|
+
attr_accessor audio: ::Array[Types::AudioConfiguration]
|
|
296
|
+
attr_accessor video: ::Array[Types::VideoConfiguration]
|
|
285
297
|
SENSITIVE: []
|
|
286
298
|
end
|
|
287
299
|
|
|
@@ -2977,6 +2989,16 @@ module Aws::BedrockAgent
|
|
|
2977
2989
|
SENSITIVE: []
|
|
2978
2990
|
end
|
|
2979
2991
|
|
|
2992
|
+
class VideoConfiguration
|
|
2993
|
+
attr_accessor segmentation_configuration: Types::VideoSegmentationConfiguration
|
|
2994
|
+
SENSITIVE: []
|
|
2995
|
+
end
|
|
2996
|
+
|
|
2997
|
+
class VideoSegmentationConfiguration
|
|
2998
|
+
attr_accessor fixed_length_duration: ::Integer
|
|
2999
|
+
SENSITIVE: []
|
|
3000
|
+
end
|
|
3001
|
+
|
|
2980
3002
|
class WebCrawlerConfiguration
|
|
2981
3003
|
attr_accessor crawler_limits: Types::WebCrawlerLimits
|
|
2982
3004
|
attr_accessor inclusion_filters: ::Array[::String]
|