aws-sdk-bedrock 1.38.0 → 1.40.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 06e5bd49f2c960c59fe32be19d3dea38711be5669f7a2ce6c77bde803ff58a40
4
- data.tar.gz: 48b1ec0b6b803a66ea456cf54e1fa5b4d0c3071e5fc8db32a70aa9f2404918bc
3
+ metadata.gz: d3775d29f0252b4f95585f5cdaede1e5c86a65c16830731c7323490c1b577fc7
4
+ data.tar.gz: 5489124b0912050597afbf32916592d25cfad3b3e6d77e48b64a79a0fad36dab
5
5
  SHA512:
6
- metadata.gz: 0f623f5ad17561f5aea2a5862716b45b4a7ab8786317a53265f0ea96e46ba2f88c53ad387e46df189fb9163fd23d15bd607327a843212de89dd9e553e508f8e2
7
- data.tar.gz: 41b5fe8cadb51969cb643f9da587afa78a771145e067d4460ec9ca5f62f56a1eb4ddc32e21b884e577415c07fee40bb9a29faa507c6fe07f2f0af9802627d9c5
6
+ metadata.gz: a6bab79946db7d78b15ccfed825ba5e3f1cb8b3f408ffb01b7e09fce419587e28237cec6139fa5fe82ff92713d2d939971a71fe414672d56f43e586e086c0410
7
+ data.tar.gz: 3ed7cbd3a3113aaac54572da5b1490422f8cf16e90e50ea4d9824390266f9fbf5601f94f342007941fc746b3c6fc38c161402d6c58b04151343a6c100bd55b46
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.40.0 (2025-03-21)
5
+ ------------------
6
+
7
+ * Feature - A CustomModelUnit(CMU) is an abstract view of the hardware utilization that Bedrock needs to host a a single copy of your custom imported model. Bedrock determines the number of CMUs that a model copy needs when you import the custom model. You can use CMUs to estimate the cost of Inference's.
8
+
9
+ 1.39.0 (2025-03-20)
10
+ ------------------
11
+
12
+ * Feature - With this release, Bedrock Evaluation will now support bring your own inference responses.
13
+
4
14
  1.38.0 (2025-03-19)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.38.0
1
+ 1.40.0
@@ -643,12 +643,15 @@ module Aws::Bedrock
643
643
  # models: [
644
644
  # {
645
645
  # bedrock_model: {
646
- # model_identifier: "EvaluationModelIdentifier", # required
646
+ # model_identifier: "EvaluationBedrockModelIdentifier", # required
647
647
  # inference_params: "EvaluationModelInferenceParams",
648
648
  # performance_config: {
649
649
  # latency: "standard", # accepts standard, optimized
650
650
  # },
651
651
  # },
652
+ # precomputed_inference_source: {
653
+ # inference_source_identifier: "EvaluationPrecomputedInferenceSourceIdentifier", # required
654
+ # },
652
655
  # },
653
656
  # ],
654
657
  # rag_configs: [
@@ -874,6 +877,14 @@ module Aws::Bedrock
874
877
  # },
875
878
  # },
876
879
  # },
880
+ # precomputed_rag_source_config: {
881
+ # retrieve_source_config: {
882
+ # rag_source_identifier: "EvaluationPrecomputedRagSourceIdentifier", # required
883
+ # },
884
+ # retrieve_and_generate_source_config: {
885
+ # rag_source_identifier: "EvaluationPrecomputedRagSourceIdentifier", # required
886
+ # },
887
+ # },
877
888
  # },
878
889
  # ],
879
890
  # },
@@ -2346,6 +2357,7 @@ module Aws::Bedrock
2346
2357
  # resp.inference_config.models[0].bedrock_model.model_identifier #=> String
2347
2358
  # resp.inference_config.models[0].bedrock_model.inference_params #=> String
2348
2359
  # resp.inference_config.models[0].bedrock_model.performance_config.latency #=> String, one of "standard", "optimized"
2360
+ # resp.inference_config.models[0].precomputed_inference_source.inference_source_identifier #=> String
2349
2361
  # resp.inference_config.rag_configs #=> Array
2350
2362
  # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_config.knowledge_base_id #=> String
2351
2363
  # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_config.knowledge_base_retrieval_configuration.vector_search_configuration.number_of_results #=> Integer
@@ -2411,6 +2423,8 @@ module Aws::Bedrock
2411
2423
  # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_and_generate_config.external_sources_configuration.generation_configuration.kb_inference_config.text_inference_config.stop_sequences #=> Array
2412
2424
  # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_and_generate_config.external_sources_configuration.generation_configuration.kb_inference_config.text_inference_config.stop_sequences[0] #=> String
2413
2425
  # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_and_generate_config.external_sources_configuration.generation_configuration.additional_model_request_fields #=> Hash
2426
+ # resp.inference_config.rag_configs[0].precomputed_rag_source_config.retrieve_source_config.rag_source_identifier #=> String
2427
+ # resp.inference_config.rag_configs[0].precomputed_rag_source_config.retrieve_and_generate_source_config.rag_source_identifier #=> String
2414
2428
  # resp.output_data_config.s3_uri #=> String
2415
2429
  # resp.creation_time #=> Time
2416
2430
  # resp.last_modified_time #=> Time
@@ -2579,6 +2593,7 @@ module Aws::Bedrock
2579
2593
  # * {Types::GetImportedModelResponse#model_architecture #model_architecture} => String
2580
2594
  # * {Types::GetImportedModelResponse#model_kms_key_arn #model_kms_key_arn} => String
2581
2595
  # * {Types::GetImportedModelResponse#instruct_supported #instruct_supported} => Boolean
2596
+ # * {Types::GetImportedModelResponse#custom_model_units #custom_model_units} => Types::CustomModelUnits
2582
2597
  #
2583
2598
  # @example Request syntax with placeholder values
2584
2599
  #
@@ -2597,6 +2612,8 @@ module Aws::Bedrock
2597
2612
  # resp.model_architecture #=> String
2598
2613
  # resp.model_kms_key_arn #=> String
2599
2614
  # resp.instruct_supported #=> Boolean
2615
+ # resp.custom_model_units.custom_model_units_per_model_copy #=> Integer
2616
+ # resp.custom_model_units.custom_model_units_version #=> String
2600
2617
  #
2601
2618
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetImportedModel AWS API Documentation
2602
2619
  #
