Partager via


PineconeClient.UpdateAsync Method

Definition

Updates a vector

public System.Threading.Tasks.Task UpdateAsync (string indexName, Microsoft.SemanticKernel.Connectors.Pinecone.PineconeDocument document, string indexNamespace = "", System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : string * Microsoft.SemanticKernel.Connectors.Pinecone.PineconeDocument * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.UpdateAsync : string * Microsoft.SemanticKernel.Connectors.Pinecone.PineconeDocument * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function UpdateAsync (indexName As String, document As PineconeDocument, Optional indexNamespace As String = "", Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

indexName
String

The name of the index

document
PineconeDocument

The document to update

indexNamespace
String

The namespace to use

cancellationToken
CancellationToken

Cancellation Token to cancel the request.

Returns

Task of Object

Implements

Applies to