Partager via


IPineconeMemoryStore.RemoveBatchFromNamespaceAsync Method

Definition

Removes a batch of memory records from the data store in the given namespace.

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

Parameters

indexName
String

The name associated with a collection of embeddings.

indexNamespace
String

The namespace to remove the memory records from.

keys
IEnumerable<String>

The unique ids associated with the memory record to remove.

cancellationToken
CancellationToken

Cancellation token.

Returns

Applies to