Upsert Records
Use the upsert vectors operation to insert or update vectors in a table.
The operation upserts vectors into the specified table. If a vector with the same ID already exists, it will be updated with the new values. Otherwise, a new record is inserted. An error is raised if the provided table does not exist or if the vector format is invalid.
See the included sections for information about upserting text and vectors.
-
For tables with embedding models, text can be upserted using the
metadatafield of thevectorsparameter of theupsert vectorsoperation. -
Vectors can be inserted or updated in a table by listing them in the
vectorsparameter of theupsert vectorsoperation.