{ "status": 200, "message": "Similarity search successfully performed.", "data": { "nearest_neighbors": { "21": { "metadata": { "foo3": "bar4" }, "rank": 2 }, "45": { "metadata": { "foo7": "bar8" }, "rank": 4 }, "54": { "metadata": { "foo": "bar" }, "rank": 0 }, "63": { "metadata": { "foo5": "bar6", "hello": "world" }, "rank": 3 }, "98": { "metadata": { "foo1": "bar2", "bar": "baz" }, "rank": 1 } } } }
Search for embeddings using vector similarity search
Name of the index
ID of the query vector
Number of retrieved embedding desired.
The k-nearest embeddings returned in an array along with their rank (0 is nearest).
Status code of the response
Message giving basic information on the response
Important data to be given to the caller
An error that has occured
Show child attributes