@@ -3288,6 +3305,14 @@ module Aws::Bedrock
3288
3305
  # resp.job_summaries[0].rag_identifiers[0] #=> String
3289
3306
  # resp.job_summaries[0].evaluator_model_identifiers #=> Array
3290
3307
  # resp.job_summaries[0].evaluator_model_identifiers[0] #=> String
3308
+ # resp.job_summaries[0].inference_config_summary.model_config_summary.bedrock_model_identifiers #=> Array
3309
+ # resp.job_summaries[0].inference_config_summary.model_config_summary.bedrock_model_identifiers[0] #=> String
3310
+ # resp.job_summaries[0].inference_config_summary.model_config_summary.precomputed_inference_source_identifiers #=> Array
3311
+ # resp.job_summaries[0].inference_config_summary.model_config_summary.precomputed_inference_source_identifiers[0] #=> String
3312
+ # resp.job_summaries[0].inference_config_summary.rag_config_summary.bedrock_knowledge_base_identifiers #=> Array
3313
+ # resp.job_summaries[0].inference_config_summary.rag_config_summary.bedrock_knowledge_base_identifiers[0] #=> String
3314
+ # resp.job_summaries[0].inference_config_summary.rag_config_summary.precomputed_rag_source_identifiers #=> Array
3315
+ # resp.job_summaries[0].inference_config_summary.rag_config_summary.precomputed_rag_source_identifiers[0] #=> String
3291
3316
  # resp.job_summaries[0].application_type #=> String, one of "ModelEvaluation", "RagEvaluation"
3292
3317
  #
3293
3318
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListEvaluationJobs AWS API Documentation
@@ -4763,7 +4788,7 @@ module Aws::Bedrock
4763
4788
  tracer: tracer
4764
4789
  )
4765
4790
  context[:gem_name] = 'aws-sdk-bedrock'
4766
- context[:gem_version] = '1.38.0'
4791
+ context[:gem_version] = '1.40.0'
4767
4792
  Seahorse::Client::Request.new(handlers, context)
4768
4793
  end
4769
4794
 
@@ -69,6 +69,8 @@ module Aws::Bedrock
69
69
  CustomModelName = Shapes::StringShape.new(name: 'CustomModelName')
70
70
  CustomModelSummary = Shapes::StructureShape.new(name: 'CustomModelSummary')
71
71
  CustomModelSummaryList = Shapes::ListShape.new(name: 'CustomModelSummaryList')
72
+ CustomModelUnits = Shapes::StructureShape.new(name: 'CustomModelUnits')
73
+ CustomModelUnitsVersion = Shapes::StringShape.new(name: 'CustomModelUnitsVersion')
72
74
  CustomizationConfig = Shapes::UnionShape.new(name: 'CustomizationConfig')
73
75
  CustomizationType = Shapes::StringShape.new(name: 'CustomizationType')
74
76
  DeleteCustomModelRequest = Shapes::StructureShape.new(name: 'DeleteCustomModelRequest')
@@ -94,7 +96,10 @@ module Aws::Bedrock
94
96
  EndpointName = Shapes::StringShape.new(name: 'EndpointName')
95
97
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
96
98
  ErrorMessages = Shapes::ListShape.new(name: 'ErrorMessages')
99
+ EvaluationBedrockKnowledgeBaseIdentifiers = Shapes::ListShape.new(name: 'EvaluationBedrockKnowledgeBaseIdentifiers')
97
100
  EvaluationBedrockModel = Shapes::StructureShape.new(name: 'EvaluationBedrockModel')
101
+ EvaluationBedrockModelIdentifier = Shapes::StringShape.new(name: 'EvaluationBedrockModelIdentifier')
102
+ EvaluationBedrockModelIdentifiers = Shapes::ListShape.new(name: 'EvaluationBedrockModelIdentifiers')
98
103
  EvaluationConfig = Shapes::UnionShape.new(name: 'EvaluationConfig')
99
104
  EvaluationDataset = Shapes::StructureShape.new(name: 'EvaluationDataset')
100
105
  EvaluationDatasetLocation = Shapes::UnionShape.new(name: 'EvaluationDatasetLocation')
@@ -102,6 +107,7 @@ module Aws::Bedrock
102
107
  EvaluationDatasetMetricConfigs = Shapes::ListShape.new(name: 'EvaluationDatasetMetricConfigs')
103
108
  EvaluationDatasetName = Shapes::StringShape.new(name: 'EvaluationDatasetName')
104
109
  EvaluationInferenceConfig = Shapes::UnionShape.new(name: 'EvaluationInferenceConfig')
110
+ EvaluationInferenceConfigSummary = Shapes::StructureShape.new(name: 'EvaluationInferenceConfigSummary')
105
111
  EvaluationJobArn = Shapes::StringShape.new(name: 'EvaluationJobArn')
106
112
  EvaluationJobDescription = Shapes::StringShape.new(name: 'EvaluationJobDescription')
107
113
  EvaluationJobIdentifier = Shapes::StringShape.new(name: 'EvaluationJobIdentifier')
@@ -113,11 +119,19 @@ module Aws::Bedrock
113
119
  EvaluationMetricName = Shapes::StringShape.new(name: 'EvaluationMetricName')
114
120
  EvaluationMetricNames = Shapes::ListShape.new(name: 'EvaluationMetricNames')
115
121
  EvaluationModelConfig = Shapes::UnionShape.new(name: 'EvaluationModelConfig')
122
+ EvaluationModelConfigSummary = Shapes::StructureShape.new(name: 'EvaluationModelConfigSummary')
116
123
  EvaluationModelConfigs = Shapes::ListShape.new(name: 'EvaluationModelConfigs')
117
- EvaluationModelIdentifier = Shapes::StringShape.new(name: 'EvaluationModelIdentifier')
118
- EvaluationModelIdentifiers = Shapes::ListShape.new(name: 'EvaluationModelIdentifiers')
119
124
  EvaluationModelInferenceParams = Shapes::StringShape.new(name: 'EvaluationModelInferenceParams')
120
125
  EvaluationOutputDataConfig = Shapes::StructureShape.new(name: 'EvaluationOutputDataConfig')
126
+ EvaluationPrecomputedInferenceSource = Shapes::StructureShape.new(name: 'EvaluationPrecomputedInferenceSource')
127
+ EvaluationPrecomputedInferenceSourceIdentifier = Shapes::StringShape.new(name: 'EvaluationPrecomputedInferenceSourceIdentifier')
128
+ EvaluationPrecomputedInferenceSourceIdentifiers = Shapes::ListShape.new(name: 'EvaluationPrecomputedInferenceSourceIdentifiers')
129
+ EvaluationPrecomputedRagSourceConfig = Shapes::UnionShape.new(name: 'EvaluationPrecomputedRagSourceConfig')
130
+ EvaluationPrecomputedRagSourceIdentifier = Shapes::StringShape.new(name: 'EvaluationPrecomputedRagSourceIdentifier')
131
+ EvaluationPrecomputedRagSourceIdentifiers = Shapes::ListShape.new(name: 'EvaluationPrecomputedRagSourceIdentifiers')
132
+ EvaluationPrecomputedRetrieveAndGenerateSourceConfig = Shapes::StructureShape.new(name: 'EvaluationPrecomputedRetrieveAndGenerateSourceConfig')
133
+ EvaluationPrecomputedRetrieveSourceConfig = Shapes::StructureShape.new(name: 'EvaluationPrecomputedRetrieveSourceConfig')
134
+ EvaluationRagConfigSummary = Shapes::StructureShape.new(name: 'EvaluationRagConfigSummary')
121
135
  EvaluationRatingMethod = Shapes::StringShape.new(name: 'EvaluationRatingMethod')
122
136
  EvaluationSummaries = Shapes::ListShape.new(name: 'EvaluationSummaries')
123
137
  EvaluationSummary = Shapes::StructureShape.new(name: 'EvaluationSummary')
@@ -400,7 +414,6 @@ module Aws::Bedrock
400
414
  QueryTransformationConfiguration = Shapes::StructureShape.new(name: 'QueryTransformationConfiguration')
401
415
  QueryTransformationType = Shapes::StringShape.new(name: 'QueryTransformationType')
402
416
  RAGConfig = Shapes::UnionShape.new(name: 'RAGConfig')
403
- RAGIdentifiers = Shapes::ListShape.new(name: 'RAGIdentifiers')
404
417
  RAGStopSequences = Shapes::ListShape.new(name: 'RAGStopSequences')
405
418
  RAGStopSequencesMemberString = Shapes::StringShape.new(name: 'RAGStopSequencesMemberString')
406
419
  RagConfigs = Shapes::ListShape.new(name: 'RagConfigs')
@@ -690,6 +703,10 @@ module Aws::Bedrock
690
703
 
691
704
  CustomModelSummaryList.member = Shapes::ShapeRef.new(shape: CustomModelSummary)
692
705
 
706
+ CustomModelUnits.add_member(:custom_model_units_per_model_copy, Shapes::ShapeRef.new(shape: Integer, location_name: "customModelUnitsPerModelCopy"))
707
+ CustomModelUnits.add_member(:custom_model_units_version, Shapes::ShapeRef.new(shape: CustomModelUnitsVersion, location_name: "customModelUnitsVersion"))
708
+ CustomModelUnits.struct_class = Types::CustomModelUnits
709
+
693
710
  CustomizationConfig.add_member(:distillation_config, Shapes::ShapeRef.new(shape: DistillationConfig, location_name: "distillationConfig"))
694
711
  CustomizationConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
695
712
  CustomizationConfig.add_member_subclass(:distillation_config, Types::CustomizationConfig::DistillationConfig)
@@ -752,11 +769,15 @@ module Aws::Bedrock
752
769
 
753
770
  ErrorMessages.member = Shapes::ShapeRef.new(shape: ErrorMessage)
754
771
 
755
- EvaluationBedrockModel.add_member(:model_identifier, Shapes::ShapeRef.new(shape: EvaluationModelIdentifier, required: true, location_name: "modelIdentifier"))
772
+ EvaluationBedrockKnowledgeBaseIdentifiers.member = Shapes::ShapeRef.new(shape: KnowledgeBaseId)
773
+
774
+ EvaluationBedrockModel.add_member(:model_identifier, Shapes::ShapeRef.new(shape: EvaluationBedrockModelIdentifier, required: true, location_name: "modelIdentifier"))
756
775
  EvaluationBedrockModel.add_member(:inference_params, Shapes::ShapeRef.new(shape: EvaluationModelInferenceParams, location_name: "inferenceParams"))
757
776
  EvaluationBedrockModel.add_member(:performance_config, Shapes::ShapeRef.new(shape: PerformanceConfiguration, location_name: "performanceConfig"))
758
777
  EvaluationBedrockModel.struct_class = Types::EvaluationBedrockModel
759
778
 
779
+ EvaluationBedrockModelIdentifiers.member = Shapes::ShapeRef.new(shape: EvaluationBedrockModelIdentifier)
780
+
760
781
  EvaluationConfig.add_member(:automated, Shapes::ShapeRef.new(shape: AutomatedEvaluationConfig, location_name: "automated"))
761
782
  EvaluationConfig.add_member(:human, Shapes::ShapeRef.new(shape: HumanEvaluationConfig, location_name: "human"))
762
783
  EvaluationConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
@@ -790,23 +811,56 @@ module Aws::Bedrock
790
811
  EvaluationInferenceConfig.add_member_subclass(:unknown, Types::EvaluationInferenceConfig::Unknown)
791
812
  EvaluationInferenceConfig.struct_class = Types::EvaluationInferenceConfig
792
813
 
814
+ EvaluationInferenceConfigSummary.add_member(:model_config_summary, Shapes::ShapeRef.new(shape: EvaluationModelConfigSummary, location_name: "modelConfigSummary"))
815
+ EvaluationInferenceConfigSummary.add_member(:rag_config_summary, Shapes::ShapeRef.new(shape: EvaluationRagConfigSummary, location_name: "ragConfigSummary"))
816
+ EvaluationInferenceConfigSummary.struct_class = Types::EvaluationInferenceConfigSummary
817
+
793
818
  EvaluationJobIdentifiers.member = Shapes::ShapeRef.new(shape: EvaluationJobIdentifier)
794
819
 
795
820
  EvaluationMetricNames.member = Shapes::ShapeRef.new(shape: EvaluationMetricName)
796
821
 
797
822
  EvaluationModelConfig.add_member(:bedrock_model, Shapes::ShapeRef.new(shape: EvaluationBedrockModel, location_name: "bedrockModel"))
