UpsertAsync

UpsertAsync methods update or insert a record or a batch of records into the vector store. It does not guarantee the existence of the collection. If the record already exists, it is updated; if it does not exist, it is created.

Overload List

  • UpsertAsync(TRecord, CancellationToken)

    This method updates or inserts a record into the vector store. It does not guarantee the existence of the collection. If the record already exists, it is updated; if it does not exist, it is created.

  • UpsertAsync(IEnumerable<TRecord>, CancellationToken)

    This method updates or inserts a batch of records into the vector store. It does not guarantee the existence of the collection. If the record already exists, it is updated; if it does not exist, it is created.