Skip to content

DocumentChunkLocation

Source code in docs_src/capo_bedrock_runtime/types/document_chunk_location.py
class DocumentChunkLocation(TypedDict, closed=True):
    document_index: NotRequired["int"]
    """<p>The index of the document within the array of documents provided in the request.</p>"""
    start: NotRequired["int"]
    """<p>The starting chunk identifier or index of the cited content within the document.</p>"""
    end: NotRequired["int"]
    """<p>The ending chunk identifier or index of the cited content within the document.</p>"""

document_index instance-attribute

document_index: NotRequired[int]

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

end instance-attribute

end: NotRequired[int]

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

start instance-attribute

start: NotRequired[int]

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