Skip to content

Bedrock Runtime  >  Structures  >  DocumentChunkLocation

DocumentChunkLocation

Structure Class

DocumentChunkLocation dataclass

Specifies a chunk-level location within a document, providing positioning information for cited content using logical document segments or chunks.

Attributes

document_index class-attribute instance-attribute
document_index: int | None = None

The index of the document within the array of documents provided in the request.

end class-attribute instance-attribute
end: int | None = None

The ending chunk identifier or index of the cited content within the document.

start class-attribute instance-attribute
start: int | None = None

The starting chunk identifier or index of the cited content within the document.