Partager via


PineconeMemoryStore.RemoveWithDocumentIdAsync Method

Definition

Remove a MemoryRecord from the Pinecone Vector database by pointId.

public System.Threading.Tasks.Task RemoveWithDocumentIdAsync (string indexName, string documentId, string indexNamespace, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveWithDocumentIdAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.RemoveWithDocumentIdAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function RemoveWithDocumentIdAsync (indexName As String, documentId As 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.

documentId
String

The unique indexed ID associated with the Pinecone vector record to remove.

indexNamespace
String

The name associated with a collection of embeddings.

cancellationToken
CancellationToken

Cancellation token.

Returns

Implements

Exceptions

Applies to