asDocumentChunk
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. Throws an exception if the CitationLocation is not a DocumentChunk.