CitationLocation - Amazon Bedrock
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

CitationLocation

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.

Contents

Important

This data type is a UNION, so only one of the following members can be specified when used or returned.

documentChar

The character-level location within the document where the cited content is found.

Type: DocumentCharLocation object

Required: No

documentChunk

The chunk-level location within the document where the cited content is found, typically used for documents that have been segmented into logical chunks.

Type: DocumentChunkLocation object

Required: No

documentPage

The page-level location within the document where the cited content is found.

Type: DocumentPageLocation object

Required: No

searchResultLocation

The search result location where the cited content is found, including the search result index and block positions within the content array.

Type: SearchResultLocation object

Required: No

web

The web URL that was cited for this reference.

Type: WebLocation object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: