Method
deleteItemEmbeddings POST
Copy POST

Deletes KNN embeddings for a list of item IDs for a given model ID.

Arguments:

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 from which to delete item embeddings.
Yes itemIds List[str] A list of item IDs whose embeddings will be deleted.
No catalogId str An optional name to specify which catalog in a model to update.
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.

Response:

KEY TYPE DESCRIPTION
success Boolean true if the call succeeded, false if there was an error

Exceptions:

TYPE WHEN
DataNotFoundError

modelId is not found.

DataNotFoundError

itemIds is not found.

DataNotFoundError

catalogId is not found.

Language: