Method
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.
|
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.
KEY |
TYPE |
DESCRIPTION |
success |
Boolean |
true if the call succeeded, false if there was an error |
TYPE |
WHEN |
DataNotFoundError |
`modelId` is not found. |
DataNotFoundError |
`itemId` is not found. |
DataNotFoundError |
`catalogId` is not found. |