Upserts a knn embedding for multiple item ids for a model_id.
| REQUIRED | KEY | TYPE | DESCRIPTION |
|---|---|---|---|
| Yes | streamingToken | str | The streaming token for authenticating requests to the model. |
| Yes | modelId | str | The unique string identifier of the model to upsert item embeddings to. |
| Yes | upserts | list | A list of dictionaries of the form {'itemId': ..., 'vector': [...]} for each upsert. |
| No | catalogId | str | Name of the catalog in the model to update. |
| KEY | TYPE | DESCRIPTION |
|---|---|---|
| success | Boolean | true if the call succeeded, false if there was an error |
| TYPE | WHEN |
|---|---|
| DataNotFoundError |
|
| DataNotFoundError |
|