Share via


ChromaClient.DeleteEmbeddingsAsync Method

Definition

Removes embeddings from specified collection.

public System.Threading.Tasks.Task DeleteEmbeddingsAsync (string collectionId, string[] ids, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteEmbeddingsAsync : string * string[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteEmbeddingsAsync : string * string[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteEmbeddingsAsync (collectionId As String, ids As String(), Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

collectionId
String

Collection identifier generated by Chroma.

ids
String[]

Array of embedding identifiers.

cancellationToken
CancellationToken

The CancellationToken to monitor for cancellation requests. The default is None.

Returns

Implements

Applies to