Partager via


IPineconeMemoryStore.RemoveWithDocumentIdAsync Method

Definition

Removes memory records from the data store associated with the document id.

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
Public Function RemoveWithDocumentIdAsync (indexName As String, documentId As String, Optional indexNamespace As String = "", Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

indexName
String

the name of the index to remove from.

documentId
String

the document id to remove.

indexNamespace
String

the namespace to remove from.

cancellationToken
CancellationToken

Returns

Applies to