upsertEmbeddingVectors
Write pre-computed embedding vectors to an external vector index for specific records. Ensure each vector matches the index dimensions before checking indexing status.
Instructions
Write pre-computed embedding vectors to an external vector index for a set of records. Only valid for indexes with sourceType "external". Each vector must contain exactly as many dimensions as the index was created with. After upserting, call getEmbeddingIndexStats to check if all records are indexed (status becomes "ready").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Array of record-vector pairs to write. | |
| indexId | Yes | ID of the external embedding index (from findEmbeddingIndexes). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |