1 override of UpsertAsync
Microsoft.Extensions.VectorData.ConformanceTests (1)
DependencyInjectionTests.cs (1)
309public override Task UpsertAsync(TRecord record, CancellationToken cancellationToken = default)
17 references to UpsertAsync
Microsoft.Extensions.DataIngestion (1)
Writers\VectorStoreWriter.cs (1)
96await _vectorStoreCollection.UpsertAsync(record, cancellationToken).ConfigureAwait(false);
Microsoft.Extensions.VectorData.Abstractions (1)
VectorStoreCollection.cs (1)
178/// generating an embedding for each record separately. This is why a default implementation that calls <see cref="UpsertAsync(TRecord, CancellationToken)"/> is not provided.
Microsoft.Extensions.VectorData.ConformanceTests (15)
EmbeddingGenerationTests.cs (2)
199await collection.UpsertAsync(record); 223await collection.UpsertAsync(record);
ModelTests\BasicModelTests.cs (2)
220await Collection.UpsertAsync(inserted); 241await Collection.UpsertAsync(updated);
ModelTests\DynamicModelTests.cs (2)
223await Collection.UpsertAsync(inserted); 242await Collection.UpsertAsync(updated);
ModelTests\MultiVectorModelTests.cs (1)
40await Collection.UpsertAsync(inserted);
ModelTests\NoDataModelTests.cs (1)
38await Collection.UpsertAsync(inserted);
ModelTests\NoVectorModelTests.cs (1)
39await Collection.UpsertAsync(inserted);
TypeTests\EmbeddingTypeTests.cs (3)
64await collection.UpsertAsync(record); 111await dynamicCollection.UpsertAsync(dynamicRecord); 160await collection2.UpsertAsync(record2);
TypeTests\KeyTypeTests.cs (3)
71await collection.UpsertAsync(record); 118await dynamicCollection.UpsertAsync(dynamicRecord); 184await collectionWithAutoGeneration.UpsertAsync(recordWithDefaultValueKey1);