PineconeMemoryStore.RemoveWithDocumentIdAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.