Range
The range method is used to retrieve vectors in chunks with pagination. This method supports a variety of options to configure the query to your needs.
The dimension of the query vector must match the dimension of your index.
Arguments
The cursor to the last retrieved vector. Should be set to 0
in the initial
range request.
The number of maximum vectors wanted in the response of range. (page size)
Whether to include the metadata of the vectors in the response. Setting this
true
would be the best practice, since it will make it easier to identify
the vectors.
Whether to include the vector themselves in the response.
Whether to include the data field in the response.
Response
Cursor to use in the next range request.
The ID of the vector
The vectors (if includeVectors
is set to true)
The metadata of the vectors (if includeMetadata
is set to true)
The data of the vector (if includeData
is set to true)