aws-sdk-bedrockruntime 1.76.0 → 1.77.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 +1 -1
- data/lib/aws-sdk-bedrockruntime.rb +1 -1
- data/sig/client.rbs +13 -833
- data/sig/params.rbs +269 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: af3aa4537a2b25e1fec6ef07e2f6821cc6d2f2f4b4309505052cb561a21085eb
|
|
4
|
+
data.tar.gz: c8335aa582b8a15112c310a48d7a011cf7df80b57db8b9e0417203d884d096ed
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5cb2f04adf982d27189a9bea73e3cb0934da66daf4b110723b9cd4df9d0e41448fadcf9394f786dcb5e42485ca9771688710809c9d2a5cc351ee586563b29475
|
|
7
|
+
data.tar.gz: e1a5916eff6b7c8b9bc27c014d1f2c9c981ea464f1d0fc3fede41c3591ababd3254ec42e64a788e8c2d955ba1974fc95d594301f94717c83e817ad5a133d531a
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.77.0
|
|
@@ -3926,7 +3926,7 @@ module Aws::BedrockRuntime
|
|
|
3926
3926
|
tracer: tracer
|
|
3927
3927
|
)
|
|
3928
3928
|
context[:gem_name] = 'aws-sdk-bedrockruntime'
|
|
3929
|
-
context[:gem_version] = '1.
|
|
3929
|
+
context[:gem_version] = '1.77.0'
|
|
3930
3930
|
Seahorse::Client::Request.new(handlers, context)
|
|
3931
3931
|
end
|
|
3932
3932
|
|
data/sig/client.rbs
CHANGED
|
@@ -107,7 +107,7 @@ module Aws
|
|
|
107
107
|
bytes: ::String?
|
|
108
108
|
}
|
|
109
109
|
}?
|
|
110
|
-
}
|
|
110
|
+
}
|
|
111
111
|
],
|
|
112
112
|
?output_scope: ("INTERVENTIONS" | "FULL")
|
|
113
113
|
) -> _ApplyGuardrailResponseSuccess
|
|
@@ -128,246 +128,10 @@ module Aws
|
|
|
128
128
|
def converse: (
|
|
129
129
|
model_id: ::String,
|
|
130
130
|
?messages: Array[
|
|
131
|
-
|
|
132
|
-
role: ("user" | "assistant"),
|
|
133
|
-
content: Array[
|
|
134
|
-
{
|
|
135
|
-
text: ::String?,
|
|
136
|
-
image: {
|
|
137
|
-
format: ("png" | "jpeg" | "gif" | "webp"),
|
|
138
|
-
source: {
|
|
139
|
-
bytes: ::String?,
|
|
140
|
-
s3_location: {
|
|
141
|
-
uri: ::String,
|
|
142
|
-
bucket_owner: ::String?
|
|
143
|
-
}?
|
|
144
|
-
},
|
|
145
|
-
error: {
|
|
146
|
-
message: ::String?
|
|
147
|
-
}?
|
|
148
|
-
}?,
|
|
149
|
-
document: {
|
|
150
|
-
format: ("pdf" | "csv" | "doc" | "docx" | "xls" | "xlsx" | "html" | "txt" | "md")?,
|
|
151
|
-
name: ::String,
|
|
152
|
-
source: {
|
|
153
|
-
bytes: ::String?,
|
|
154
|
-
s3_location: {
|
|
155
|
-
uri: ::String,
|
|
156
|
-
bucket_owner: ::String?
|
|
157
|
-
}?,
|
|
158
|
-
text: ::String?,
|
|
159
|
-
content: Array[
|
|
160
|
-
{
|
|
161
|
-
text: ::String?
|
|
162
|
-
},
|
|
163
|
-
]?
|
|
164
|
-
},
|
|
165
|
-
context: ::String?,
|
|
166
|
-
citations: {
|
|
167
|
-
enabled: bool
|
|
168
|
-
}?
|
|
169
|
-
}?,
|
|
170
|
-
video: {
|
|
171
|
-
format: ("mkv" | "mov" | "mp4" | "webm" | "flv" | "mpeg" | "mpg" | "wmv" | "three_gp"),
|
|
172
|
-
source: {
|
|
173
|
-
bytes: ::String?,
|
|
174
|
-
s3_location: {
|
|
175
|
-
uri: ::String,
|
|
176
|
-
bucket_owner: ::String?
|
|
177
|
-
}?
|
|
178
|
-
}
|
|
179
|
-
}?,
|
|
180
|
-
audio: {
|
|
181
|
-
format: ("mp3" | "opus" | "wav" | "aac" | "flac" | "mp4" | "ogg" | "mkv" | "mka" | "x-aac" | "m4a" | "mpeg" | "mpga" | "pcm" | "webm"),
|
|
182
|
-
source: {
|
|
183
|
-
bytes: ::String?,
|
|
184
|
-
s3_location: {
|
|
185
|
-
uri: ::String,
|
|
186
|
-
bucket_owner: ::String?
|
|
187
|
-
}?
|
|
188
|
-
},
|
|
189
|
-
error: {
|
|
190
|
-
message: ::String?
|
|
191
|
-
}?
|
|
192
|
-
}?,
|
|
193
|
-
tool_use: {
|
|
194
|
-
tool_use_id: ::String,
|
|
195
|
-
name: ::String,
|
|
196
|
-
input: {
|
|
197
|
-
},
|
|
198
|
-
type: ("server_tool_use")?
|
|
199
|
-
}?,
|
|
200
|
-
tool_result: {
|
|
201
|
-
tool_use_id: ::String,
|
|
202
|
-
content: Array[
|
|
203
|
-
{
|
|
204
|
-
json: {
|
|
205
|
-
}?,
|
|
206
|
-
text: ::String?,
|
|
207
|
-
image: {
|
|
208
|
-
format: ("png" | "jpeg" | "gif" | "webp"),
|
|
209
|
-
source: {
|
|
210
|
-
bytes: ::String?,
|
|
211
|
-
s3_location: {
|
|
212
|
-
uri: ::String,
|
|
213
|
-
bucket_owner: ::String?
|
|
214
|
-
}?
|
|
215
|
-
},
|
|
216
|
-
error: {
|
|
217
|
-
message: ::String?
|
|
218
|
-
}?
|
|
219
|
-
}?,
|
|
220
|
-
document: {
|
|
221
|
-
format: ("pdf" | "csv" | "doc" | "docx" | "xls" | "xlsx" | "html" | "txt" | "md")?,
|
|
222
|
-
name: ::String,
|
|
223
|
-
source: {
|
|
224
|
-
bytes: ::String?,
|
|
225
|
-
s3_location: {
|
|
226
|
-
uri: ::String,
|
|
227
|
-
bucket_owner: ::String?
|
|
228
|
-
}?,
|
|
229
|
-
text: ::String?,
|
|
230
|
-
content: Array[
|
|
231
|
-
{
|
|
232
|
-
text: ::String?
|
|
233
|
-
},
|
|
234
|
-
]?
|
|
235
|
-
},
|
|
236
|
-
context: ::String?,
|
|
237
|
-
citations: {
|
|
238
|
-
enabled: bool
|
|
239
|
-
}?
|
|
240
|
-
}?,
|
|
241
|
-
video: {
|
|
242
|
-
format: ("mkv" | "mov" | "mp4" | "webm" | "flv" | "mpeg" | "mpg" | "wmv" | "three_gp"),
|
|
243
|
-
source: {
|
|
244
|
-
bytes: ::String?,
|
|
245
|
-
s3_location: {
|
|
246
|
-
uri: ::String,
|
|
247
|
-
bucket_owner: ::String?
|
|
248
|
-
}?
|
|
249
|
-
}
|
|
250
|
-
}?,
|
|
251
|
-
search_result: {
|
|
252
|
-
source: ::String,
|
|
253
|
-
title: ::String,
|
|
254
|
-
content: Array[
|
|
255
|
-
{
|
|
256
|
-
text: ::String
|
|
257
|
-
},
|
|
258
|
-
],
|
|
259
|
-
citations: {
|
|
260
|
-
enabled: bool
|
|
261
|
-
}?
|
|
262
|
-
}?
|
|
263
|
-
},
|
|
264
|
-
],
|
|
265
|
-
status: ("success" | "error")?,
|
|
266
|
-
type: ::String?
|
|
267
|
-
}?,
|
|
268
|
-
guard_content: {
|
|
269
|
-
text: {
|
|
270
|
-
text: ::String,
|
|
271
|
-
qualifiers: Array[("grounding_source" | "query" | "guard_content")]?
|
|
272
|
-
}?,
|
|
273
|
-
image: {
|
|
274
|
-
format: ("png" | "jpeg"),
|
|
275
|
-
source: {
|
|
276
|
-
bytes: ::String?
|
|
277
|
-
}
|
|
278
|
-
}?
|
|
279
|
-
}?,
|
|
280
|
-
cache_point: {
|
|
281
|
-
type: ("default"),
|
|
282
|
-
ttl: ("5m" | "1h")?
|
|
283
|
-
}?,
|
|
284
|
-
reasoning_content: {
|
|
285
|
-
reasoning_text: {
|
|
286
|
-
text: ::String,
|
|
287
|
-
signature: ::String?
|
|
288
|
-
}?,
|
|
289
|
-
redacted_content: ::String?
|
|
290
|
-
}?,
|
|
291
|
-
citations_content: {
|
|
292
|
-
content: Array[
|
|
293
|
-
{
|
|
294
|
-
text: ::String?
|
|
295
|
-
},
|
|
296
|
-
]?,
|
|
297
|
-
citations: Array[
|
|
298
|
-
{
|
|
299
|
-
title: ::String?,
|
|
300
|
-
source: ::String?,
|
|
301
|
-
source_content: Array[
|
|
302
|
-
{
|
|
303
|
-
text: ::String?
|
|
304
|
-
},
|
|
305
|
-
]?,
|
|
306
|
-
location: {
|
|
307
|
-
web: {
|
|
308
|
-
url: ::String?,
|
|
309
|
-
domain: ::String?
|
|
310
|
-
}?,
|
|
311
|
-
document_char: {
|
|
312
|
-
document_index: ::Integer?,
|
|
313
|
-
start: ::Integer?,
|
|
314
|
-
end: ::Integer?
|
|
315
|
-
}?,
|
|
316
|
-
document_page: {
|
|
317
|
-
document_index: ::Integer?,
|
|
318
|
-
start: ::Integer?,
|
|
319
|
-
end: ::Integer?
|
|
320
|
-
}?,
|
|
321
|
-
document_chunk: {
|
|
322
|
-
document_index: ::Integer?,
|
|
323
|
-
start: ::Integer?,
|
|
324
|
-
end: ::Integer?
|
|
325
|
-
}?,
|
|
326
|
-
search_result_location: {
|
|
327
|
-
search_result_index: ::Integer?,
|
|
328
|
-
start: ::Integer?,
|
|
329
|
-
end: ::Integer?
|
|
330
|
-
}?
|
|
331
|
-
}?
|
|
332
|
-
},
|
|
333
|
-
]?
|
|
334
|
-
}?,
|
|
335
|
-
search_result: {
|
|
336
|
-
source: ::String,
|
|
337
|
-
title: ::String,
|
|
338
|
-
content: Array[
|
|
339
|
-
{
|
|
340
|
-
text: ::String
|
|
341
|
-
},
|
|
342
|
-
],
|
|
343
|
-
citations: {
|
|
344
|
-
enabled: bool
|
|
345
|
-
}?
|
|
346
|
-
}?
|
|
347
|
-
},
|
|
348
|
-
]
|
|
349
|
-
},
|
|
131
|
+
Params::message
|
|
350
132
|
],
|
|
351
133
|
?system: Array[
|
|
352
|
-
|
|
353
|
-
text: ::String?,
|
|
354
|
-
guard_content: {
|
|
355
|
-
text: {
|
|
356
|
-
text: ::String,
|
|
357
|
-
qualifiers: Array[("grounding_source" | "query" | "guard_content")]?
|
|
358
|
-
}?,
|
|
359
|
-
image: {
|
|
360
|
-
format: ("png" | "jpeg"),
|
|
361
|
-
source: {
|
|
362
|
-
bytes: ::String?
|
|
363
|
-
}
|
|
364
|
-
}?
|
|
365
|
-
}?,
|
|
366
|
-
cache_point: {
|
|
367
|
-
type: ("default"),
|
|
368
|
-
ttl: ("5m" | "1h")?
|
|
369
|
-
}?
|
|
370
|
-
},
|
|
134
|
+
Params::system_content_block
|
|
371
135
|
],
|
|
372
136
|
?inference_config: {
|
|
373
137
|
max_tokens: ::Integer?,
|
|
@@ -375,37 +139,7 @@ module Aws
|
|
|
375
139
|
top_p: ::Float?,
|
|
376
140
|
stop_sequences: Array[::String]?
|
|
377
141
|
},
|
|
378
|
-
?tool_config:
|
|
379
|
-
tools: Array[
|
|
380
|
-
{
|
|
381
|
-
tool_spec: {
|
|
382
|
-
name: ::String,
|
|
383
|
-
description: ::String?,
|
|
384
|
-
input_schema: {
|
|
385
|
-
json: {
|
|
386
|
-
}?
|
|
387
|
-
},
|
|
388
|
-
strict: bool?
|
|
389
|
-
}?,
|
|
390
|
-
system_tool: {
|
|
391
|
-
name: ::String
|
|
392
|
-
}?,
|
|
393
|
-
cache_point: {
|
|
394
|
-
type: ("default"),
|
|
395
|
-
ttl: ("5m" | "1h")?
|
|
396
|
-
}?
|
|
397
|
-
},
|
|
398
|
-
],
|
|
399
|
-
tool_choice: {
|
|
400
|
-
auto: {
|
|
401
|
-
}?,
|
|
402
|
-
any: {
|
|
403
|
-
}?,
|
|
404
|
-
tool: {
|
|
405
|
-
name: ::String
|
|
406
|
-
}?
|
|
407
|
-
}?
|
|
408
|
-
},
|
|
142
|
+
?tool_config: Params::tool_configuration,
|
|
409
143
|
?guardrail_config: {
|
|
410
144
|
guardrail_identifier: ::String?,
|
|
411
145
|
guardrail_version: ::String?,
|
|
@@ -424,18 +158,7 @@ module Aws
|
|
|
424
158
|
?service_tier: {
|
|
425
159
|
type: ("priority" | "default" | "flex" | "reserved")
|
|
426
160
|
},
|
|
427
|
-
?output_config:
|
|
428
|
-
text_format: {
|
|
429
|
-
type: ("json_schema"),
|
|
430
|
-
structure: {
|
|
431
|
-
json_schema: {
|
|
432
|
-
schema: ::String,
|
|
433
|
-
name: ::String?,
|
|
434
|
-
description: ::String?
|
|
435
|
-
}?
|
|
436
|
-
}
|
|
437
|
-
}?
|
|
438
|
-
}
|
|
161
|
+
?output_config: Params::output_config
|
|
439
162
|
) -> _ConverseResponseSuccess
|
|
440
163
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ConverseResponseSuccess
|
|
441
164
|
|
|
@@ -447,246 +170,10 @@ module Aws
|
|
|
447
170
|
def converse_stream: (
|
|
448
171
|
model_id: ::String,
|
|
449
172
|
?messages: Array[
|
|
450
|
-
|
|
451
|
-
role: ("user" | "assistant"),
|
|
452
|
-
content: Array[
|
|
453
|
-
{
|
|
454
|
-
text: ::String?,
|
|
455
|
-
image: {
|
|
456
|
-
format: ("png" | "jpeg" | "gif" | "webp"),
|
|
457
|
-
source: {
|
|
458
|
-
bytes: ::String?,
|
|
459
|
-
s3_location: {
|
|
460
|
-
uri: ::String,
|
|
461
|
-
bucket_owner: ::String?
|
|
462
|
-
}?
|
|
463
|
-
},
|
|
464
|
-
error: {
|
|
465
|
-
message: ::String?
|
|
466
|
-
}?
|
|
467
|
-
}?,
|
|
468
|
-
document: {
|
|
469
|
-
format: ("pdf" | "csv" | "doc" | "docx" | "xls" | "xlsx" | "html" | "txt" | "md")?,
|
|
470
|
-
name: ::String,
|
|
471
|
-
source: {
|
|
472
|
-
bytes: ::String?,
|
|
473
|
-
s3_location: {
|
|
474
|
-
uri: ::String,
|
|
475
|
-
bucket_owner: ::String?
|
|
476
|
-
}?,
|
|
477
|
-
text: ::String?,
|
|
478
|
-
content: Array[
|
|
479
|
-
{
|
|
480
|
-
text: ::String?
|
|
481
|
-
},
|
|
482
|
-
]?
|
|
483
|
-
},
|
|
484
|
-
context: ::String?,
|
|
485
|
-
citations: {
|
|
486
|
-
enabled: bool
|
|
487
|
-
}?
|
|
488
|
-
}?,
|
|
489
|
-
video: {
|
|
490
|
-
format: ("mkv" | "mov" | "mp4" | "webm" | "flv" | "mpeg" | "mpg" | "wmv" | "three_gp"),
|
|
491
|
-
source: {
|
|
492
|
-
bytes: ::String?,
|
|
493
|
-
s3_location: {
|
|
494
|
-
uri: ::String,
|
|
495
|
-
bucket_owner: ::String?
|
|
496
|
-
}?
|
|
497
|
-
}
|
|
498
|
-
}?,
|
|
499
|
-
audio: {
|
|
500
|
-
format: ("mp3" | "opus" | "wav" | "aac" | "flac" | "mp4" | "ogg" | "mkv" | "mka" | "x-aac" | "m4a" | "mpeg" | "mpga" | "pcm" | "webm"),
|
|
501
|
-
source: {
|
|
502
|
-
bytes: ::String?,
|
|
503
|
-
s3_location: {
|
|
504
|
-
uri: ::String,
|
|
505
|
-
bucket_owner: ::String?
|
|
506
|
-
}?
|
|
507
|
-
},
|
|
508
|
-
error: {
|
|
509
|
-
message: ::String?
|
|
510
|
-
}?
|
|
511
|
-
}?,
|
|
512
|
-
tool_use: {
|
|
513
|
-
tool_use_id: ::String,
|
|
514
|
-
name: ::String,
|
|
515
|
-
input: {
|
|
516
|
-
},
|
|
517
|
-
type: ("server_tool_use")?
|
|
518
|
-
}?,
|
|
519
|
-
tool_result: {
|
|
520
|
-
tool_use_id: ::String,
|
|
521
|
-
content: Array[
|
|
522
|
-
{
|
|
523
|
-
json: {
|
|
524
|
-
}?,
|
|
525
|
-
text: ::String?,
|
|
526
|
-
image: {
|
|
527
|
-
format: ("png" | "jpeg" | "gif" | "webp"),
|
|
528
|
-
source: {
|
|
529
|
-
bytes: ::String?,
|
|
530
|
-
s3_location: {
|
|
531
|
-
uri: ::String,
|
|
532
|
-
bucket_owner: ::String?
|
|
533
|
-
}?
|
|
534
|
-
},
|
|
535
|
-
error: {
|
|
536
|
-
message: ::String?
|
|
537
|
-
}?
|
|
538
|
-
}?,
|
|
539
|
-
document: {
|
|
540
|
-
format: ("pdf" | "csv" | "doc" | "docx" | "xls" | "xlsx" | "html" | "txt" | "md")?,
|
|
541
|
-
name: ::String,
|
|
542
|
-
source: {
|
|
543
|
-
bytes: ::String?,
|
|
544
|
-
s3_location: {
|
|
545
|
-
uri: ::String,
|
|
546
|
-
bucket_owner: ::String?
|
|
547
|
-
}?,
|
|
548
|
-
text: ::String?,
|
|
549
|
-
content: Array[
|
|
550
|
-
{
|
|
551
|
-
text: ::String?
|
|
552
|
-
},
|
|
553
|
-
]?
|
|
554
|
-
},
|
|
555
|
-
context: ::String?,
|
|
556
|
-
citations: {
|
|
557
|
-
enabled: bool
|
|
558
|
-
}?
|
|
559
|
-
}?,
|
|
560
|
-
video: {
|
|
561
|
-
format: ("mkv" | "mov" | "mp4" | "webm" | "flv" | "mpeg" | "mpg" | "wmv" | "three_gp"),
|
|
562
|
-
source: {
|
|
563
|
-
bytes: ::String?,
|
|
564
|
-
s3_location: {
|
|
565
|
-
uri: ::String,
|
|
566
|
-
bucket_owner: ::String?
|
|
567
|
-
}?
|
|
568
|
-
}
|
|
569
|
-
}?,
|
|
570
|
-
search_result: {
|
|
571
|
-
source: ::String,
|
|
572
|
-
title: ::String,
|
|
573
|
-
content: Array[
|
|
574
|
-
{
|
|
575
|
-
text: ::String
|
|
576
|
-
},
|
|
577
|
-
],
|
|
578
|
-
citations: {
|
|
579
|
-
enabled: bool
|
|
580
|
-
}?
|
|
581
|
-
}?
|
|
582
|
-
},
|
|
583
|
-
],
|
|
584
|
-
status: ("success" | "error")?,
|
|
585
|
-
type: ::String?
|
|
586
|
-
}?,
|
|
587
|
-
guard_content: {
|
|
588
|
-
text: {
|
|
589
|
-
text: ::String,
|
|
590
|
-
qualifiers: Array[("grounding_source" | "query" | "guard_content")]?
|
|
591
|
-
}?,
|
|
592
|
-
image: {
|
|
593
|
-
format: ("png" | "jpeg"),
|
|
594
|
-
source: {
|
|
595
|
-
bytes: ::String?
|
|
596
|
-
}
|
|
597
|
-
}?
|
|
598
|
-
}?,
|
|
599
|
-
cache_point: {
|
|
600
|
-
type: ("default"),
|
|
601
|
-
ttl: ("5m" | "1h")?
|
|
602
|
-
}?,
|
|
603
|
-
reasoning_content: {
|
|
604
|
-
reasoning_text: {
|
|
605
|
-
text: ::String,
|
|
606
|
-
signature: ::String?
|
|
607
|
-
}?,
|
|
608
|
-
redacted_content: ::String?
|
|
609
|
-
}?,
|
|
610
|
-
citations_content: {
|
|
611
|
-
content: Array[
|
|
612
|
-
{
|
|
613
|
-
text: ::String?
|
|
614
|
-
},
|
|
615
|
-
]?,
|
|
616
|
-
citations: Array[
|
|
617
|
-
{
|
|
618
|
-
title: ::String?,
|
|
619
|
-
source: ::String?,
|
|
620
|
-
source_content: Array[
|
|
621
|
-
{
|
|
622
|
-
text: ::String?
|
|
623
|
-
},
|
|
624
|
-
]?,
|
|
625
|
-
location: {
|
|
626
|
-
web: {
|
|
627
|
-
url: ::String?,
|
|
628
|
-
domain: ::String?
|
|
629
|
-
}?,
|
|
630
|
-
document_char: {
|
|
631
|
-
document_index: ::Integer?,
|
|
632
|
-
start: ::Integer?,
|
|
633
|
-
end: ::Integer?
|
|
634
|
-
}?,
|
|
635
|
-
document_page: {
|
|
636
|
-
document_index: ::Integer?,
|
|
637
|
-
start: ::Integer?,
|
|
638
|
-
end: ::Integer?
|
|
639
|
-
}?,
|
|
640
|
-
document_chunk: {
|
|
641
|
-
document_index: ::Integer?,
|
|
642
|
-
start: ::Integer?,
|
|
643
|
-
end: ::Integer?
|
|
644
|
-
}?,
|
|
645
|
-
search_result_location: {
|
|
646
|
-
search_result_index: ::Integer?,
|
|
647
|
-
start: ::Integer?,
|
|
648
|
-
end: ::Integer?
|
|
649
|
-
}?
|
|
650
|
-
}?
|
|
651
|
-
},
|
|
652
|
-
]?
|
|
653
|
-
}?,
|
|
654
|
-
search_result: {
|
|
655
|
-
source: ::String,
|
|
656
|
-
title: ::String,
|
|
657
|
-
content: Array[
|
|
658
|
-
{
|
|
659
|
-
text: ::String
|
|
660
|
-
},
|
|
661
|
-
],
|
|
662
|
-
citations: {
|
|
663
|
-
enabled: bool
|
|
664
|
-
}?
|
|
665
|
-
}?
|
|
666
|
-
},
|
|
667
|
-
]
|
|
668
|
-
},
|
|
173
|
+
Params::message
|
|
669
174
|
],
|
|
670
175
|
?system: Array[
|
|
671
|
-
|
|
672
|
-
text: ::String?,
|
|
673
|
-
guard_content: {
|
|
674
|
-
text: {
|
|
675
|
-
text: ::String,
|
|
676
|
-
qualifiers: Array[("grounding_source" | "query" | "guard_content")]?
|
|
677
|
-
}?,
|
|
678
|
-
image: {
|
|
679
|
-
format: ("png" | "jpeg"),
|
|
680
|
-
source: {
|
|
681
|
-
bytes: ::String?
|
|
682
|
-
}
|
|
683
|
-
}?
|
|
684
|
-
}?,
|
|
685
|
-
cache_point: {
|
|
686
|
-
type: ("default"),
|
|
687
|
-
ttl: ("5m" | "1h")?
|
|
688
|
-
}?
|
|
689
|
-
},
|
|
176
|
+
Params::system_content_block
|
|
690
177
|
],
|
|
691
178
|
?inference_config: {
|
|
692
179
|
max_tokens: ::Integer?,
|
|
@@ -694,37 +181,7 @@ module Aws
|
|
|
694
181
|
top_p: ::Float?,
|
|
695
182
|
stop_sequences: Array[::String]?
|
|
696
183
|
},
|
|
697
|
-
?tool_config:
|
|
698
|
-
tools: Array[
|
|
699
|
-
{
|
|
700
|
-
tool_spec: {
|
|
701
|
-
name: ::String,
|
|
702
|
-
description: ::String?,
|
|
703
|
-
input_schema: {
|
|
704
|
-
json: {
|
|
705
|
-
}?
|
|
706
|
-
},
|
|
707
|
-
strict: bool?
|
|
708
|
-
}?,
|
|
709
|
-
system_tool: {
|
|
710
|
-
name: ::String
|
|
711
|
-
}?,
|
|
712
|
-
cache_point: {
|
|
713
|
-
type: ("default"),
|
|
714
|
-
ttl: ("5m" | "1h")?
|
|
715
|
-
}?
|
|
716
|
-
},
|
|
717
|
-
],
|
|
718
|
-
tool_choice: {
|
|
719
|
-
auto: {
|
|
720
|
-
}?,
|
|
721
|
-
any: {
|
|
722
|
-
}?,
|
|
723
|
-
tool: {
|
|
724
|
-
name: ::String
|
|
725
|
-
}?
|
|
726
|
-
}?
|
|
727
|
-
},
|
|
184
|
+
?tool_config: Params::tool_configuration,
|
|
728
185
|
?guardrail_config: {
|
|
729
186
|
guardrail_identifier: ::String?,
|
|
730
187
|
guardrail_version: ::String?,
|
|
@@ -744,18 +201,7 @@ module Aws
|
|
|
744
201
|
?service_tier: {
|
|
745
202
|
type: ("priority" | "default" | "flex" | "reserved")
|
|
746
203
|
},
|
|
747
|
-
?output_config:
|
|
748
|
-
text_format: {
|
|
749
|
-
type: ("json_schema"),
|
|
750
|
-
structure: {
|
|
751
|
-
json_schema: {
|
|
752
|
-
schema: ::String,
|
|
753
|
-
name: ::String?,
|
|
754
|
-
description: ::String?
|
|
755
|
-
}?
|
|
756
|
-
}
|
|
757
|
-
}?
|
|
758
|
-
}
|
|
204
|
+
?output_config: Params::output_config
|
|
759
205
|
) ?{ (*untyped) -> void } -> _ConverseStreamResponseSuccess
|
|
760
206
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _ConverseStreamResponseSuccess
|
|
761
207
|
|
|
@@ -772,278 +218,12 @@ module Aws
|
|
|
772
218
|
}?,
|
|
773
219
|
converse: {
|
|
774
220
|
messages: Array[
|
|
775
|
-
|
|
776
|
-
role: ("user" | "assistant"),
|
|
777
|
-
content: Array[
|
|
778
|
-
{
|
|
779
|
-
text: ::String?,
|
|
780
|
-
image: {
|
|
781
|
-
format: ("png" | "jpeg" | "gif" | "webp"),
|
|
782
|
-
source: {
|
|
783
|
-
bytes: ::String?,
|
|
784
|
-
s3_location: {
|
|
785
|
-
uri: ::String,
|
|
786
|
-
bucket_owner: ::String?
|
|
787
|
-
}?
|
|
788
|
-
},
|
|
789
|
-
error: {
|
|
790
|
-
message: ::String?
|
|
791
|
-
}?
|
|
792
|
-
}?,
|
|
793
|
-
document: {
|
|
794
|
-
format: ("pdf" | "csv" | "doc" | "docx" | "xls" | "xlsx" | "html" | "txt" | "md")?,
|
|
795
|
-
name: ::String,
|
|
796
|
-
source: {
|
|
797
|
-
bytes: ::String?,
|
|
798
|
-
s3_location: {
|
|
799
|
-
uri: ::String,
|
|
800
|
-
bucket_owner: ::String?
|
|
801
|
-
}?,
|
|
802
|
-
text: ::String?,
|
|
803
|
-
content: Array[
|
|
804
|
-
{
|
|
805
|
-
text: ::String?
|
|
806
|
-
},
|
|
807
|
-
]?
|
|
808
|
-
},
|
|
809
|
-
context: ::String?,
|
|
810
|
-
citations: {
|
|
811
|
-
enabled: bool
|
|
812
|
-
}?
|
|
813
|
-
}?,
|
|
814
|
-
video: {
|
|
815
|
-
format: ("mkv" | "mov" | "mp4" | "webm" | "flv" | "mpeg" | "mpg" | "wmv" | "three_gp"),
|
|
816
|
-
source: {
|
|
817
|
-
bytes: ::String?,
|
|
818
|
-
s3_location: {
|
|
819
|
-
uri: ::String,
|
|
820
|
-
bucket_owner: ::String?
|
|
821
|
-
}?
|
|
822
|
-
}
|
|
823
|
-
}?,
|
|
824
|
-
audio: {
|
|
825
|
-
format: ("mp3" | "opus" | "wav" | "aac" | "flac" | "mp4" | "ogg" | "mkv" | "mka" | "x-aac" | "m4a" | "mpeg" | "mpga" | "pcm" | "webm"),
|
|
826
|
-
source: {
|
|
827
|
-
bytes: ::String?,
|
|
828
|
-
s3_location: {
|
|
829
|
-
uri: ::String,
|
|
830
|
-
bucket_owner: ::String?
|
|
831
|
-
}?
|
|
832
|
-
},
|
|
833
|
-
error: {
|
|
834
|
-
message: ::String?
|
|
835
|
-
}?
|
|
836
|
-
}?,
|
|
837
|
-
tool_use: {
|
|
838
|
-
tool_use_id: ::String,
|
|
839
|
-
name: ::String,
|
|
840
|
-
input: {
|
|
841
|
-
},
|
|
842
|
-
type: ("server_tool_use")?
|
|
843
|
-
}?,
|
|
844
|
-
tool_result: {
|
|
845
|
-
tool_use_id: ::String,
|
|
846
|
-
content: Array[
|
|
847
|
-
{
|
|
848
|
-
json: {
|
|
849
|
-
}?,
|
|
850
|
-
text: ::String?,
|
|
851
|
-
image: {
|
|
852
|
-
format: ("png" | "jpeg" | "gif" | "webp"),
|
|
853
|
-
source: {
|
|
854
|
-
bytes: ::String?,
|
|
855
|
-
s3_location: {
|
|
856
|
-
uri: ::String,
|
|
857
|
-
bucket_owner: ::String?
|
|
858
|
-
}?
|
|
859
|
-
},
|
|
860
|
-
error: {
|
|
861
|
-
message: ::String?
|
|
862
|
-
}?
|
|
863
|
-
}?,
|
|
864
|
-
document: {
|
|
865
|
-
format: ("pdf" | "csv" | "doc" | "docx" | "xls" | "xlsx" | "html" | "txt" | "md")?,
|
|
866
|
-
name: ::String,
|
|
867
|
-
source: {
|
|
868
|
-
bytes: ::String?,
|
|
869
|
-
s3_location: {
|
|
870
|
-
uri: ::String,
|
|
871
|
-
bucket_owner: ::String?
|
|
872
|
-
}?,
|
|
873
|
-
text: ::String?,
|
|
874
|
-
content: Array[
|
|
875
|
-
{
|
|
876
|
-
text: ::String?
|
|
877
|
-
},
|
|
878
|
-
]?
|
|
879
|
-
},
|
|
880
|
-
context: ::String?,
|
|
881
|
-
citations: {
|
|
882
|
-
enabled: bool
|
|
883
|
-
}?
|
|
884
|
-
}?,
|
|
885
|
-
video: {
|
|
886
|
-
format: ("mkv" | "mov" | "mp4" | "webm" | "flv" | "mpeg" | "mpg" | "wmv" | "three_gp"),
|
|
887
|
-
source: {
|
|
888
|
-
bytes: ::String?,
|
|
889
|
-
s3_location: {
|
|
890
|
-
uri: ::String,
|
|
891
|
-
bucket_owner: ::String?
|
|
892
|
-
}?
|
|
893
|
-
}
|
|
894
|
-
}?,
|
|
895
|
-
search_result: {
|
|
896
|
-
source: ::String,
|
|
897
|
-
title: ::String,
|
|
898
|
-
content: Array[
|
|
899
|
-
{
|
|
900
|
-
text: ::String
|
|
901
|
-
},
|
|
902
|
-
],
|
|
903
|
-
citations: {
|
|
904
|
-
enabled: bool
|
|
905
|
-
}?
|
|
906
|
-
}?
|
|
907
|
-
},
|
|
908
|
-
],
|
|
909
|
-
status: ("success" | "error")?,
|
|
910
|
-
type: ::String?
|
|
911
|
-
}?,
|
|
912
|
-
guard_content: {
|
|
913
|
-
text: {
|
|
914
|
-
text: ::String,
|
|
915
|
-
qualifiers: Array[("grounding_source" | "query" | "guard_content")]?
|
|
916
|
-
}?,
|
|
917
|
-
image: {
|
|
918
|
-
format: ("png" | "jpeg"),
|
|
919
|
-
source: {
|
|
920
|
-
bytes: ::String?
|
|
921
|
-
}
|
|
922
|
-
}?
|
|
923
|
-
}?,
|
|
924
|
-
cache_point: {
|
|
925
|
-
type: ("default"),
|
|
926
|
-
ttl: ("5m" | "1h")?
|
|
927
|
-
}?,
|
|
928
|
-
reasoning_content: {
|
|
929
|
-
reasoning_text: {
|
|
930
|
-
text: ::String,
|
|
931
|
-
signature: ::String?
|
|
932
|
-
}?,
|
|
933
|
-
redacted_content: ::String?
|
|
934
|
-
}?,
|
|
935
|
-
citations_content: {
|
|
936
|
-
content: Array[
|
|
937
|
-
{
|
|
938
|
-
text: ::String?
|
|
939
|
-
},
|
|
940
|
-
]?,
|
|
941
|
-
citations: Array[
|
|
942
|
-
{
|
|
943
|
-
title: ::String?,
|
|
944
|
-
source: ::String?,
|
|
945
|
-
source_content: Array[
|
|
946
|
-
{
|
|
947
|
-
text: ::String?
|
|
948
|
-
},
|
|
949
|
-
]?,
|
|
950
|
-
location: {
|
|
951
|
-
web: {
|
|
952
|
-
url: ::String?,
|
|
953
|
-
domain: ::String?
|
|
954
|
-
}?,
|
|
955
|
-
document_char: {
|
|
956
|
-
document_index: ::Integer?,
|
|
957
|
-
start: ::Integer?,
|
|
958
|
-
end: ::Integer?
|
|
959
|
-
}?,
|
|
960
|
-
document_page: {
|
|
961
|
-
document_index: ::Integer?,
|
|
962
|
-
start: ::Integer?,
|
|
963
|
-
end: ::Integer?
|
|
964
|
-
}?,
|
|
965
|
-
document_chunk: {
|
|
966
|
-
document_index: ::Integer?,
|
|
967
|
-
start: ::Integer?,
|
|
968
|
-
end: ::Integer?
|
|
969
|
-
}?,
|
|
970
|
-
search_result_location: {
|
|
971
|
-
search_result_index: ::Integer?,
|
|
972
|
-
start: ::Integer?,
|
|
973
|
-
end: ::Integer?
|
|
974
|
-
}?
|
|
975
|
-
}?
|
|
976
|
-
},
|
|
977
|
-
]?
|
|
978
|
-
}?,
|
|
979
|
-
search_result: {
|
|
980
|
-
source: ::String,
|
|
981
|
-
title: ::String,
|
|
982
|
-
content: Array[
|
|
983
|
-
{
|
|
984
|
-
text: ::String
|
|
985
|
-
},
|
|
986
|
-
],
|
|
987
|
-
citations: {
|
|
988
|
-
enabled: bool
|
|
989
|
-
}?
|
|
990
|
-
}?
|
|
991
|
-
},
|
|
992
|
-
]
|
|
993
|
-
},
|
|
221
|
+
Params::message
|
|
994
222
|
]?,
|
|
995
223
|
system: Array[
|
|
996
|
-
|
|
997
|
-
text: ::String?,
|
|
998
|
-
guard_content: {
|
|
999
|
-
text: {
|
|
1000
|
-
text: ::String,
|
|
1001
|
-
qualifiers: Array[("grounding_source" | "query" | "guard_content")]?
|
|
1002
|
-
}?,
|
|
1003
|
-
image: {
|
|
1004
|
-
format: ("png" | "jpeg"),
|
|
1005
|
-
source: {
|
|
1006
|
-
bytes: ::String?
|
|
1007
|
-
}
|
|
1008
|
-
}?
|
|
1009
|
-
}?,
|
|
1010
|
-
cache_point: {
|
|
1011
|
-
type: ("default"),
|
|
1012
|
-
ttl: ("5m" | "1h")?
|
|
1013
|
-
}?
|
|
1014
|
-
},
|
|
224
|
+
Params::system_content_block
|
|
1015
225
|
]?,
|
|
1016
|
-
tool_config:
|
|
1017
|
-
tools: Array[
|
|
1018
|
-
{
|
|
1019
|
-
tool_spec: {
|
|
1020
|
-
name: ::String,
|
|
1021
|
-
description: ::String?,
|
|
1022
|
-
input_schema: {
|
|
1023
|
-
json: {
|
|
1024
|
-
}?
|
|
1025
|
-
},
|
|
1026
|
-
strict: bool?
|
|
1027
|
-
}?,
|
|
1028
|
-
system_tool: {
|
|
1029
|
-
name: ::String
|
|
1030
|
-
}?,
|
|
1031
|
-
cache_point: {
|
|
1032
|
-
type: ("default"),
|
|
1033
|
-
ttl: ("5m" | "1h")?
|
|
1034
|
-
}?
|
|
1035
|
-
},
|
|
1036
|
-
],
|
|
1037
|
-
tool_choice: {
|
|
1038
|
-
auto: {
|
|
1039
|
-
}?,
|
|
1040
|
-
any: {
|
|
1041
|
-
}?,
|
|
1042
|
-
tool: {
|
|
1043
|
-
name: ::String
|
|
1044
|
-
}?
|
|
1045
|
-
}?
|
|
1046
|
-
}?,
|
|
226
|
+
tool_config: Params::tool_configuration?,
|
|
1047
227
|
additional_model_request_fields: {
|
|
1048
228
|
}?
|
|
1049
229
|
}?
|
|
@@ -1149,7 +329,7 @@ module Aws
|
|
|
1149
329
|
{
|
|
1150
330
|
key: ::String,
|
|
1151
331
|
value: ::String
|
|
1152
|
-
}
|
|
332
|
+
}
|
|
1153
333
|
]
|
|
1154
334
|
) -> _StartAsyncInvokeResponseSuccess
|
|
1155
335
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartAsyncInvokeResponseSuccess
|
data/sig/params.rbs
ADDED
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module BedrockRuntime
|
|
10
|
+
module Params
|
|
11
|
+
type message = {
|
|
12
|
+
role: ("user" | "assistant"),
|
|
13
|
+
content: Array[
|
|
14
|
+
Params::content_block
|
|
15
|
+
]
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
type image_block = {
|
|
19
|
+
format: ("png" | "jpeg" | "gif" | "webp"),
|
|
20
|
+
source: {
|
|
21
|
+
bytes: ::String?,
|
|
22
|
+
s3_location: {
|
|
23
|
+
uri: ::String,
|
|
24
|
+
bucket_owner: ::String?
|
|
25
|
+
}?
|
|
26
|
+
},
|
|
27
|
+
error: {
|
|
28
|
+
message: ::String?
|
|
29
|
+
}?
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
type document_source = {
|
|
33
|
+
bytes: ::String?,
|
|
34
|
+
s3_location: {
|
|
35
|
+
uri: ::String,
|
|
36
|
+
bucket_owner: ::String?
|
|
37
|
+
}?,
|
|
38
|
+
text: ::String?,
|
|
39
|
+
content: Array[
|
|
40
|
+
{
|
|
41
|
+
text: ::String?
|
|
42
|
+
}
|
|
43
|
+
]?
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
type document_block = {
|
|
47
|
+
format: ("pdf" | "csv" | "doc" | "docx" | "xls" | "xlsx" | "html" | "txt" | "md")?,
|
|
48
|
+
name: ::String,
|
|
49
|
+
source: Params::document_source,
|
|
50
|
+
context: ::String?,
|
|
51
|
+
citations: {
|
|
52
|
+
enabled: bool
|
|
53
|
+
}?
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
type video_block = {
|
|
57
|
+
format: ("mkv" | "mov" | "mp4" | "webm" | "flv" | "mpeg" | "mpg" | "wmv" | "three_gp"),
|
|
58
|
+
source: {
|
|
59
|
+
bytes: ::String?,
|
|
60
|
+
s3_location: {
|
|
61
|
+
uri: ::String,
|
|
62
|
+
bucket_owner: ::String?
|
|
63
|
+
}?
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
type audio_block = {
|
|
68
|
+
format: ("mp3" | "opus" | "wav" | "aac" | "flac" | "mp4" | "ogg" | "mkv" | "mka" | "x-aac" | "m4a" | "mpeg" | "mpga" | "pcm" | "webm"),
|
|
69
|
+
source: {
|
|
70
|
+
bytes: ::String?,
|
|
71
|
+
s3_location: {
|
|
72
|
+
uri: ::String,
|
|
73
|
+
bucket_owner: ::String?
|
|
74
|
+
}?
|
|
75
|
+
},
|
|
76
|
+
error: {
|
|
77
|
+
message: ::String?
|
|
78
|
+
}?
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
type tool_result_block = {
|
|
82
|
+
tool_use_id: ::String,
|
|
83
|
+
content: Array[
|
|
84
|
+
Params::tool_result_content_block
|
|
85
|
+
],
|
|
86
|
+
status: ("success" | "error")?,
|
|
87
|
+
type: ::String?
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
type guardrail_converse_content_block = {
|
|
91
|
+
text: {
|
|
92
|
+
text: ::String,
|
|
93
|
+
qualifiers: Array[("grounding_source" | "query" | "guard_content")]?
|
|
94
|
+
}?,
|
|
95
|
+
image: {
|
|
96
|
+
format: ("png" | "jpeg"),
|
|
97
|
+
source: {
|
|
98
|
+
bytes: ::String?
|
|
99
|
+
}
|
|
100
|
+
}?
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
type citations_content_block = {
|
|
104
|
+
content: Array[
|
|
105
|
+
{
|
|
106
|
+
text: ::String?
|
|
107
|
+
}
|
|
108
|
+
]?,
|
|
109
|
+
citations: Array[
|
|
110
|
+
Params::citation
|
|
111
|
+
]?
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
type search_result_block = {
|
|
115
|
+
source: ::String,
|
|
116
|
+
title: ::String,
|
|
117
|
+
content: Array[
|
|
118
|
+
{
|
|
119
|
+
text: ::String
|
|
120
|
+
}
|
|
121
|
+
],
|
|
122
|
+
citations: {
|
|
123
|
+
enabled: bool
|
|
124
|
+
}?
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
type content_block = {
|
|
128
|
+
text: ::String?,
|
|
129
|
+
image: Params::image_block?,
|
|
130
|
+
document: Params::document_block?,
|
|
131
|
+
video: Params::video_block?,
|
|
132
|
+
audio: Params::audio_block?,
|
|
133
|
+
tool_use: {
|
|
134
|
+
tool_use_id: ::String,
|
|
135
|
+
name: ::String,
|
|
136
|
+
input: {
|
|
137
|
+
},
|
|
138
|
+
type: ("server_tool_use")?
|
|
139
|
+
}?,
|
|
140
|
+
tool_result: Params::tool_result_block?,
|
|
141
|
+
guard_content: Params::guardrail_converse_content_block?,
|
|
142
|
+
cache_point: {
|
|
143
|
+
type: ("default"),
|
|
144
|
+
ttl: ("5m" | "1h")?
|
|
145
|
+
}?,
|
|
146
|
+
reasoning_content: {
|
|
147
|
+
reasoning_text: {
|
|
148
|
+
text: ::String,
|
|
149
|
+
signature: ::String?
|
|
150
|
+
}?,
|
|
151
|
+
redacted_content: ::String?
|
|
152
|
+
}?,
|
|
153
|
+
citations_content: Params::citations_content_block?,
|
|
154
|
+
search_result: Params::search_result_block?
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
type tool_result_content_block = {
|
|
158
|
+
json: {
|
|
159
|
+
}?,
|
|
160
|
+
text: ::String?,
|
|
161
|
+
image: Params::image_block?,
|
|
162
|
+
document: Params::document_block?,
|
|
163
|
+
video: Params::video_block?,
|
|
164
|
+
search_result: Params::search_result_block?
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
type citation_location = {
|
|
168
|
+
web: {
|
|
169
|
+
url: ::String?,
|
|
170
|
+
domain: ::String?
|
|
171
|
+
}?,
|
|
172
|
+
document_char: {
|
|
173
|
+
document_index: ::Integer?,
|
|
174
|
+
start: ::Integer?,
|
|
175
|
+
end: ::Integer?
|
|
176
|
+
}?,
|
|
177
|
+
document_page: {
|
|
178
|
+
document_index: ::Integer?,
|
|
179
|
+
start: ::Integer?,
|
|
180
|
+
end: ::Integer?
|
|
181
|
+
}?,
|
|
182
|
+
document_chunk: {
|
|
183
|
+
document_index: ::Integer?,
|
|
184
|
+
start: ::Integer?,
|
|
185
|
+
end: ::Integer?
|
|
186
|
+
}?,
|
|
187
|
+
search_result_location: {
|
|
188
|
+
search_result_index: ::Integer?,
|
|
189
|
+
start: ::Integer?,
|
|
190
|
+
end: ::Integer?
|
|
191
|
+
}?
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
type citation = {
|
|
195
|
+
title: ::String?,
|
|
196
|
+
source: ::String?,
|
|
197
|
+
source_content: Array[
|
|
198
|
+
{
|
|
199
|
+
text: ::String?
|
|
200
|
+
}
|
|
201
|
+
]?,
|
|
202
|
+
location: Params::citation_location?
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
type system_content_block = {
|
|
206
|
+
text: ::String?,
|
|
207
|
+
guard_content: Params::guardrail_converse_content_block?,
|
|
208
|
+
cache_point: {
|
|
209
|
+
type: ("default"),
|
|
210
|
+
ttl: ("5m" | "1h")?
|
|
211
|
+
}?
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
type tool_choice = {
|
|
215
|
+
auto: {
|
|
216
|
+
}?,
|
|
217
|
+
any: {
|
|
218
|
+
}?,
|
|
219
|
+
tool: {
|
|
220
|
+
name: ::String
|
|
221
|
+
}?
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
type tool_configuration = {
|
|
225
|
+
tools: Array[
|
|
226
|
+
Params::tool
|
|
227
|
+
],
|
|
228
|
+
tool_choice: Params::tool_choice?
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
type tool_specification = {
|
|
232
|
+
name: ::String,
|
|
233
|
+
description: ::String?,
|
|
234
|
+
input_schema: {
|
|
235
|
+
json: {
|
|
236
|
+
}?
|
|
237
|
+
},
|
|
238
|
+
strict: bool?
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
type tool = {
|
|
242
|
+
tool_spec: Params::tool_specification?,
|
|
243
|
+
system_tool: {
|
|
244
|
+
name: ::String
|
|
245
|
+
}?,
|
|
246
|
+
cache_point: {
|
|
247
|
+
type: ("default"),
|
|
248
|
+
ttl: ("5m" | "1h")?
|
|
249
|
+
}?
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
type output_format = {
|
|
253
|
+
type: ("json_schema"),
|
|
254
|
+
structure: {
|
|
255
|
+
json_schema: {
|
|
256
|
+
schema: ::String,
|
|
257
|
+
name: ::String?,
|
|
258
|
+
description: ::String?
|
|
259
|
+
}?
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
type output_config = {
|
|
264
|
+
text_format: Params::output_format?
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
end
|
|
268
|
+
end
|
|
269
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.77.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -72,6 +72,7 @@ files:
|
|
|
72
72
|
- sig/async_client.rbs
|
|
73
73
|
- sig/client.rbs
|
|
74
74
|
- sig/errors.rbs
|
|
75
|
+
- sig/params.rbs
|
|
75
76
|
- sig/resource.rbs
|
|
76
77
|
- sig/types.rbs
|
|
77
78
|
- sig/waiters.rbs
|