upsert_embedding
Insert a new embedding row or update an existing one by ID in a pgvector table, setting the vector and optional metadata or other columns.
Instructions
Insert a row or update it in place if id_value already exists (upsert).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| schema | No | public | |
| id_value | Yes | ||
| metadata | No | Other column values to set, keyed by column name | |
| embedding | Yes | ||
| id_column | Yes | ||
| embedding_column | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||