API Reference
Update the similarity metric
Update the similarity metric used in similarity search (default = euclidean). EigenDB must be restarted this to take effect.
POST
/
update-config
/
hnsw-params
/
similarity-metric
Authorizations
X-Eigen-API-Key
string
headerrequiredBody
application/json
updatedMetric
string
requiredThe new similarity metric (cosine, euclidean, ip)
Response
200 - application/json
status
integer
requiredStatus code of the response
message
string
requiredMessage giving basic information on the response
data
object
Important data to be given to the caller
error
object
An error that has occured