Documentation Index
Fetch the complete documentation index at: https://upstash-vector.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Method
To retrieve vectors from the index based on specific criteria, you can use thequery method, which accepts the following parameters:
vector: The reference vector for similarity comparison.include_metadata: A boolean flag indicating whether to include metadata in the query results.include_vector: A boolean flag indicating whether to include vectors in the query results.top_k: The number of top matching vectors to retrieve.
id: The identifier associated with the matching vector.metadata: Additional information or attributes linked to the matching vector.score: A measure of similarity indicating how closely the vector matches the query vector.vector: The vector itself (included only ifinclude_vectoris set toTrue).