Share via


IPineconeMemoryStore.RemoveWithDocumentIdBatchAsync Method

Definition

Removes memory records from the data store that match the document ids.

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

Parameters

indexName
String

the name of the index to remove from.

documentIds
IEnumerable<String>

the document ids to remove.

indexNamespace
String

the namespace to remove from.

cancellationToken
CancellationToken

Returns

Applies to