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.
Inherited functions
Casts this CitationLocation as a DocumentChar and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.DocumentCharLocation value. Throws an exception if the CitationLocation is not a DocumentChar.
Casts this CitationLocation as a DocumentChar and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.DocumentCharLocation value. Returns null if the CitationLocation is not a DocumentChar.
Casts this CitationLocation as a DocumentChunk and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.DocumentChunkLocation value. Throws an exception if the CitationLocation is not a DocumentChunk.
Casts this CitationLocation as a DocumentChunk and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.DocumentChunkLocation value. Returns null if the CitationLocation is not a DocumentChunk.
Casts this CitationLocation as a DocumentPage and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.DocumentPageLocation value. Throws an exception if the CitationLocation is not a DocumentPage.
Casts this CitationLocation as a DocumentPage and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.DocumentPageLocation value. Returns null if the CitationLocation is not a DocumentPage.