823
+ EvaluationModelConfig.add_member(:precomputed_inference_source, Shapes::ShapeRef.new(shape: EvaluationPrecomputedInferenceSource, location_name: "precomputedInferenceSource"))
798
824
  EvaluationModelConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
799
825
  EvaluationModelConfig.add_member_subclass(:bedrock_model, Types::EvaluationModelConfig::BedrockModel)
826
+ EvaluationModelConfig.add_member_subclass(:precomputed_inference_source, Types::EvaluationModelConfig::PrecomputedInferenceSource)
800
827
  EvaluationModelConfig.add_member_subclass(:unknown, Types::EvaluationModelConfig::Unknown)
801
828
  EvaluationModelConfig.struct_class = Types::EvaluationModelConfig
802
829
 
803
- EvaluationModelConfigs.member = Shapes::ShapeRef.new(shape: EvaluationModelConfig)
830
+ EvaluationModelConfigSummary.add_member(:bedrock_model_identifiers, Shapes::ShapeRef.new(shape: EvaluationBedrockModelIdentifiers, location_name: "bedrockModelIdentifiers"))
831
+ EvaluationModelConfigSummary.add_member(:precomputed_inference_source_identifiers, Shapes::ShapeRef.new(shape: EvaluationPrecomputedInferenceSourceIdentifiers, location_name: "precomputedInferenceSourceIdentifiers"))
832
+ EvaluationModelConfigSummary.struct_class = Types::EvaluationModelConfigSummary
804
833
 
805
- EvaluationModelIdentifiers.member = Shapes::ShapeRef.new(shape: EvaluationModelIdentifier)
834
+ EvaluationModelConfigs.member = Shapes::ShapeRef.new(shape: EvaluationModelConfig)
806
835
 
807
836
  EvaluationOutputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "s3Uri"))
808
837
  EvaluationOutputDataConfig.struct_class = Types::EvaluationOutputDataConfig
809
838
 
839
+ EvaluationPrecomputedInferenceSource.add_member(:inference_source_identifier, Shapes::ShapeRef.new(shape: EvaluationPrecomputedInferenceSourceIdentifier, required: true, location_name: "inferenceSourceIdentifier"))
840
+ EvaluationPrecomputedInferenceSource.struct_class = Types::EvaluationPrecomputedInferenceSource
841
+
842
+ EvaluationPrecomputedInferenceSourceIdentifiers.member = Shapes::ShapeRef.new(shape: EvaluationPrecomputedInferenceSourceIdentifier)
843
+
844
+ EvaluationPrecomputedRagSourceConfig.add_member(:retrieve_source_config, Shapes::ShapeRef.new(shape: EvaluationPrecomputedRetrieveSourceConfig, location_name: "retrieveSourceConfig"))
845
+ EvaluationPrecomputedRagSourceConfig.add_member(:retrieve_and_generate_source_config, Shapes::ShapeRef.new(shape: EvaluationPrecomputedRetrieveAndGenerateSourceConfig, location_name: "retrieveAndGenerateSourceConfig"))
846
+ EvaluationPrecomputedRagSourceConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
847
+ EvaluationPrecomputedRagSourceConfig.add_member_subclass(:retrieve_source_config, Types::EvaluationPrecomputedRagSourceConfig::RetrieveSourceConfig)
848
+ EvaluationPrecomputedRagSourceConfig.add_member_subclass(:retrieve_and_generate_source_config, Types::EvaluationPrecomputedRagSourceConfig::RetrieveAndGenerateSourceConfig)
849
+ EvaluationPrecomputedRagSourceConfig.add_member_subclass(:unknown, Types::EvaluationPrecomputedRagSourceConfig::Unknown)
850
+ EvaluationPrecomputedRagSourceConfig.struct_class = Types::EvaluationPrecomputedRagSourceConfig
851
+
852
+ EvaluationPrecomputedRagSourceIdentifiers.member = Shapes::ShapeRef.new(shape: EvaluationPrecomputedRagSourceIdentifier)
853
+
854
+ EvaluationPrecomputedRetrieveAndGenerateSourceConfig.add_member(:rag_source_identifier, Shapes::ShapeRef.new(shape: EvaluationPrecomputedRagSourceIdentifier, required: true, location_name: "ragSourceIdentifier"))
855
+ EvaluationPrecomputedRetrieveAndGenerateSourceConfig.struct_class = Types::EvaluationPrecomputedRetrieveAndGenerateSourceConfig
856
+
857
+ EvaluationPrecomputedRetrieveSourceConfig.add_member(:rag_source_identifier, Shapes::ShapeRef.new(shape: EvaluationPrecomputedRagSourceIdentifier, required: true, location_name: "ragSourceIdentifier"))
858
+ EvaluationPrecomputedRetrieveSourceConfig.struct_class = Types::EvaluationPrecomputedRetrieveSourceConfig
859
+
860
+ EvaluationRagConfigSummary.add_member(:bedrock_knowledge_base_identifiers, Shapes::ShapeRef.new(shape: EvaluationBedrockKnowledgeBaseIdentifiers, location_name: "bedrockKnowledgeBaseIdentifiers"))
861
+ EvaluationRagConfigSummary.add_member(:precomputed_rag_source_identifiers, Shapes::ShapeRef.new(shape: EvaluationPrecomputedRagSourceIdentifiers, location_name: "precomputedRagSourceIdentifiers"))
862
+ EvaluationRagConfigSummary.struct_class = Types::EvaluationRagConfigSummary
863
+
810
864
  EvaluationSummaries.member = Shapes::ShapeRef.new(shape: EvaluationSummary)
811
865
 
812
866
  EvaluationSummary.add_member(:job_arn, Shapes::ShapeRef.new(shape: EvaluationJobArn, required: true, location_name: "jobArn"))
@@ -815,9 +869,10 @@ module Aws::Bedrock
815
869
  EvaluationSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
816
870
  EvaluationSummary.add_member(:job_type, Shapes::ShapeRef.new(shape: EvaluationJobType, required: true, location_name: "jobType"))
817
871
  EvaluationSummary.add_member(:evaluation_task_types, Shapes::ShapeRef.new(shape: EvaluationTaskTypes, required: true, location_name: "evaluationTaskTypes"))
