AzureAISearchVectorStoreRecordCollection<TRecord>.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.
Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2.UpsertAsync(`1,System.Threading.CancellationToken)
public virtual System.Threading.Tasks.Task<string> UpsertAsync(TRecord record, System.Threading.CancellationToken cancellationToken = default);
abstract member UpsertAsync : 'Record * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
override this.UpsertAsync : 'Record * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Overridable Function UpsertAsync (record As TRecord, Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)
Parameters
- record
- TRecord
- cancellationToken
- CancellationToken
Returns
Implements
Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2.UpsertAsync(`1,System.Threading.CancellationToken)