|
505 | 505 | "shape":"String", |
506 | 506 | "documentation":"<p>The title or identifier of the source document being cited.</p>" |
507 | 507 | }, |
| 508 | + "source":{ |
| 509 | + "shape":"String", |
| 510 | + "documentation":"<p>The source from the original search result that provided the cited content.</p>" |
| 511 | + }, |
508 | 512 | "sourceContent":{ |
509 | 513 | "shape":"CitationSourceContentList", |
510 | 514 | "documentation":"<p>The specific content from the source document that was referenced or cited in the generated response.</p>" |
|
549 | 553 | "documentChunk":{ |
550 | 554 | "shape":"DocumentChunkLocation", |
551 | 555 | "documentation":"<p>The chunk-level location within the document where the cited content is found, typically used for documents that have been segmented into logical chunks.</p>" |
| 556 | + }, |
| 557 | + "searchResultLocation":{ |
| 558 | + "shape":"SearchResultLocation", |
| 559 | + "documentation":"<p>The search result location where the cited content is found, including the search result index and block positions within the content array.</p>" |
552 | 560 | } |
553 | 561 | }, |
554 | 562 | "documentation":"<p>Specifies the precise location within a source document where cited content can be found. This can include character-level positions, page numbers, or document chunks depending on the document type and indexing method.</p>", |
|
619 | 627 | "shape":"String", |
620 | 628 | "documentation":"<p>The title or identifier of the source document being cited.</p>" |
621 | 629 | }, |
| 630 | + "source":{ |
| 631 | + "shape":"String", |
| 632 | + "documentation":"<p>The source from the original search result that provided the cited content.</p>" |
| 633 | + }, |
622 | 634 | "sourceContent":{ |
623 | 635 | "shape":"CitationSourceContentListDelta", |
624 | 636 | "documentation":"<p>The specific content from the source document that was referenced or cited in the generated response.</p>" |
|
684 | 696 | "citationsContent":{ |
685 | 697 | "shape":"CitationsContentBlock", |
686 | 698 | "documentation":"<p>A content block that contains both generated text and associated citation information, providing traceability between the response and source documents.</p>" |
| 699 | + }, |
| 700 | + "searchResult":{ |
| 701 | + "shape":"SearchResultBlock", |
| 702 | + "documentation":"<p>Search result to include in the message.</p>" |
687 | 703 | } |
688 | 704 | }, |
689 | 705 | "documentation":"<p>A block of content for a message that you pass to, or receive from, a model with the <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> API operations.</p>", |
|
3510 | 3526 | "min":1, |
3511 | 3527 | "pattern":"s3://[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9](/.*)?" |
3512 | 3528 | }, |
| 3529 | + "SearchResultBlock":{ |
| 3530 | + "type":"structure", |
| 3531 | + "required":[ |
| 3532 | + "source", |
| 3533 | + "title", |
| 3534 | + "content" |
| 3535 | + ], |
| 3536 | + "members":{ |
| 3537 | + "source":{ |
| 3538 | + "shape":"String", |
| 3539 | + "documentation":"<p>The source URL or identifier for the content.</p>" |
| 3540 | + }, |
| 3541 | + "title":{ |
| 3542 | + "shape":"String", |
| 3543 | + "documentation":"<p>A descriptive title for the search result.</p>" |
| 3544 | + }, |
| 3545 | + "content":{ |
| 3546 | + "shape":"SearchResultContentBlocks", |
| 3547 | + "documentation":"<p>An array of search result content block.</p>" |
| 3548 | + }, |
| 3549 | + "citations":{ |
| 3550 | + "shape":"CitationsConfig", |
| 3551 | + "documentation":"<p>Configuration setting for citations</p>" |
| 3552 | + } |
| 3553 | + }, |
| 3554 | + "documentation":"<p>A search result block that enables natural citations with proper source attribution for retrieved content.</p> <note> <p>This field is only supported by Anthropic Claude Opus 4.1, Opus 4, Sonnet 4.5, Sonnet 4, Sonnet 3.7, and 3.5 Haiku models.</p> </note>" |
| 3555 | + }, |
| 3556 | + "SearchResultContentBlock":{ |
| 3557 | + "type":"structure", |
| 3558 | + "required":["text"], |
| 3559 | + "members":{ |
| 3560 | + "text":{ |
| 3561 | + "shape":"String", |
| 3562 | + "documentation":"<p>The actual text content</p>" |
| 3563 | + } |
| 3564 | + }, |
| 3565 | + "documentation":"<p>A block within a search result that contains the content.</p>" |
| 3566 | + }, |
| 3567 | + "SearchResultContentBlocks":{ |
| 3568 | + "type":"list", |
| 3569 | + "member":{"shape":"SearchResultContentBlock"} |
| 3570 | + }, |
| 3571 | + "SearchResultLocation":{ |
| 3572 | + "type":"structure", |
| 3573 | + "members":{ |
| 3574 | + "searchResultIndex":{ |
| 3575 | + "shape":"SearchResultLocationSearchResultIndexInteger", |
| 3576 | + "documentation":"<p>The index of the search result content block where the cited content is found.</p>" |
| 3577 | + }, |
| 3578 | + "start":{ |
| 3579 | + "shape":"SearchResultLocationStartInteger", |
| 3580 | + "documentation":"<p>The starting position in the content array where the cited content begins.</p>" |
| 3581 | + }, |
| 3582 | + "end":{ |
| 3583 | + "shape":"SearchResultLocationEndInteger", |
| 3584 | + "documentation":"<p>The ending position in the content array where the cited content ends.</p>" |
| 3585 | + } |
| 3586 | + }, |
| 3587 | + "documentation":"<p>Specifies a search result location within the content array, providing positioning information for cited content using search result index and block positions.</p>" |
| 3588 | + }, |
| 3589 | + "SearchResultLocationEndInteger":{ |
| 3590 | + "type":"integer", |
| 3591 | + "box":true, |
| 3592 | + "min":0 |
| 3593 | + }, |
| 3594 | + "SearchResultLocationSearchResultIndexInteger":{ |
| 3595 | + "type":"integer", |
| 3596 | + "box":true, |
| 3597 | + "min":0 |
| 3598 | + }, |
| 3599 | + "SearchResultLocationStartInteger":{ |
| 3600 | + "type":"integer", |
| 3601 | + "box":true, |
| 3602 | + "min":0 |
| 3603 | + }, |
3513 | 3604 | "ServiceQuotaExceededException":{ |
3514 | 3605 | "type":"structure", |
3515 | 3606 | "members":{ |
|
3940 | 4031 | "video":{ |
3941 | 4032 | "shape":"VideoBlock", |
3942 | 4033 | "documentation":"<p>A tool result that is video.</p>" |
| 4034 | + }, |
| 4035 | + "searchResult":{ |
| 4036 | + "shape":"SearchResultBlock", |
| 4037 | + "documentation":"<p>A tool result that is a search result.</p>" |
3943 | 4038 | } |
3944 | 4039 | }, |
3945 | 4040 | "documentation":"<p>The tool result content block. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html\">Call a tool with the Converse API</a> in the Amazon Bedrock User Guide.</p>", |
|
0 commit comments