Skip to content

DocumentCharLocation

Source code in docs_src/capo_bedrock_runtime/types/document_char_location.py
class DocumentCharLocation(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 character position of the cited content within the document.</p>"""
    end: NotRequired["int"]
    """<p>The ending character position 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 character position of the cited content within the document.

start instance-attribute

start: NotRequired[int]

The starting character position of the cited content within the document.