Skip to content

DocumentChunkLocation

Structure Class

DocumentChunkLocation dataclass

Bases: _SerdeShape

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 = ...

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

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

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

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

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