aws-sdk-bedrockagent 1.28.0 → 1.29.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 +4 -17
- data/lib/aws-sdk-bedrockagent/client_api.rb +1 -2
- data/lib/aws-sdk-bedrockagent/types.rb +0 -6
- data/lib/aws-sdk-bedrockagent.rb +1 -1
- data/sig/client.rbs +2 -6
- data/sig/types.rbs +0 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9d871867ec06b77383fb775823ce828fa32010851e1c1f59da3a78edcf6dc24f
|
|
4
|
+
data.tar.gz: e8e657baf61533d331c41068d5a83c4406fe5d7d3d8d80751e667cff4d994ca2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 17571e080dac909f81c1c1dd7b7983d7f65d39f12c45864c117ce40d7de51082d65d87f543ad8551d3192309d1555c4b125222fb9be7fe6c3b66eec2008f68d3
|
|
7
|
+
data.tar.gz: cda09c3a4f02ca485ac5877d7fa418ec0d02209159be8c39edd03c179e08e6aac8aafd6ba8d3ff65023c77a5d385d87dfd96bd662a282bb682389aab17aad192
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.29.0 (2024-10-17)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Removing support for topK property in PromptModelInferenceConfiguration object, Making PromptTemplateConfiguration property as required, Limiting the maximum PromptVariant to 1
|
|
8
|
+
|
|
4
9
|
1.28.0 (2024-10-01)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.29.0
|
|
@@ -1393,7 +1393,6 @@ module Aws::BedrockAgent
|
|
|
1393
1393
|
# max_tokens: 1,
|
|
1394
1394
|
# stop_sequences: ["String"],
|
|
1395
1395
|
# temperature: 1.0,
|
|
1396
|
-
# top_k: 1,
|
|
1397
1396
|
# top_p: 1.0,
|
|
1398
1397
|
# },
|
|
1399
1398
|
# },
|
|
@@ -1483,7 +1482,6 @@ module Aws::BedrockAgent
|
|
|
1483
1482
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.stop_sequences #=> Array
|
|
1484
1483
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.stop_sequences[0] #=> String
|
|
1485
1484
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.temperature #=> Float
|
|
1486
|
-
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.top_k #=> Integer
|
|
1487
1485
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.top_p #=> Float
|
|
1488
1486
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.model_id #=> String
|
|
1489
1487
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.text.input_variables #=> Array
|
|
@@ -1684,7 +1682,6 @@ module Aws::BedrockAgent
|
|
|
1684
1682
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.stop_sequences #=> Array
|
|
1685
1683
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.stop_sequences[0] #=> String
|
|
1686
1684
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.temperature #=> Float
|
|
1687
|
-
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.top_k #=> Integer
|
|
1688
1685
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.top_p #=> Float
|
|
1689
1686
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.model_id #=> String
|
|
1690
1687
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.text.input_variables #=> Array
|
|
@@ -2027,7 +2024,6 @@ module Aws::BedrockAgent
|
|
|
2027
2024
|
# max_tokens: 1,
|
|
2028
2025
|
# stop_sequences: ["String"],
|
|
2029
2026
|
# temperature: 1.0,
|
|
2030
|
-
# top_k: 1,
|
|
2031
2027
|
# top_p: 1.0,
|
|
2032
2028
|
# },
|
|
2033
2029
|
# },
|
|
@@ -2039,7 +2035,7 @@ module Aws::BedrockAgent
|
|
|
2039
2035
|
# ],
|
|
2040
2036
|
# model_id: "PromptModelIdentifier",
|
|
2041
2037
|
# name: "PromptVariantName", # required
|
|
2042
|
-
# template_configuration: {
|
|
2038
|
+
# template_configuration: { # required
|
|
2043
2039
|
# text: {
|
|
2044
2040
|
# input_variables: [
|
|
2045
2041
|
# {
|
|
@@ -2069,7 +2065,6 @@ module Aws::BedrockAgent
|
|
|
2069
2065
|
# resp.variants[0].inference_configuration.text.stop_sequences #=> Array
|
|
2070
2066
|
# resp.variants[0].inference_configuration.text.stop_sequences[0] #=> String
|
|
2071
2067
|
# resp.variants[0].inference_configuration.text.temperature #=> Float
|
|
2072
|
-
# resp.variants[0].inference_configuration.text.top_k #=> Integer
|
|
2073
2068
|
# resp.variants[0].inference_configuration.text.top_p #=> Float
|
|
2074
2069
|
# resp.variants[0].metadata #=> Array
|
|
2075
2070
|
# resp.variants[0].metadata[0].key #=> String
|
|
@@ -2166,7 +2161,6 @@ module Aws::BedrockAgent
|
|
|
2166
2161
|
# resp.variants[0].inference_configuration.text.stop_sequences #=> Array
|
|
2167
2162
|
# resp.variants[0].inference_configuration.text.stop_sequences[0] #=> String
|
|
2168
2163
|
# resp.variants[0].inference_configuration.text.temperature #=> Float
|
|
2169
|
-
# resp.variants[0].inference_configuration.text.top_k #=> Integer
|
|
2170
2164
|
# resp.variants[0].inference_configuration.text.top_p #=> Float
|
|
2171
2165
|
# resp.variants[0].metadata #=> Array
|
|
2172
2166
|
# resp.variants[0].metadata[0].key #=> String
|
|
@@ -3044,7 +3038,6 @@ module Aws::BedrockAgent
|
|
|
3044
3038
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.stop_sequences #=> Array
|
|
3045
3039
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.stop_sequences[0] #=> String
|
|
3046
3040
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.temperature #=> Float
|
|
3047
|
-
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.top_k #=> Integer
|
|
3048
3041
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.top_p #=> Float
|
|
3049
3042
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.model_id #=> String
|
|
3050
3043
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.text.input_variables #=> Array
|
|
@@ -3196,7 +3189,6 @@ module Aws::BedrockAgent
|
|
|
3196
3189
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.stop_sequences #=> Array
|
|
3197
3190
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.stop_sequences[0] #=> String
|
|
3198
3191
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.temperature #=> Float
|
|
3199
|
-
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.top_k #=> Integer
|
|
3200
3192
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.top_p #=> Float
|
|
3201
3193
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.model_id #=> String
|
|
3202
3194
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.text.input_variables #=> Array
|
|
@@ -3232,7 +3224,7 @@ module Aws::BedrockAgent
|
|
|
3232
3224
|
end
|
|
3233
3225
|
|
|
3234
3226
|
# Gets information about a data ingestion job. Data sources are ingested
|
|
3235
|
-
# into your knowledge base so that Large
|
|
3227
|
+
# into your knowledge base so that Large Language Models (LLMs) can use
|
|
3236
3228
|
# your data.
|
|
3237
3229
|
#
|
|
3238
3230
|
# @option params [required, String] :data_source_id
|
|
@@ -3417,7 +3409,6 @@ module Aws::BedrockAgent
|
|
|
3417
3409
|
# resp.variants[0].inference_configuration.text.stop_sequences #=> Array
|
|
3418
3410
|
# resp.variants[0].inference_configuration.text.stop_sequences[0] #=> String
|
|
3419
3411
|
# resp.variants[0].inference_configuration.text.temperature #=> Float
|
|
3420
|
-
# resp.variants[0].inference_configuration.text.top_k #=> Integer
|
|
3421
3412
|
# resp.variants[0].inference_configuration.text.top_p #=> Float
|
|
3422
3413
|
# resp.variants[0].metadata #=> Array
|
|
3423
3414
|
# resp.variants[0].metadata[0].key #=> String
|
|
@@ -5211,7 +5202,6 @@ module Aws::BedrockAgent
|
|
|
5211
5202
|
# max_tokens: 1,
|
|
5212
5203
|
# stop_sequences: ["String"],
|
|
5213
5204
|
# temperature: 1.0,
|
|
5214
|
-
# top_k: 1,
|
|
5215
5205
|
# top_p: 1.0,
|
|
5216
5206
|
# },
|
|
5217
5207
|
# },
|
|
@@ -5299,7 +5289,6 @@ module Aws::BedrockAgent
|
|
|
5299
5289
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.stop_sequences #=> Array
|
|
5300
5290
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.stop_sequences[0] #=> String
|
|
5301
5291
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.temperature #=> Float
|
|
5302
|
-
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.top_k #=> Integer
|
|
5303
5292
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.inference_configuration.text.top_p #=> Float
|
|
5304
5293
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.model_id #=> String
|
|
5305
5294
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.text.input_variables #=> Array
|
|
@@ -5649,7 +5638,6 @@ module Aws::BedrockAgent
|
|
|
5649
5638
|
# max_tokens: 1,
|
|
5650
5639
|
# stop_sequences: ["String"],
|
|
5651
5640
|
# temperature: 1.0,
|
|
5652
|
-
# top_k: 1,
|
|
5653
5641
|
# top_p: 1.0,
|
|
5654
5642
|
# },
|
|
5655
5643
|
# },
|
|
@@ -5661,7 +5649,7 @@ module Aws::BedrockAgent
|
|
|
5661
5649
|
# ],
|
|
5662
5650
|
# model_id: "PromptModelIdentifier",
|
|
5663
5651
|
# name: "PromptVariantName", # required
|
|
5664
|
-
# template_configuration: {
|
|
5652
|
+
# template_configuration: { # required
|
|
5665
5653
|
# text: {
|
|
5666
5654
|
# input_variables: [
|
|
5667
5655
|
# {
|
|
@@ -5691,7 +5679,6 @@ module Aws::BedrockAgent
|
|
|
5691
5679
|
# resp.variants[0].inference_configuration.text.stop_sequences #=> Array
|
|
5692
5680
|
# resp.variants[0].inference_configuration.text.stop_sequences[0] #=> String
|
|
5693
5681
|
# resp.variants[0].inference_configuration.text.temperature #=> Float
|
|
5694
|
-
# resp.variants[0].inference_configuration.text.top_k #=> Integer
|
|
5695
5682
|
# resp.variants[0].inference_configuration.text.top_p #=> Float
|
|
5696
5683
|
# resp.variants[0].metadata #=> Array
|
|
5697
5684
|
# resp.variants[0].metadata[0].key #=> String
|
|
@@ -5731,7 +5718,7 @@ module Aws::BedrockAgent
|
|
|
5731
5718
|
tracer: tracer
|
|
5732
5719
|
)
|
|
5733
5720
|
context[:gem_name] = 'aws-sdk-bedrockagent'
|
|
5734
|
-
context[:gem_version] = '1.
|
|
5721
|
+
context[:gem_version] = '1.29.0'
|
|
5735
5722
|
Seahorse::Client::Request.new(handlers, context)
|
|
5736
5723
|
end
|
|
5737
5724
|
|
|
@@ -1606,7 +1606,6 @@ module Aws::BedrockAgent
|
|
|
1606
1606
|
PromptModelInferenceConfiguration.add_member(:max_tokens, Shapes::ShapeRef.new(shape: MaximumLength, location_name: "maxTokens"))
|
|
1607
1607
|
PromptModelInferenceConfiguration.add_member(:stop_sequences, Shapes::ShapeRef.new(shape: StopSequences, location_name: "stopSequences"))
|
|
1608
1608
|
PromptModelInferenceConfiguration.add_member(:temperature, Shapes::ShapeRef.new(shape: Temperature, location_name: "temperature"))
|
|
1609
|
-
PromptModelInferenceConfiguration.add_member(:top_k, Shapes::ShapeRef.new(shape: TopK, location_name: "topK"))
|
|
1610
1609
|
PromptModelInferenceConfiguration.add_member(:top_p, Shapes::ShapeRef.new(shape: TopP, location_name: "topP"))
|
|
1611
1610
|
PromptModelInferenceConfiguration.struct_class = Types::PromptModelInferenceConfiguration
|
|
1612
1611
|
|
|
@@ -1635,7 +1634,7 @@ module Aws::BedrockAgent
|
|
|
1635
1634
|
PromptVariant.add_member(:metadata, Shapes::ShapeRef.new(shape: PromptMetadataList, location_name: "metadata"))
|
|
1636
1635
|
PromptVariant.add_member(:model_id, Shapes::ShapeRef.new(shape: PromptModelIdentifier, location_name: "modelId"))
|
|
1637
1636
|
PromptVariant.add_member(:name, Shapes::ShapeRef.new(shape: PromptVariantName, required: true, location_name: "name"))
|
|
1638
|
-
PromptVariant.add_member(:template_configuration, Shapes::ShapeRef.new(shape: PromptTemplateConfiguration, location_name: "templateConfiguration"))
|
|
1637
|
+
PromptVariant.add_member(:template_configuration, Shapes::ShapeRef.new(shape: PromptTemplateConfiguration, required: true, location_name: "templateConfiguration"))
|
|
1639
1638
|
PromptVariant.add_member(:template_type, Shapes::ShapeRef.new(shape: PromptTemplateType, required: true, location_name: "templateType"))
|
|
1640
1639
|
PromptVariant.struct_class = Types::PromptVariant
|
|
1641
1640
|
|
|
@@ -6058,11 +6058,6 @@ module Aws::BedrockAgent
|
|
|
6058
6058
|
# outputs.
|
|
6059
6059
|
# @return [Float]
|
|
6060
6060
|
#
|
|
6061
|
-
# @!attribute [rw] top_k
|
|
6062
|
-
# The number of most-likely candidates that the model considers for
|
|
6063
|
-
# the next token during generation.
|
|
6064
|
-
# @return [Integer]
|
|
6065
|
-
#
|
|
6066
6061
|
# @!attribute [rw] top_p
|
|
6067
6062
|
# The percentage of most-likely candidates that the model considers
|
|
6068
6063
|
# for the next token.
|
|
@@ -6074,7 +6069,6 @@ module Aws::BedrockAgent
|
|
|
6074
6069
|
:max_tokens,
|
|
6075
6070
|
:stop_sequences,
|
|
6076
6071
|
:temperature,
|
|
6077
|
-
:top_k,
|
|
6078
6072
|
:top_p)
|
|
6079
6073
|
SENSITIVE = []
|
|
6080
6074
|
include Aws::Structure
|
data/lib/aws-sdk-bedrockagent.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -431,7 +431,6 @@ module Aws
|
|
|
431
431
|
max_tokens: ::Integer?,
|
|
432
432
|
stop_sequences: Array[::String]?,
|
|
433
433
|
temperature: ::Float?,
|
|
434
|
-
top_k: ::Integer?,
|
|
435
434
|
top_p: ::Float?
|
|
436
435
|
}?
|
|
437
436
|
}?,
|
|
@@ -649,7 +648,6 @@ module Aws
|
|
|
649
648
|
max_tokens: ::Integer?,
|
|
650
649
|
stop_sequences: Array[::String]?,
|
|
651
650
|
temperature: ::Float?,
|
|
652
|
-
top_k: ::Integer?,
|
|
653
651
|
top_p: ::Float?
|
|
654
652
|
}?
|
|
655
653
|
}?,
|
|
@@ -670,7 +668,7 @@ module Aws
|
|
|
670
668
|
]?,
|
|
671
669
|
text: ::String
|
|
672
670
|
}?
|
|
673
|
-
}
|
|
671
|
+
},
|
|
674
672
|
template_type: ("TEXT")
|
|
675
673
|
},
|
|
676
674
|
]
|
|
@@ -1600,7 +1598,6 @@ module Aws
|
|
|
1600
1598
|
max_tokens: ::Integer?,
|
|
1601
1599
|
stop_sequences: Array[::String]?,
|
|
1602
1600
|
temperature: ::Float?,
|
|
1603
|
-
top_k: ::Integer?,
|
|
1604
1601
|
top_p: ::Float?
|
|
1605
1602
|
}?
|
|
1606
1603
|
}?,
|
|
@@ -1794,7 +1791,6 @@ module Aws
|
|
|
1794
1791
|
max_tokens: ::Integer?,
|
|
1795
1792
|
stop_sequences: Array[::String]?,
|
|
1796
1793
|
temperature: ::Float?,
|
|
1797
|
-
top_k: ::Integer?,
|
|
1798
1794
|
top_p: ::Float?
|
|
1799
1795
|
}?
|
|
1800
1796
|
}?,
|
|
@@ -1815,7 +1811,7 @@ module Aws
|
|
|
1815
1811
|
]?,
|
|
1816
1812
|
text: ::String
|
|
1817
1813
|
}?
|
|
1818
|
-
}
|
|
1814
|
+
},
|
|
1819
1815
|
template_type: ("TEXT")
|
|
1820
1816
|
},
|
|
1821
1817
|
]
|
data/sig/types.rbs
CHANGED
|
@@ -1485,7 +1485,6 @@ module Aws::BedrockAgent
|
|
|
1485
1485
|
attr_accessor max_tokens: ::Integer
|
|
1486
1486
|
attr_accessor stop_sequences: ::Array[::String]
|
|
1487
1487
|
attr_accessor temperature: ::Float
|
|
1488
|
-
attr_accessor top_k: ::Integer
|
|
1489
1488
|
attr_accessor top_p: ::Float
|
|
1490
1489
|
SENSITIVE: []
|
|
1491
1490
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-bedrockagent
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.29.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: 2024-10-
|
|
11
|
+
date: 2024-10-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|