POST
/
update-config
/
hnsw-params
/
similarity-metric
{
  "status": 200,
  "message": "Vector similarity metric updated. Please restart the database for it to take effect."
}

Authorizations

X-Eigen-API-Key
string
header
required

Body

application/json
updatedMetric
string
required

The new similarity metric (cosine, euclidean, ip)

Response

200
application/json
Similarity metric successfully updated.
status
integer
required

Status code of the response

message
string
required

Message giving basic information on the response

data
object

Important data to be given to the caller

error
object

An error that has occured