Query Data
This endpoint queries the raw text data over the existing vectors in the index after embedding it.
Request
The raw text data to embed and query.
The total number of the vectors that you want to receive as a query
result. The response will be sorted based on the distance metric score,
and topK
vectors will be returned.
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 data of the resulting vectors.
Response
The score is normalized to always be between 0 and 1. The closer the score is to 1, the more similar the vector is to the query vector. This does not depend on the distance metric you use.
The ID of the resulting vector.
The score of the vector data, calculated based on the distance metric of your index.
The resulting vector data.
Whether to include the vector values of the resulting vector objects.
Was this page helpful?