aws-sdk-bedrockruntime 1.11.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockruntime/client.rb +35 -1
- data/lib/aws-sdk-bedrockruntime/client_api.rb +20 -0
- data/lib/aws-sdk-bedrockruntime/types.rb +74 -0
- data/lib/aws-sdk-bedrockruntime.rb +1 -1
- data/sig/client.rbs +28 -0
- data/sig/types.rbs +24 -0
- 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: f590891a9fca80d3c4d905c4f212fb714fd8955351f7a4c7c0960117fcb28753
|
4
|
+
data.tar.gz: 66a18b65f050fb8b108420e7975b8a75589b42700867b5a7a7fe88d940054fa3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e38f14601aeb0fe29fd426d7bc39c7225576cd965d9e12c3223fdfcfa390983e5f424b481c05a54c53d5abd69ea0afb768ad227911200ba3d6a611ffb8af4f83
|
7
|
+
data.tar.gz: 79ac35dda4056de19937e014f057940d6d24f735830a32e8a7715dc1aa6db6f3917bbd98e15a3078fa68c5c27fb6d4453ee8d2ce961ee1cd764017c9e91da9ed
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.12.0
|
@@ -551,6 +551,13 @@ module Aws::BedrockRuntime
|
|
551
551
|
# bytes: "data",
|
552
552
|
# },
|
553
553
|
# },
|
554
|
+
# document: {
|
555
|
+
# format: "pdf", # required, accepts pdf, csv, doc, docx, xls, xlsx, html, txt, md
|
556
|
+
# name: "DocumentBlockNameString", # required
|
557
|
+
# source: { # required
|
558
|
+
# bytes: "data",
|
559
|
+
# },
|
560
|
+
# },
|
554
561
|
# tool_use: {
|
555
562
|
# tool_use_id: "ToolUseId", # required
|
556
563
|
# name: "ToolName", # required
|
@@ -570,6 +577,13 @@ module Aws::BedrockRuntime
|
|
570
577
|
# bytes: "data",
|
571
578
|
# },
|
572
579
|
# },
|
580
|
+
# document: {
|
581
|
+
# format: "pdf", # required, accepts pdf, csv, doc, docx, xls, xlsx, html, txt, md
|
582
|
+
# name: "DocumentBlockNameString", # required
|
583
|
+
# source: { # required
|
584
|
+
# bytes: "data",
|
585
|
+
# },
|
586
|
+
# },
|
573
587
|
# },
|
574
588
|
# ],
|
575
589
|
# status: "success", # accepts success, error
|
@@ -639,6 +653,9 @@ module Aws::BedrockRuntime
|
|
639
653
|
# resp.output.message.content[0].text #=> String
|
640
654
|
# resp.output.message.content[0].image.format #=> String, one of "png", "jpeg", "gif", "webp"
|
641
655
|
# resp.output.message.content[0].image.source.bytes #=> String
|
656
|
+
# resp.output.message.content[0].document.format #=> String, one of "pdf", "csv", "doc", "docx", "xls", "xlsx", "html", "txt", "md"
|
657
|
+
# resp.output.message.content[0].document.name #=> String
|
658
|
+
# resp.output.message.content[0].document.source.bytes #=> String
|
642
659
|
# resp.output.message.content[0].tool_use.tool_use_id #=> String
|
643
660
|
# resp.output.message.content[0].tool_use.name #=> String
|
644
661
|
# resp.output.message.content[0].tool_result.tool_use_id #=> String
|
@@ -646,6 +663,9 @@ module Aws::BedrockRuntime
|
|
646
663
|
# resp.output.message.content[0].tool_result.content[0].text #=> String
|
647
664
|
# resp.output.message.content[0].tool_result.content[0].image.format #=> String, one of "png", "jpeg", "gif", "webp"
|
648
665
|
# resp.output.message.content[0].tool_result.content[0].image.source.bytes #=> String
|
666
|
+
# resp.output.message.content[0].tool_result.content[0].document.format #=> String, one of "pdf", "csv", "doc", "docx", "xls", "xlsx", "html", "txt", "md"
|
667
|
+
# resp.output.message.content[0].tool_result.content[0].document.name #=> String
|
668
|
+
# resp.output.message.content[0].tool_result.content[0].document.source.bytes #=> String
|
649
669
|
# resp.output.message.content[0].tool_result.status #=> String, one of "success", "error"
|
650
670
|
# resp.output.message.content[0].guard_content.text.text #=> String
|
651
671
|
# resp.stop_reason #=> String, one of "end_turn", "tool_use", "max_tokens", "stop_sequence", "guardrail_intervened", "content_filtered"
|
@@ -1005,6 +1025,13 @@ module Aws::BedrockRuntime
|
|
1005
1025
|
# bytes: "data",
|
1006
1026
|
# },
|
1007
1027
|
# },
|
1028
|
+
# document: {
|
1029
|
+
# format: "pdf", # required, accepts pdf, csv, doc, docx, xls, xlsx, html, txt, md
|
1030
|
+
# name: "DocumentBlockNameString", # required
|
1031
|
+
# source: { # required
|
1032
|
+
# bytes: "data",
|
1033
|
+
# },
|
1034
|
+
# },
|
1008
1035
|
# tool_use: {
|
1009
1036
|
# tool_use_id: "ToolUseId", # required
|
1010
1037
|
# name: "ToolName", # required
|
@@ -1024,6 +1051,13 @@ module Aws::BedrockRuntime
|
|
1024
1051
|
# bytes: "data",
|
1025
1052
|
# },
|
1026
1053
|
# },
|
1054
|
+
# document: {
|
1055
|
+
# format: "pdf", # required, accepts pdf, csv, doc, docx, xls, xlsx, html, txt, md
|
1056
|
+
# name: "DocumentBlockNameString", # required
|
1057
|
+
# source: { # required
|
1058
|
+
# bytes: "data",
|
1059
|
+
# },
|
1060
|
+
# },
|
1027
1061
|
# },
|
1028
1062
|
# ],
|
1029
1063
|
# status: "success", # accepts success, error
|
@@ -1619,7 +1653,7 @@ module Aws::BedrockRuntime
|
|
1619
1653
|
params: params,
|
1620
1654
|
config: config)
|
1621
1655
|
context[:gem_name] = 'aws-sdk-bedrockruntime'
|
1622
|
-
context[:gem_version] = '1.
|
1656
|
+
context[:gem_version] = '1.12.0'
|
1623
1657
|
Seahorse::Client::Request.new(handlers, context)
|
1624
1658
|
end
|
1625
1659
|
|
@@ -42,6 +42,11 @@ module Aws::BedrockRuntime
|
|
42
42
|
ConverseStreamTrace = Shapes::StructureShape.new(name: 'ConverseStreamTrace')
|
43
43
|
ConverseTrace = Shapes::StructureShape.new(name: 'ConverseTrace')
|
44
44
|
Document = Shapes::DocumentShape.new(name: 'Document', document: true)
|
45
|
+
DocumentBlock = Shapes::StructureShape.new(name: 'DocumentBlock')
|
46
|
+
DocumentBlockNameString = Shapes::StringShape.new(name: 'DocumentBlockNameString')
|
47
|
+
DocumentFormat = Shapes::StringShape.new(name: 'DocumentFormat')
|
48
|
+
DocumentSource = Shapes::UnionShape.new(name: 'DocumentSource')
|
49
|
+
DocumentSourceBytesBlob = Shapes::BlobShape.new(name: 'DocumentSourceBytesBlob')
|
45
50
|
GuardrailAssessment = Shapes::StructureShape.new(name: 'GuardrailAssessment')
|
46
51
|
GuardrailAssessmentList = Shapes::ListShape.new(name: 'GuardrailAssessmentList')
|
47
52
|
GuardrailAssessmentListMap = Shapes::MapShape.new(name: 'GuardrailAssessmentListMap')
|
@@ -153,12 +158,14 @@ module Aws::BedrockRuntime
|
|
153
158
|
|
154
159
|
ContentBlock.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "text"))
|
155
160
|
ContentBlock.add_member(:image, Shapes::ShapeRef.new(shape: ImageBlock, location_name: "image"))
|
161
|
+
ContentBlock.add_member(:document, Shapes::ShapeRef.new(shape: DocumentBlock, location_name: "document"))
|
156
162
|
ContentBlock.add_member(:tool_use, Shapes::ShapeRef.new(shape: ToolUseBlock, location_name: "toolUse"))
|
157
163
|
ContentBlock.add_member(:tool_result, Shapes::ShapeRef.new(shape: ToolResultBlock, location_name: "toolResult"))
|
158
164
|
ContentBlock.add_member(:guard_content, Shapes::ShapeRef.new(shape: GuardrailConverseContentBlock, location_name: "guardContent"))
|
159
165
|
ContentBlock.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
160
166
|
ContentBlock.add_member_subclass(:text, Types::ContentBlock::Text)
|
161
167
|
ContentBlock.add_member_subclass(:image, Types::ContentBlock::Image)
|
168
|
+
ContentBlock.add_member_subclass(:document, Types::ContentBlock::Document)
|
162
169
|
ContentBlock.add_member_subclass(:tool_use, Types::ContentBlock::ToolUse)
|
163
170
|
ContentBlock.add_member_subclass(:tool_result, Types::ContentBlock::ToolResult)
|
164
171
|
ContentBlock.add_member_subclass(:guard_content, Types::ContentBlock::GuardContent)
|
@@ -264,6 +271,17 @@ module Aws::BedrockRuntime
|
|
264
271
|
ConverseTrace.add_member(:guardrail, Shapes::ShapeRef.new(shape: GuardrailTraceAssessment, location_name: "guardrail"))
|
265
272
|
ConverseTrace.struct_class = Types::ConverseTrace
|
266
273
|
|
274
|
+
DocumentBlock.add_member(:format, Shapes::ShapeRef.new(shape: DocumentFormat, required: true, location_name: "format"))
|
275
|
+
DocumentBlock.add_member(:name, Shapes::ShapeRef.new(shape: DocumentBlockNameString, required: true, location_name: "name"))
|
276
|
+
DocumentBlock.add_member(:source, Shapes::ShapeRef.new(shape: DocumentSource, required: true, location_name: "source"))
|
277
|
+
DocumentBlock.struct_class = Types::DocumentBlock
|
278
|
+
|
279
|
+
DocumentSource.add_member(:bytes, Shapes::ShapeRef.new(shape: DocumentSourceBytesBlob, location_name: "bytes"))
|
280
|
+
DocumentSource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
281
|
+
DocumentSource.add_member_subclass(:bytes, Types::DocumentSource::Bytes)
|
282
|
+
DocumentSource.add_member_subclass(:unknown, Types::DocumentSource::Unknown)
|
283
|
+
DocumentSource.struct_class = Types::DocumentSource
|
284
|
+
|
267
285
|
GuardrailAssessment.add_member(:topic_policy, Shapes::ShapeRef.new(shape: GuardrailTopicPolicyAssessment, location_name: "topicPolicy"))
|
268
286
|
GuardrailAssessment.add_member(:content_policy, Shapes::ShapeRef.new(shape: GuardrailContentPolicyAssessment, location_name: "contentPolicy"))
|
269
287
|
GuardrailAssessment.add_member(:word_policy, Shapes::ShapeRef.new(shape: GuardrailWordPolicyAssessment, location_name: "wordPolicy"))
|
@@ -519,10 +537,12 @@ module Aws::BedrockRuntime
|
|
519
537
|
ToolResultContentBlock.add_member(:json, Shapes::ShapeRef.new(shape: Document, location_name: "json"))
|
520
538
|
ToolResultContentBlock.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "text"))
|
521
539
|
ToolResultContentBlock.add_member(:image, Shapes::ShapeRef.new(shape: ImageBlock, location_name: "image"))
|
540
|
+
ToolResultContentBlock.add_member(:document, Shapes::ShapeRef.new(shape: DocumentBlock, location_name: "document"))
|
522
541
|
ToolResultContentBlock.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
523
542
|
ToolResultContentBlock.add_member_subclass(:json, Types::ToolResultContentBlock::Json)
|
524
543
|
ToolResultContentBlock.add_member_subclass(:text, Types::ToolResultContentBlock::Text)
|
525
544
|
ToolResultContentBlock.add_member_subclass(:image, Types::ToolResultContentBlock::Image)
|
545
|
+
ToolResultContentBlock.add_member_subclass(:document, Types::ToolResultContentBlock::Document)
|
526
546
|
ToolResultContentBlock.add_member_subclass(:unknown, Types::ToolResultContentBlock::Unknown)
|
527
547
|
ToolResultContentBlock.struct_class = Types::ToolResultContentBlock
|
528
548
|
|
@@ -60,6 +60,10 @@ module Aws::BedrockRuntime
|
|
60
60
|
# </note>
|
61
61
|
# @return [Types::ImageBlock]
|
62
62
|
#
|
63
|
+
# @!attribute [rw] document
|
64
|
+
# A document to include in the message.
|
65
|
+
# @return [Types::DocumentBlock]
|
66
|
+
#
|
63
67
|
# @!attribute [rw] tool_use
|
64
68
|
# Information about a tool use request from a model.
|
65
69
|
# @return [Types::ToolUseBlock]
|
@@ -82,6 +86,7 @@ module Aws::BedrockRuntime
|
|
82
86
|
class ContentBlock < Struct.new(
|
83
87
|
:text,
|
84
88
|
:image,
|
89
|
+
:document,
|
85
90
|
:tool_use,
|
86
91
|
:tool_result,
|
87
92
|
:guard_content,
|
@@ -92,6 +97,7 @@ module Aws::BedrockRuntime
|
|
92
97
|
|
93
98
|
class Text < ContentBlock; end
|
94
99
|
class Image < ContentBlock; end
|
100
|
+
class Document < ContentBlock; end
|
95
101
|
class ToolUse < ContentBlock; end
|
96
102
|
class ToolResult < ContentBlock; end
|
97
103
|
class GuardContent < ContentBlock; end
|
@@ -564,6 +570,68 @@ module Aws::BedrockRuntime
|
|
564
570
|
include Aws::Structure
|
565
571
|
end
|
566
572
|
|
573
|
+
# A document to include in a message when sending a [Converse][1] or
|
574
|
+
# [ConverseStream][2] request. You can include up to 5 documents in a
|
575
|
+
# request. The maximum document size is 50 MB.
|
576
|
+
#
|
577
|
+
#
|
578
|
+
#
|
579
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html
|
580
|
+
# [2]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html
|
581
|
+
#
|
582
|
+
# @!attribute [rw] format
|
583
|
+
# The format of a document, or its extension.
|
584
|
+
# @return [String]
|
585
|
+
#
|
586
|
+
# @!attribute [rw] name
|
587
|
+
# A name for the document.
|
588
|
+
# @return [String]
|
589
|
+
#
|
590
|
+
# @!attribute [rw] source
|
591
|
+
# Contains the content of the document.
|
592
|
+
# @return [Types::DocumentSource]
|
593
|
+
#
|
594
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/DocumentBlock AWS API Documentation
|
595
|
+
#
|
596
|
+
class DocumentBlock < Struct.new(
|
597
|
+
:format,
|
598
|
+
:name,
|
599
|
+
:source)
|
600
|
+
SENSITIVE = []
|
601
|
+
include Aws::Structure
|
602
|
+
end
|
603
|
+
|
604
|
+
# Contains the content of the document included in a message when
|
605
|
+
# sending a [Converse][1] or [ConverseStream][2] request or in the
|
606
|
+
# response.
|
607
|
+
#
|
608
|
+
#
|
609
|
+
#
|
610
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html
|
611
|
+
# [2]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html
|
612
|
+
#
|
613
|
+
# @note DocumentSource is a union - when making an API calls you must set exactly one of the members.
|
614
|
+
#
|
615
|
+
# @note DocumentSource is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of DocumentSource corresponding to the set member.
|
616
|
+
#
|
617
|
+
# @!attribute [rw] bytes
|
618
|
+
# A base64-encoded string of a UTF-8 encoded file, that is the
|
619
|
+
# document to include in the message.
|
620
|
+
# @return [String]
|
621
|
+
#
|
622
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/DocumentSource AWS API Documentation
|
623
|
+
#
|
624
|
+
class DocumentSource < Struct.new(
|
625
|
+
:bytes,
|
626
|
+
:unknown)
|
627
|
+
SENSITIVE = []
|
628
|
+
include Aws::Structure
|
629
|
+
include Aws::Structure::Union
|
630
|
+
|
631
|
+
class Bytes < DocumentSource; end
|
632
|
+
class Unknown < DocumentSource; end
|
633
|
+
end
|
634
|
+
|
567
635
|
# A behavior assessment of the guardrail policies used in a call to the
|
568
636
|
# Converse API.
|
569
637
|
#
|
@@ -1704,12 +1772,17 @@ module Aws::BedrockRuntime
|
|
1704
1772
|
# </note>
|
1705
1773
|
# @return [Types::ImageBlock]
|
1706
1774
|
#
|
1775
|
+
# @!attribute [rw] document
|
1776
|
+
# A tool result that is a document.
|
1777
|
+
# @return [Types::DocumentBlock]
|
1778
|
+
#
|
1707
1779
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/ToolResultContentBlock AWS API Documentation
|
1708
1780
|
#
|
1709
1781
|
class ToolResultContentBlock < Struct.new(
|
1710
1782
|
:json,
|
1711
1783
|
:text,
|
1712
1784
|
:image,
|
1785
|
+
:document,
|
1713
1786
|
:unknown)
|
1714
1787
|
SENSITIVE = []
|
1715
1788
|
include Aws::Structure
|
@@ -1718,6 +1791,7 @@ module Aws::BedrockRuntime
|
|
1718
1791
|
class Json < ToolResultContentBlock; end
|
1719
1792
|
class Text < ToolResultContentBlock; end
|
1720
1793
|
class Image < ToolResultContentBlock; end
|
1794
|
+
class Document < ToolResultContentBlock; end
|
1721
1795
|
class Unknown < ToolResultContentBlock; end
|
1722
1796
|
end
|
1723
1797
|
|
data/sig/client.rbs
CHANGED
@@ -99,6 +99,13 @@ module Aws
|
|
99
99
|
bytes: ::String?
|
100
100
|
}
|
101
101
|
}?,
|
102
|
+
document: {
|
103
|
+
format: ("pdf" | "csv" | "doc" | "docx" | "xls" | "xlsx" | "html" | "txt" | "md"),
|
104
|
+
name: ::String,
|
105
|
+
source: {
|
106
|
+
bytes: ::String?
|
107
|
+
}
|
108
|
+
}?,
|
102
109
|
tool_use: {
|
103
110
|
tool_use_id: ::String,
|
104
111
|
name: ::String,
|
@@ -117,6 +124,13 @@ module Aws
|
|
117
124
|
source: {
|
118
125
|
bytes: ::String?
|
119
126
|
}
|
127
|
+
}?,
|
128
|
+
document: {
|
129
|
+
format: ("pdf" | "csv" | "doc" | "docx" | "xls" | "xlsx" | "html" | "txt" | "md"),
|
130
|
+
name: ::String,
|
131
|
+
source: {
|
132
|
+
bytes: ::String?
|
133
|
+
}
|
120
134
|
}?
|
121
135
|
},
|
122
136
|
],
|
@@ -200,6 +214,13 @@ module Aws
|
|
200
214
|
bytes: ::String?
|
201
215
|
}
|
202
216
|
}?,
|
217
|
+
document: {
|
218
|
+
format: ("pdf" | "csv" | "doc" | "docx" | "xls" | "xlsx" | "html" | "txt" | "md"),
|
219
|
+
name: ::String,
|
220
|
+
source: {
|
221
|
+
bytes: ::String?
|
222
|
+
}
|
223
|
+
}?,
|
203
224
|
tool_use: {
|
204
225
|
tool_use_id: ::String,
|
205
226
|
name: ::String,
|
@@ -218,6 +239,13 @@ module Aws
|
|
218
239
|
source: {
|
219
240
|
bytes: ::String?
|
220
241
|
}
|
242
|
+
}?,
|
243
|
+
document: {
|
244
|
+
format: ("pdf" | "csv" | "doc" | "docx" | "xls" | "xlsx" | "html" | "txt" | "md"),
|
245
|
+
name: ::String,
|
246
|
+
source: {
|
247
|
+
bytes: ::String?
|
248
|
+
}
|
221
249
|
}?
|
222
250
|
},
|
223
251
|
],
|
data/sig/types.rbs
CHANGED
@@ -22,6 +22,7 @@ module Aws::BedrockRuntime
|
|
22
22
|
class ContentBlock
|
23
23
|
attr_accessor text: ::String
|
24
24
|
attr_accessor image: Types::ImageBlock
|
25
|
+
attr_accessor document: Types::DocumentBlock
|
25
26
|
attr_accessor tool_use: Types::ToolUseBlock
|
26
27
|
attr_accessor tool_result: Types::ToolResultBlock
|
27
28
|
attr_accessor guard_content: Types::GuardrailConverseContentBlock
|
@@ -32,6 +33,8 @@ module Aws::BedrockRuntime
|
|
32
33
|
end
|
33
34
|
class Image < ContentBlock
|
34
35
|
end
|
36
|
+
class Document < ContentBlock
|
37
|
+
end
|
35
38
|
class ToolUse < ContentBlock
|
36
39
|
end
|
37
40
|
class ToolResult < ContentBlock
|
@@ -165,6 +168,24 @@ module Aws::BedrockRuntime
|
|
165
168
|
SENSITIVE: []
|
166
169
|
end
|
167
170
|
|
171
|
+
class DocumentBlock
|
172
|
+
attr_accessor format: ("pdf" | "csv" | "doc" | "docx" | "xls" | "xlsx" | "html" | "txt" | "md")
|
173
|
+
attr_accessor name: ::String
|
174
|
+
attr_accessor source: Types::DocumentSource
|
175
|
+
SENSITIVE: []
|
176
|
+
end
|
177
|
+
|
178
|
+
class DocumentSource
|
179
|
+
attr_accessor bytes: ::String
|
180
|
+
attr_accessor unknown: untyped
|
181
|
+
SENSITIVE: []
|
182
|
+
|
183
|
+
class Bytes < DocumentSource
|
184
|
+
end
|
185
|
+
class Unknown < DocumentSource
|
186
|
+
end
|
187
|
+
end
|
188
|
+
|
168
189
|
class GuardrailAssessment
|
169
190
|
attr_accessor topic_policy: Types::GuardrailTopicPolicyAssessment
|
170
191
|
attr_accessor content_policy: Types::GuardrailContentPolicyAssessment
|
@@ -489,6 +510,7 @@ module Aws::BedrockRuntime
|
|
489
510
|
attr_accessor json: untyped
|
490
511
|
attr_accessor text: ::String
|
491
512
|
attr_accessor image: Types::ImageBlock
|
513
|
+
attr_accessor document: Types::DocumentBlock
|
492
514
|
attr_accessor unknown: untyped
|
493
515
|
SENSITIVE: []
|
494
516
|
|
@@ -498,6 +520,8 @@ module Aws::BedrockRuntime
|
|
498
520
|
end
|
499
521
|
class Image < ToolResultContentBlock
|
500
522
|
end
|
523
|
+
class Document < ToolResultContentBlock
|
524
|
+
end
|
501
525
|
class Unknown < ToolResultContentBlock
|
502
526
|
end
|
503
527
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-bedrockruntime
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.12.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-06-
|
11
|
+
date: 2024-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|