Skip to content

SearchResultLocation

Structure Class

SearchResultLocation dataclass

Bases: _SerdeShape

Specifies a search result location within the content array, providing positioning information for cited content using search result index and block positions.

Attributes

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

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

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

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

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

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