aws-sdk-bedrockruntime 1.79.0 → 1.80.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-bedrockruntime/async_client.rb +1 -1
- data/lib/aws-sdk-bedrockruntime/client.rb +6 -6
- data/lib/aws-sdk-bedrockruntime.rb +1 -1
- data/sig/params.rbs +1 -1
- data/sig/types.rbs +2 -2
- 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: 763244b999635486db8fdbf419f5821213f4272feaab80bb3d04a2ebe2032bb3
|
|
4
|
+
data.tar.gz: de3a4e784bb5303e4abe7b64bed087d60a6e669aa47737ee7d9350cb6a8800d5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e2e1859baaa0a2f1dd284da72f8def4f4d8d148e5d8ac4e3f043e20899ae288a591f1f86e2afcf60f268900beb894600d35fa4c1e246fb132c4e7ee89f170aa4
|
|
7
|
+
data.tar.gz: 3993dbe642ca75d5faa34a3ff886167d25267ce25350590f689d82af96df9b9790df2dd54ea8ecfb1436e18c344879e4fa869d03d2c17c6f027ad8c148e280c7
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.80.0
|
|
@@ -942,7 +942,7 @@ module Aws::BedrockRuntime
|
|
|
942
942
|
# model_id: "ConversationalModelId", # required
|
|
943
943
|
# messages: [
|
|
944
944
|
# {
|
|
945
|
-
# role: "user", # required, accepts user, assistant
|
|
945
|
+
# role: "user", # required, accepts user, assistant, system
|
|
946
946
|
# content: [ # required
|
|
947
947
|
# {
|
|
948
948
|
# text: "String",
|
|
@@ -1257,7 +1257,7 @@ module Aws::BedrockRuntime
|
|
|
1257
1257
|
#
|
|
1258
1258
|
# @example Response structure
|
|
1259
1259
|
#
|
|
1260
|
-
# resp.output.message.role #=> String, one of "user", "assistant"
|
|
1260
|
+
# resp.output.message.role #=> String, one of "user", "assistant", "system"
|
|
1261
1261
|
# resp.output.message.content #=> Array
|
|
1262
1262
|
# resp.output.message.content[0].text #=> String
|
|
1263
1263
|
# resp.output.message.content[0].image.format #=> String, one of "png", "jpeg", "gif", "webp"
|
|
@@ -2090,7 +2090,7 @@ module Aws::BedrockRuntime
|
|
|
2090
2090
|
# model_id: "ConversationalModelId", # required
|
|
2091
2091
|
# messages: [
|
|
2092
2092
|
# {
|
|
2093
|
-
# role: "user", # required, accepts user, assistant
|
|
2093
|
+
# role: "user", # required, accepts user, assistant, system
|
|
2094
2094
|
# content: [ # required
|
|
2095
2095
|
# {
|
|
2096
2096
|
# text: "String",
|
|
@@ -2411,7 +2411,7 @@ module Aws::BedrockRuntime
|
|
|
2411
2411
|
# resp.stream.event_types #=> [:message_start, :content_block_start, :content_block_delta, :content_block_stop, :message_stop, :metadata, :internal_server_exception, :model_stream_error_exception, :validation_exception, :throttling_exception, :service_unavailable_exception]
|
|
2412
2412
|
#
|
|
2413
2413
|
# # For :message_start event available at #on_message_start_event callback and response eventstream enumerator:
|
|
2414
|
-
# event.role #=> String, one of "user", "assistant"
|
|
2414
|
+
# event.role #=> String, one of "user", "assistant", "system"
|
|
2415
2415
|
#
|
|
2416
2416
|
# # For :content_block_start event available at #on_content_block_start_event callback and response eventstream enumerator:
|
|
2417
2417
|
# event.start.tool_use.tool_use_id #=> String
|
|
@@ -2924,7 +2924,7 @@ module Aws::BedrockRuntime
|
|
|
2924
2924
|
# converse: {
|
|
2925
2925
|
# messages: [
|
|
2926
2926
|
# {
|
|
2927
|
-
# role: "user", # required, accepts user, assistant
|
|
2927
|
+
# role: "user", # required, accepts user, assistant, system
|
|
2928
2928
|
# content: [ # required
|
|
2929
2929
|
# {
|
|
2930
2930
|
# text: "String",
|
|
@@ -3932,7 +3932,7 @@ module Aws::BedrockRuntime
|
|
|
3932
3932
|
tracer: tracer
|
|
3933
3933
|
)
|
|
3934
3934
|
context[:gem_name] = 'aws-sdk-bedrockruntime'
|
|
3935
|
-
context[:gem_version] = '1.
|
|
3935
|
+
context[:gem_version] = '1.80.0'
|
|
3936
3936
|
Seahorse::Client::Request.new(handlers, context)
|
|
3937
3937
|
end
|
|
3938
3938
|
|
data/sig/params.rbs
CHANGED
data/sig/types.rbs
CHANGED
|
@@ -1010,13 +1010,13 @@ module Aws::BedrockRuntime
|
|
|
1010
1010
|
end
|
|
1011
1011
|
|
|
1012
1012
|
class Message
|
|
1013
|
-
attr_accessor role: ("user" | "assistant")
|
|
1013
|
+
attr_accessor role: ("user" | "assistant" | "system")
|
|
1014
1014
|
attr_accessor content: ::Array[Types::ContentBlock]
|
|
1015
1015
|
SENSITIVE: []
|
|
1016
1016
|
end
|
|
1017
1017
|
|
|
1018
1018
|
class MessageStartEvent
|
|
1019
|
-
attr_accessor role: ("user" | "assistant")
|
|
1019
|
+
attr_accessor role: ("user" | "assistant" | "system")
|
|
1020
1020
|
attr_accessor event_type: untyped
|
|
1021
1021
|
SENSITIVE: []
|
|
1022
1022
|
end
|