818
- EvaluationSummary.add_member(:model_identifiers, Shapes::ShapeRef.new(shape: EvaluationModelIdentifiers, location_name: "modelIdentifiers"))
819
- EvaluationSummary.add_member(:rag_identifiers, Shapes::ShapeRef.new(shape: RAGIdentifiers, location_name: "ragIdentifiers"))
872
+ EvaluationSummary.add_member(:model_identifiers, Shapes::ShapeRef.new(shape: EvaluationBedrockModelIdentifiers, deprecated: true, location_name: "modelIdentifiers", metadata: {"deprecatedMessage"=>"Inference identifiers should be retrieved from the inferenceConfigSummary"}))
873
+ EvaluationSummary.add_member(:rag_identifiers, Shapes::ShapeRef.new(shape: EvaluationBedrockKnowledgeBaseIdentifiers, deprecated: true, location_name: "ragIdentifiers", metadata: {"deprecatedMessage"=>"Inference identifiers should be retrieved from the inferenceConfigSummary"}))
820
874
  EvaluationSummary.add_member(:evaluator_model_identifiers, Shapes::ShapeRef.new(shape: EvaluatorModelIdentifiers, location_name: "evaluatorModelIdentifiers"))
875
+ EvaluationSummary.add_member(:inference_config_summary, Shapes::ShapeRef.new(shape: EvaluationInferenceConfigSummary, location_name: "inferenceConfigSummary"))
821
876
  EvaluationSummary.add_member(:application_type, Shapes::ShapeRef.new(shape: ApplicationType, location_name: "applicationType"))
822
877
  EvaluationSummary.struct_class = Types::EvaluationSummary
823
878
 
@@ -969,6 +1024,7 @@ module Aws::Bedrock
969
1024
  GetImportedModelResponse.add_member(:model_architecture, Shapes::ShapeRef.new(shape: String, location_name: "modelArchitecture"))
970
1025
  GetImportedModelResponse.add_member(:model_kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "modelKmsKeyArn"))
971
1026
  GetImportedModelResponse.add_member(:instruct_supported, Shapes::ShapeRef.new(shape: InstructSupported, location_name: "instructSupported"))
1027
+ GetImportedModelResponse.add_member(:custom_model_units, Shapes::ShapeRef.new(shape: CustomModelUnits, location_name: "customModelUnits"))
972
1028
  GetImportedModelResponse.struct_class = Types::GetImportedModelResponse
973
1029
 
974
1030
  GetInferenceProfileRequest.add_member(:inference_profile_identifier, Shapes::ShapeRef.new(shape: InferenceProfileIdentifier, required: true, location: "uri", location_name: "inferenceProfileIdentifier"))
@@ -1701,13 +1757,13 @@ module Aws::Bedrock
1701
1757
  QueryTransformationConfiguration.struct_class = Types::QueryTransformationConfiguration
1702
1758
 
1703
1759
  RAGConfig.add_member(:knowledge_base_config, Shapes::ShapeRef.new(shape: KnowledgeBaseConfig, location_name: "knowledgeBaseConfig"))
1760
+ RAGConfig.add_member(:precomputed_rag_source_config, Shapes::ShapeRef.new(shape: EvaluationPrecomputedRagSourceConfig, location_name: "precomputedRagSourceConfig"))
1704
1761
  RAGConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1705
1762
  RAGConfig.add_member_subclass(:knowledge_base_config, Types::RAGConfig::KnowledgeBaseConfig)
1763
+ RAGConfig.add_member_subclass(:precomputed_rag_source_config, Types::RAGConfig::PrecomputedRagSourceConfig)
1706
1764
  RAGConfig.add_member_subclass(:unknown, Types::RAGConfig::Unknown)
1707
1765
  RAGConfig.struct_class = Types::RAGConfig
1708
1766
 
1709
- RAGIdentifiers.member = Shapes::ShapeRef.new(shape: KnowledgeBaseId)
1710
-
1711
1767
  RAGStopSequences.member = Shapes::ShapeRef.new(shape: RAGStopSequencesMemberString)
1712
1768
 
1713
1769
  RagConfigs.member = Shapes::ShapeRef.new(shape: RAGConfig)
@@ -1151,6 +1151,35 @@ module Aws::Bedrock
1151
1151
  include Aws::Structure
1152
1152
  end
1153
1153
 
1154
+ # A `CustomModelUnit` (CMU) is an abstract view of the hardware
1155
+ # utilization that Amazon Bedrock needs to host a single copy of your
1156
+ # custom model. A model copy represents a single instance of your
1157
+ # imported model that is ready to serve inference requests. Amazon
1158
+ # Bedrock determines the number of custom model units that a model copy
1159
+ # needs when you import the custom model.
1160
+ #
1161
+ # You can use `CustomModelUnits` to estimate the cost of running your
1162
+ # custom model. For more information, see Calculate the cost of running
1163
+ # a custom model in the Amazon Bedrock user guide.
1164
+ #
1165
+ # @!attribute [rw] custom_model_units_per_model_copy
1166
+ # The number of custom model units used to host a model copy.
1167
+ # @return [Integer]
1168
+ #
1169
+ # @!attribute [rw] custom_model_units_version
1170
+ # The version of the custom model unit. Use to determine the billing
1171
+ # rate for the custom model unit.
1172
+ # @return [String]
1173
+ #
1174
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CustomModelUnits AWS API Documentation
1175
+ #
1176
+ class CustomModelUnits < Struct.new(
1177
+ :custom_model_units_per_model_copy,
1178
+ :custom_model_units_version)
1179
+ SENSITIVE = []
1180
+ include Aws::Structure
1181
+ end
1182
+
1154
1183
  # A model customization configuration
1155
1184
  #
1156
1185
  # @note CustomizationConfig is a union - when making an API calls you must set exactly one of the members.
@@ -1571,6 +1600,32 @@ module Aws::Bedrock
1571
1600
  class Unknown < EvaluationInferenceConfig; end
1572
1601
  end
1573
1602
 
