|
755 | 755 | "smithy.api#documentation": "<p>Image to include in the message. </p>\n <note>\n <p>This field is only supported by Anthropic Claude 3 models.</p>\n </note>" |
756 | 756 | } |
757 | 757 | }, |
| 758 | + "document": { |
| 759 | + "target": "com.amazonaws.bedrockruntime#DocumentBlock", |
| 760 | + "traits": { |
| 761 | + "smithy.api#documentation": "<p>A document to include in the message.</p>" |
| 762 | + } |
| 763 | + }, |
758 | 764 | "toolUse": { |
759 | 765 | "target": "com.amazonaws.bedrockruntime#ToolUseBlock", |
760 | 766 | "traits": { |
|
1346 | 1352 | "smithy.api#documentation": "<p>The trace object in a response from <a>Converse</a>. Currently, you can only trace guardrails.</p>" |
1347 | 1353 | } |
1348 | 1354 | }, |
| 1355 | + "com.amazonaws.bedrockruntime#DocumentBlock": { |
| 1356 | + "type": "structure", |
| 1357 | + "members": { |
| 1358 | + "format": { |
| 1359 | + "target": "com.amazonaws.bedrockruntime#DocumentFormat", |
| 1360 | + "traits": { |
| 1361 | + "smithy.api#documentation": "<p>The format of a document, or its extension.</p>", |
| 1362 | + "smithy.api#required": {} |
| 1363 | + } |
| 1364 | + }, |
| 1365 | + "name": { |
| 1366 | + "target": "smithy.api#String", |
| 1367 | + "traits": { |
| 1368 | + "smithy.api#documentation": "<p>A name for the document.</p>", |
| 1369 | + "smithy.api#length": { |
| 1370 | + "min": 1, |
| 1371 | + "max": 64 |
| 1372 | + }, |
| 1373 | + "smithy.api#required": {} |
| 1374 | + } |
| 1375 | + }, |
| 1376 | + "source": { |
| 1377 | + "target": "com.amazonaws.bedrockruntime#DocumentSource", |
| 1378 | + "traits": { |
| 1379 | + "smithy.api#documentation": "<p>Contains the content of the document.</p>", |
| 1380 | + "smithy.api#required": {} |
| 1381 | + } |
| 1382 | + } |
| 1383 | + }, |
| 1384 | + "traits": { |
| 1385 | + "smithy.api#documentation": "<p>A document to include in a message when sending a <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html\">Converse</a> or <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html\">ConverseStream</a> request. You can include up to 5 documents in a request. The maximum document size is 50 MB.</p>" |
| 1386 | + } |
| 1387 | + }, |
| 1388 | + "com.amazonaws.bedrockruntime#DocumentFormat": { |
| 1389 | + "type": "enum", |
| 1390 | + "members": { |
| 1391 | + "PDF": { |
| 1392 | + "target": "smithy.api#Unit", |
| 1393 | + "traits": { |
| 1394 | + "smithy.api#enumValue": "pdf" |
| 1395 | + } |
| 1396 | + }, |
| 1397 | + "CSV": { |
| 1398 | + "target": "smithy.api#Unit", |
| 1399 | + "traits": { |
| 1400 | + "smithy.api#enumValue": "csv" |
| 1401 | + } |
| 1402 | + }, |
| 1403 | + "DOC": { |
| 1404 | + "target": "smithy.api#Unit", |
| 1405 | + "traits": { |
| 1406 | + "smithy.api#enumValue": "doc" |
| 1407 | + } |
| 1408 | + }, |
| 1409 | + "DOCX": { |
| 1410 | + "target": "smithy.api#Unit", |
| 1411 | + "traits": { |
| 1412 | + "smithy.api#enumValue": "docx" |
| 1413 | + } |
| 1414 | + }, |
| 1415 | + "XLS": { |
| 1416 | + "target": "smithy.api#Unit", |
| 1417 | + "traits": { |
| 1418 | + "smithy.api#enumValue": "xls" |
| 1419 | + } |
| 1420 | + }, |
| 1421 | + "XLSX": { |
| 1422 | + "target": "smithy.api#Unit", |
| 1423 | + "traits": { |
| 1424 | + "smithy.api#enumValue": "xlsx" |
| 1425 | + } |
| 1426 | + }, |
| 1427 | + "HTML": { |
| 1428 | + "target": "smithy.api#Unit", |
| 1429 | + "traits": { |
| 1430 | + "smithy.api#enumValue": "html" |
| 1431 | + } |
| 1432 | + }, |
| 1433 | + "TXT": { |
| 1434 | + "target": "smithy.api#Unit", |
| 1435 | + "traits": { |
| 1436 | + "smithy.api#enumValue": "txt" |
| 1437 | + } |
| 1438 | + }, |
| 1439 | + "MD": { |
| 1440 | + "target": "smithy.api#Unit", |
| 1441 | + "traits": { |
| 1442 | + "smithy.api#enumValue": "md" |
| 1443 | + } |
| 1444 | + } |
| 1445 | + } |
| 1446 | + }, |
| 1447 | + "com.amazonaws.bedrockruntime#DocumentSource": { |
| 1448 | + "type": "union", |
| 1449 | + "members": { |
| 1450 | + "bytes": { |
| 1451 | + "target": "smithy.api#Blob", |
| 1452 | + "traits": { |
| 1453 | + "smithy.api#documentation": "<p>A base64-encoded string of a UTF-8 encoded file, that is the document to include in the message.</p>", |
| 1454 | + "smithy.api#length": { |
| 1455 | + "min": 1 |
| 1456 | + } |
| 1457 | + } |
| 1458 | + } |
| 1459 | + }, |
| 1460 | + "traits": { |
| 1461 | + "smithy.api#documentation": "<p>Contains the content of the document included in a message when sending a <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html\">Converse</a> or <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html\">ConverseStream</a> request or in the response.</p>" |
| 1462 | + } |
| 1463 | + }, |
1349 | 1464 | "com.amazonaws.bedrockruntime#GuardrailAssessment": { |
1350 | 1465 | "type": "structure", |
1351 | 1466 | "members": { |
|
3153 | 3268 | "traits": { |
3154 | 3269 | "smithy.api#documentation": "<p>A tool result that is an image.</p>\n <note>\n <p>This field is only supported by Anthropic Claude 3 models.</p>\n </note>" |
3155 | 3270 | } |
| 3271 | + }, |
| 3272 | + "document": { |
| 3273 | + "target": "com.amazonaws.bedrockruntime#DocumentBlock", |
| 3274 | + "traits": { |
| 3275 | + "smithy.api#documentation": "<p>A tool result that is a document.</p>" |
| 3276 | + } |
3156 | 3277 | } |
3157 | 3278 | }, |
3158 | 3279 | "traits": { |
|
0 commit comments