Partager via


MilvusMemoryStore.RemoveBatchAsync Method

Definition

Removes a batch of memory records from the data store. Does not guarantee that the collection exists.

public System.Threading.Tasks.Task RemoveBatchAsync (string collectionName, System.Collections.Generic.IEnumerable<string> keys, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveBatchAsync : string * seq<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.RemoveBatchAsync : string * seq<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function RemoveBatchAsync (collectionName As String, keys As IEnumerable(Of String), Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

collectionName
String

The name associated with a collection of embeddings.

keys
IEnumerable<String>

The unique ids associated with the memory record to remove.

cancellationToken
CancellationToken

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

Returns

Implements

Applies to