1603
+ # Identifies the models, Knowledge Bases, or other RAG sources evaluated
1604
+ # in a model or Knowledge Base evaluation job.
1605
+ #
1606
+ # @!attribute [rw] model_config_summary
1607
+ # A summary of the models used in an Amazon Bedrock model evaluation
1608
+ # job. These resources can be models in Amazon Bedrock or models
1609
+ # outside of Amazon Bedrock that you use to generate your own
1610
+ # inference response data.
1611
+ # @return [Types::EvaluationModelConfigSummary]
1612
+ #
1613
+ # @!attribute [rw] rag_config_summary
1614
+ # A summary of the RAG resources used in an Amazon Bedrock Knowledge
1615
+ # Base evaluation job. These resources can be Knowledge Bases in
1616
+ # Amazon Bedrock or RAG sources outside of Amazon Bedrock that you use
1617
+ # to generate your own inference response data.
1618
+ # @return [Types::EvaluationRagConfigSummary]
1619
+ #
1620
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/EvaluationInferenceConfigSummary AWS API Documentation
1621
+ #
1622
+ class EvaluationInferenceConfigSummary < Struct.new(
1623
+ :model_config_summary,
1624
+ :rag_config_summary)
1625
+ SENSITIVE = []
1626
+ include Aws::Structure
1627
+ end
1628
+
1574
1629
  # Defines the models used in the model evaluation job.
1575
1630
  #
1576
1631
  # @note EvaluationModelConfig is a union - when making an API calls you must set exactly one of the members.
@@ -1582,19 +1637,51 @@ module Aws::Bedrock
1582
1637
  # parameters you want used.
1583
1638
  # @return [Types::EvaluationBedrockModel]
1584
1639
  #
1640
+ # @!attribute [rw] precomputed_inference_source
1641
+ # Defines the model used to generate inference response data for a
1642
+ # model evaluation job where you provide your own inference response
1643
+ # data.
1644
+ # @return [Types::EvaluationPrecomputedInferenceSource]
1645
+ #
1585
1646
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/EvaluationModelConfig AWS API Documentation
1586
1647
  #
1587
1648
  class EvaluationModelConfig < Struct.new(
1588
1649
  :bedrock_model,
1650
+ :precomputed_inference_source,
1589
1651
  :unknown)
1590
1652
  SENSITIVE = []
1591
1653
  include Aws::Structure
1592
1654
  include Aws::Structure::Union
1593
1655
 
1594
1656
  class BedrockModel < EvaluationModelConfig; end
1657
+ class PrecomputedInferenceSource < EvaluationModelConfig; end
1595
1658
  class Unknown < EvaluationModelConfig; end
1596
1659
  end
1597
1660
 
1661
+ # A summary of the models used in an Amazon Bedrock model evaluation
1662
+ # job. These resources can be models in Amazon Bedrock or models outside
1663
+ # of Amazon Bedrock that you use to generate your own inference response
1664
+ # data.
1665
+ #
1666
+ # @!attribute [rw] bedrock_model_identifiers
1667
+ # The Amazon Resource Names (ARNs) of the models used for the
1668
+ # evaluation job.
1669
+ # @return [Array<String>]
1670
+ #
1671
+ # @!attribute [rw] precomputed_inference_source_identifiers
1672
+ # A label that identifies the models used for a model evaluation job
1673
+ # where you provide your own inference response data.
1674
+ # @return [Array<String>]
1675
+ #
1676
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/EvaluationModelConfigSummary AWS API Documentation
1677
+ #
1678
+ class EvaluationModelConfigSummary < Struct.new(
1679
+ :bedrock_model_identifiers,
1680
+ :precomputed_inference_source_identifiers)
1681
+ SENSITIVE = []
1682
+ include Aws::Structure
1683
+ end
1684
+
1598
1685
  # The Amazon S3 location where the results of your evaluation job are
1599
1686
  # saved.
1600
1687
  #
@@ -1610,6 +1697,115 @@ module Aws::Bedrock
1610
1697
  include Aws::Structure
1611
1698
  end
1612
1699
 
1700
+ # A summary of a model used for a model evaluation job where you provide
1701
+ # your own inference response data.
1702
+ #
1703
+ # @!attribute [rw] inference_source_identifier
1704
+ # A label that identifies a model used in a model evaluation job where
1705
+ # you provide your own inference response data.
1706
+ # @return [String]
1707
+ #
1708
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/EvaluationPrecomputedInferenceSource AWS API Documentation
1709
+ #
1710
+ class EvaluationPrecomputedInferenceSource < Struct.new(
1711
+ :inference_source_identifier)
1712
+ SENSITIVE = []
1713
+ include Aws::Structure
1714
+ end
1715
+
1716
+ # A summary of a RAG source used for a Knowledge Base evaluation job
1717
+ # where you provide your own inference response data.
1718
+ #
1719
+ # @note EvaluationPrecomputedRagSourceConfig is a union - when making an API calls you must set exactly one of the members.
1720
+ #
1721
+ # @note EvaluationPrecomputedRagSourceConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of EvaluationPrecomputedRagSourceConfig corresponding to the set member.
1722
+ #
1723
+ # @!attribute [rw] retrieve_source_config
1724
+ # A summary of a RAG source used for a retrieve-only Knowledge Base
1725
+ # evaluation job where you provide your own inference response data.
1726
+ # @return [Types::EvaluationPrecomputedRetrieveSourceConfig]
1727
+ #
1728
+ # @!attribute [rw] retrieve_and_generate_source_config
1729
+ # A summary of a RAG source used for a retrieve-and-generate Knowledge
1730
+ # Base evaluation job where you provide your own inference response
1731
+ # data.
1732
+ # @return [Types::EvaluationPrecomputedRetrieveAndGenerateSourceConfig]
1733
+ #
1734
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/EvaluationPrecomputedRagSourceConfig AWS API Documentation
1735
+ #
1736
+ class EvaluationPrecomputedRagSourceConfig < Struct.new(
1737
+ :retrieve_source_config,
1738
+ :retrieve_and_generate_source_config,
1739
+ :unknown)
1740
+ SENSITIVE = []
1741
+ include Aws::Structure
1742
+ include Aws::Structure::Union
1743
+
1744
+ class RetrieveSourceConfig < EvaluationPrecomputedRagSourceConfig; end
1745
+ class RetrieveAndGenerateSourceConfig < EvaluationPrecomputedRagSourceConfig; end
1746
+ class Unknown < EvaluationPrecomputedRagSourceConfig; end
1747
+ end
1748
+
1749
+ # A summary of a RAG source used for a retrieve-and-generate Knowledge
1750
+ # Base evaluation job where you provide your own inference response
1751
+ # data.
1752
+ #
1753
+ # @!attribute [rw] rag_source_identifier
1754
+ # A label that identifies the RAG source used for a
1755
+ # retrieve-and-generate Knowledge Base evaluation job where you
1756
+ # provide your own inference response data.
1757
+ # @return [String]
1758
+ #
1759
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/EvaluationPrecomputedRetrieveAndGenerateSourceConfig AWS API Documentation
1760
+ #
1761
+ class EvaluationPrecomputedRetrieveAndGenerateSourceConfig < Struct.new(
1762
+ :rag_source_identifier)
1763
+ SENSITIVE = []
1764
+ include Aws::Structure
1765
+ end
1766
+
1767
+ # A summary of a RAG source used for a retrieve-only Knowledge Base
1768
+ # evaluation job where you provide your own inference response data.
1769
+ #
1770
+ # @!attribute [rw] rag_source_identifier
1771
+ # A label that identifies the RAG source used for a retrieve-only
1772
+ # Knowledge Base evaluation job where you provide your own inference
1773
+ # response data.
1774
+ # @return [String]
1775
+ #
1776
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/EvaluationPrecomputedRetrieveSourceConfig AWS API Documentation
1777
+ #
1778
+ class EvaluationPrecomputedRetrieveSourceConfig < Struct.new(
1779
+ :rag_source_identifier)
1780
+ SENSITIVE = []
1781
+ include Aws::Structure
1782
+ end
1783
+
1784
+ # A summary of the RAG resources used in an Amazon Bedrock Knowledge
1785
+ # Base evaluation job. These resources can be Knowledge Bases in Amazon
1786
+ # Bedrock or RAG sources outside of Amazon Bedrock that you use to
1787
+ # generate your own inference response data.
1788
+ #
1789
+ # @!attribute [rw] bedrock_knowledge_base_identifiers
1790
+ # The Amazon Resource Names (ARNs) of the Knowledge Base resources
1791
+ # used for a Knowledge Base evaluation job where Amazon Bedrock
1792
+ # invokes the Knowledge Base for you.
1793
+ # @return [Array<String>]
1794
+ #
1795
+ # @!attribute [rw] precomputed_rag_source_identifiers
1796
+ # A label that identifies the RAG sources used for a Knowledge Base
1797
+ # evaluation job where you provide your own inference response data.
1798
+ # @return [Array<String>]
1799
+ #
1800
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/EvaluationRagConfigSummary AWS API Documentation
1801
+ #
1802
+ class EvaluationRagConfigSummary < Struct.new(
1803
+ :bedrock_knowledge_base_identifiers,
1804
+ :precomputed_rag_source_identifiers)
1805
+ SENSITIVE = []
1806
+ include Aws::Structure
1807
+ end
1808
+
1613
1809
  # Summary information of an evaluation job.
