EigenDB's REST API
EigenDB provides a robust REST API to perform various actions.
Perform similarity search on a query vector.
ID of the query vector
K-nearest vectors desired
The k-nearest vectors returned in a array.
[4,7,2,8,5]The k-nearest vectors returned in a array.
Modify the time interval at which vectors in memory are persisted on disk.
The new time interval in seconds
Time interval successfully updated.
Time interval updated.Time interval successfully updated.
Update the port on which the API runs (default = 8080). EigenDB must be restarted this to take effect.
The new port number
API port successfully updated.
API port updated. Please restart the database for it to take effect.API port successfully updated.
Update the address on which the API runs (default = 0.0.0.0). EigenDB must be restarted this to take effect.
The new API address
API address successfully updated.
API address updated. Please restart the database for it to take effect.API address successfully updated.
Update the similarity metric used in similarity search (default = euclidean). EigenDB must be restarted this to take effect.
The new similarity metric (cosine, euclidean, ip)
Similarity metric successfully updated.
Vector similarity metric updated. Please restart the database for it to take effect.Similarity metric successfully updated.
Update the vector storage capacity. EigenDB must be restarted this to take effect.
The new vector space size
Vector space size successfully updated.
Vector space size updated. Please restart the database for it to take effect.Vector space size successfully updated.
Update M parameter in the HNSW algorithm used for similarity search. EigenDB must be restarted this to take effect.
The new M parameter
M parameter successfully updated.
M paramater updated. Please restart the database for it to take effect.M parameter successfully updated.
Update efConstruction parameter in the HNSW algorithm used for similarity search. EigenDB must be restarted this to take effect.
The new efConstruction parameter
efConstruction parameter successfully updated.
EF Construction paramater updated. Please restart the database for it to take effect.efConstruction parameter successfully updated.
Last updated