PineconeClient.UpsertAsync 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.
Upserts a list of documents
public System.Threading.Tasks.Task<int> UpsertAsync (string indexName, System.Collections.Generic.IEnumerable<Microsoft.SemanticKernel.Connectors.Pinecone.PineconeDocument> vectors, string indexNamespace = "", System.Threading.CancellationToken cancellationToken = default);
abstract member UpsertAsync : string * seq<Microsoft.SemanticKernel.Connectors.Pinecone.PineconeDocument> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<int>
override this.UpsertAsync : string * seq<Microsoft.SemanticKernel.Connectors.Pinecone.PineconeDocument> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<int>
Public Function UpsertAsync (indexName As String, vectors As IEnumerable(Of PineconeDocument), Optional indexNamespace As String = "", Optional cancellationToken As CancellationToken = Nothing) As Task(Of Integer)
Parameters
- indexName
- String
the name of the index
- vectors
- IEnumerable<PineconeDocument>
the list of documents
- indexNamespace
- String
the namespace to use
- cancellationToken
- CancellationToken