1614
1810
  #
1615
1811
  # @!attribute [rw] job_arn
@@ -1651,6 +1847,11 @@ module Aws::Bedrock
1651
1847
  # metrics for a knowledge base evaluation job.
1652
1848
  # @return [Array<String>]
1653
1849
  #
1850
+ # @!attribute [rw] inference_config_summary
1851
+ # Identifies the models, Knowledge Bases, or other RAG sources
1852
+ # evaluated in a model or Knowledge Base evaluation job.
1853
+ # @return [Types::EvaluationInferenceConfigSummary]
1854
+ #
1654
1855
  # @!attribute [rw] application_type
1655
1856
  # Specifies whether the evaluation job is for evaluating a model or
1656
1857
  # evaluating a knowledge base (retrieval and response generation).
@@ -1668,6 +1869,7 @@ module Aws::Bedrock
1668
1869
  :model_identifiers,
1669
1870
  :rag_identifiers,
1670
1871
  :evaluator_model_identifiers,
1872
+ :inference_config_summary,
1671
1873
  :application_type)
1672
1874
  SENSITIVE = []
1673
1875
  include Aws::Structure
@@ -2375,6 +2577,11 @@ module Aws::Bedrock
2375
2577
  # Specifies if the imported model supports converse.
2376
2578
  # @return [Boolean]
2377
2579
  #
2580
+ # @!attribute [rw] custom_model_units
2581
+ # Information about the hardware utilization for a single copy of the
2582
+ # model.
2583
+ # @return [Types::CustomModelUnits]
2584
+ #
2378
2585
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetImportedModelResponse AWS API Documentation
2379
2586
  #
2380
2587
  class GetImportedModelResponse < Struct.new(
@@ -2386,7 +2593,8 @@ module Aws::Bedrock
2386
2593
  :creation_time,
2387
2594
  :model_architecture,
2388
2595
  :model_kms_key_arn,
2389
- :instruct_supported)
2596
+ :instruct_supported,
2597
+ :custom_model_units)
2390
2598
  SENSITIVE = []
2391
2599
  include Aws::Structure
2392
2600
  end
@@ -6315,16 +6523,23 @@ module Aws::Bedrock
6315
6523
  # response generation.
6316
6524
  # @return [Types::KnowledgeBaseConfig]
6317
6525
  #
6526
+ # @!attribute [rw] precomputed_rag_source_config
6527
+ # Contains configuration details about the RAG source used to generate
6528
+ # inference response data for a Knowledge Base evaluation job.
6529
+ # @return [Types::EvaluationPrecomputedRagSourceConfig]
6530
+ #
6318
6531
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/RAGConfig AWS API Documentation
6319
6532
  #
6320
6533
  class RAGConfig < Struct.new(
6321
6534
  :knowledge_base_config,
6535
+ :precomputed_rag_source_config,
6322
6536
  :unknown)
6323
6537
  SENSITIVE = []
6324
6538
  include Aws::Structure
6325
6539
  include Aws::Structure::Union
6326
6540
 
6327
6541
  class KnowledgeBaseConfig < RAGConfig; end
6542
+ class PrecomputedRagSourceConfig < RAGConfig; end
6328
6543
  class Unknown < RAGConfig; end
6329
6544
  end
6330
6545
 
@@ -55,7 +55,7 @@ module Aws::Bedrock
55
55
  autoload :EndpointProvider, 'aws-sdk-bedrock/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-bedrock/endpoints'
57
57
 
58
- GEM_VERSION = '1.38.0'
58
+ GEM_VERSION = '1.40.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -163,6 +163,9 @@ module Aws
163
163
  performance_config: {
164
164
  latency: ("standard" | "optimized")?
165
165
  }?
166
+ }?,
167
+ precomputed_inference_source: {
168
+ inference_source_identifier: ::String
166
169
  }?
