Skip to content

SearchResultLocation

Source code in docs_src/capo_bedrock_runtime/types/search_result_location.py
class SearchResultLocation(TypedDict, closed=True):
    search_result_index: NotRequired["int"]
    """<p>The index of the search result content block where the cited content is found.</p>"""
    start: NotRequired["int"]
    """<p>The starting position in the content array where the cited content begins.</p>"""
    end: NotRequired["int"]
    """<p>The ending position in the content array where the cited content ends.</p>"""

end instance-attribute

end: NotRequired[int]

The ending position in the content array where the cited content ends.

search_result_index instance-attribute

search_result_index: NotRequired[int]

The index of the search result content block where the cited content is found.

start instance-attribute

start: NotRequired[int]

The starting position in the content array where the cited content begins.