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.
The number of maximum vectors tha want 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.
The metadata of the vector. This is used to make it easier to identify the vector on queries.
Response
The ID of the resulting vector. Empty if there are no other vectors in the index.
The ID of the vector
The embedding data
The metadata of the vector. This is used to make it easier to identify the vector on queries.