Partager via


PineconeMemoryStore.RemoveAsync(String, String, CancellationToken) Method

Definition

Removes a memory record from the data store. Does not guarantee that the collection exists.

public System.Threading.Tasks.Task RemoveAsync (string collectionName, string key, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.RemoveAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function RemoveAsync (collectionName As String, key As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

collectionName
String

in the case of Pinecone, collectionName is synonymous with indexName

key
String

The unique id associated with the memory record to remove.

cancellationToken
CancellationToken

The CancellationToken to monitor for cancellation requests. The default is None.

Returns

Implements

Applies to