Commands
Upsert
Used to add new vectors or update an existing vector.
You can only upsert vectors with same dimension count(size) as your index.
Arguments
Payload
Vector | Vector[]
requiredid
string | number
requiredThe ID of the vector
vector
number[]
requiredThe embedding data
metadata
Record<string, unknown>
The metadata of the vector. This is used to make it easier to identify the vector on queries.
Response
'Success'
on successful operation.
Was this page helpful?