Partager via


PineconeMemoryStore.RemoveWithDocumentIdBatchAsync Method

Definition

Remove a MemoryRecord from the Pinecone Vector database by a group of pointIds.

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
override this.RemoveWithDocumentIdBatchAsync : string * seq<string> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function RemoveWithDocumentIdBatchAsync (indexName As String, documentIds As IEnumerable(Of String), indexNamespace As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

indexName
String

The name associated with the index to remove the Pinecone vector record from.

documentIds
IEnumerable<String>

The unique indexed IDs associated with the Pinecone vector records to remove.

indexNamespace
String

The name associated with a collection of embeddings.

cancellationToken
CancellationToken

Cancellation token.

Returns

Implements

Exceptions

Applies to