Share via


PineconeVectorStoreRecordCollection<TRecord>.UpsertBatchAsync Method

Definition

Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2.UpsertBatchAsync(System.Collections.Generic.IEnumerable{`1},System.Threading.CancellationToken)
public virtual System.Collections.Generic.IAsyncEnumerable<string> UpsertBatchAsync(System.Collections.Generic.IEnumerable<TRecord> records, System.Threading.CancellationToken cancellationToken = default);
abstract member UpsertBatchAsync : seq<'Record> * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<string>
override this.UpsertBatchAsync : seq<'Record> * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<string>
Public Overridable Function UpsertBatchAsync (records As IEnumerable(Of TRecord), Optional cancellationToken As CancellationToken = Nothing) As IAsyncEnumerable(Of String)

Parameters

records
IEnumerable<TRecord>
cancellationToken
CancellationToken

Returns

Implements

Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2.UpsertBatchAsync(System.Collections.Generic.IEnumerable{`1},System.Threading.CancellationToken)

Applies to