Upserts an embedding vector for an item id for a model_id.
REQUIRED | KEY | TYPE | DESCRIPTION |
---|---|---|---|
Yes | streamingToken | str | The streaming token for authenticating requests to the model. |
Yes | modelId | str | A unique string identifier for the model to upsert item embeddings to. |
Yes | itemId | str | The item id for which its embeddings will be upserted. |
Yes | vector | List[float] | The embedding vector. |
No | catalogId | str | The 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 |
|
DataNotFoundError |
|