167
170
  },
168
171
  ]?,
@@ -376,6 +379,14 @@ module Aws
376
379
  }?
377
380
  }?
378
381
  }?
382
+ }?,
383
+ precomputed_rag_source_config: {
384
+ retrieve_source_config: {
385
+ rag_source_identifier: ::String
386
+ }?,
387
+ retrieve_and_generate_source_config: {
388
+ rag_source_identifier: ::String
389
+ }?
379
390
  }?
380
391
  },
381
392
  ]?
@@ -927,6 +938,7 @@ module Aws
927
938
  def model_architecture: () -> ::String
928
939
  def model_kms_key_arn: () -> ::String
929
940
  def instruct_supported: () -> bool
941
+ def custom_model_units: () -> Types::CustomModelUnits
930
942
  end
931
943
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_imported_model-instance_method
932
944
  def get_imported_model: (
data/sig/types.rbs CHANGED
@@ -269,6 +269,12 @@ module Aws::Bedrock
269
269
  SENSITIVE: []
270
270
  end
271
271
 
272
+ class CustomModelUnits
273
+ attr_accessor custom_model_units_per_model_copy: ::Integer
274
+ attr_accessor custom_model_units_version: ::String
275
+ SENSITIVE: []
276
+ end
277
+
272
278
  class CustomizationConfig
273
279
  attr_accessor distillation_config: Types::DistillationConfig
274
280
  attr_accessor unknown: untyped
@@ -426,22 +432,72 @@ module Aws::Bedrock
426
432
  end
427
433
  end
428
434
 
435
+ class EvaluationInferenceConfigSummary
436
+ attr_accessor model_config_summary: Types::EvaluationModelConfigSummary
437
+ attr_accessor rag_config_summary: Types::EvaluationRagConfigSummary
438
+ SENSITIVE: []
439
+ end
440
+
429
441
  class EvaluationModelConfig
430
442
  attr_accessor bedrock_model: Types::EvaluationBedrockModel
443
+ attr_accessor precomputed_inference_source: Types::EvaluationPrecomputedInferenceSource
431
444
  attr_accessor unknown: untyped
432
445
  SENSITIVE: []
433
446
 
434
447
  class BedrockModel < EvaluationModelConfig
435
448
  end
449
+ class PrecomputedInferenceSource < EvaluationModelConfig
450
+ end
436
451
  class Unknown < EvaluationModelConfig
437
452
  end
438
453
  end
439
454
 
455
+ class EvaluationModelConfigSummary
456
+ attr_accessor bedrock_model_identifiers: ::Array[::String]
457
+ attr_accessor precomputed_inference_source_identifiers: ::Array[::String]
458
+ SENSITIVE: []
459
+ end
460
+
440
461
  class EvaluationOutputDataConfig
441
462
  attr_accessor s3_uri: ::String
442
463
  SENSITIVE: []
443
464
  end
444
465
 
466
+ class EvaluationPrecomputedInferenceSource
467
+ attr_accessor inference_source_identifier: ::String
468
+ SENSITIVE: []
469
+ end
470
+
471
+ class EvaluationPrecomputedRagSourceConfig
472
+ attr_accessor retrieve_source_config: Types::EvaluationPrecomputedRetrieveSourceConfig
473
+ attr_accessor retrieve_and_generate_source_config: Types::EvaluationPrecomputedRetrieveAndGenerateSourceConfig
474
+ attr_accessor unknown: untyped
475
+ SENSITIVE: []
476
+
477
+ class RetrieveSourceConfig < EvaluationPrecomputedRagSourceConfig
478
+ end
479
+ class RetrieveAndGenerateSourceConfig < EvaluationPrecomputedRagSourceConfig
480
+ end
481
+ class Unknown < EvaluationPrecomputedRagSourceConfig
482
+ end
483
+ end
484
+
485
+ class EvaluationPrecomputedRetrieveAndGenerateSourceConfig
486
+ attr_accessor rag_source_identifier: ::String
487
+ SENSITIVE: []
488
+ end
489
+
490
+ class EvaluationPrecomputedRetrieveSourceConfig
491
+ attr_accessor rag_source_identifier: ::String
492
+ SENSITIVE: []
493
+ end
494
+
495
+ class EvaluationRagConfigSummary
496
+ attr_accessor bedrock_knowledge_base_identifiers: ::Array[::String]
497
+ attr_accessor precomputed_rag_source_identifiers: ::Array[::String]
498
+ SENSITIVE: []
499
+ end
500
+
445
501
  class EvaluationSummary
446
502
  attr_accessor job_arn: ::String
447
503
  attr_accessor job_name: ::String
@@ -452,6 +508,7 @@ module Aws::Bedrock
452
508
  attr_accessor model_identifiers: ::Array[::String]
453
509
  attr_accessor rag_identifiers: ::Array[::String]
454
510
  attr_accessor evaluator_model_identifiers: ::Array[::String]
511
+ attr_accessor inference_config_summary: Types::EvaluationInferenceConfigSummary
455
512
  attr_accessor application_type: ("ModelEvaluation" | "RagEvaluation")
456
513
  SENSITIVE: []
457
514
  end
@@ -636,6 +693,7 @@ module Aws::Bedrock
636
693
  attr_accessor model_architecture: ::String
637
694
  attr_accessor model_kms_key_arn: ::String
638
695
  attr_accessor instruct_supported: bool
696
+ attr_accessor custom_model_units: Types::CustomModelUnits
639
697
  SENSITIVE: []
640
698
  end
641
699
 
@@ -1534,11 +1592,14 @@ module Aws::Bedrock
1534
1592
 
1535
1593
  class RAGConfig
1536
1594
  attr_accessor knowledge_base_config: Types::KnowledgeBaseConfig
1595
+ attr_accessor precomputed_rag_source_config: Types::EvaluationPrecomputedRagSourceConfig
1537
1596
  attr_accessor unknown: untyped
1538
1597
  SENSITIVE: []
1539
1598
 
1540
1599
  class KnowledgeBaseConfig < RAGConfig
1541
1600
  end
1601
+ class PrecomputedRagSourceConfig < RAGConfig
1602
+ end
1542
1603
  class Unknown < RAGConfig
1543
1604
  end
1544
1605
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrock
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.38.0
4
+ version: 1.40.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-19 00:00:00.000000000 Z
11
+ date: 2025-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core