1 override of UpsertAsync
Microsoft.Extensions.VectorData.ConformanceTests (1)
DependencyInjectionTests.cs (1)
309
public override Task
UpsertAsync
(TRecord record, CancellationToken cancellationToken = default)
17 references to UpsertAsync
Microsoft.Extensions.DataIngestion (1)
Writers\VectorStoreWriter.cs (1)
96
await _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)
199
await collection.
UpsertAsync
(record);
223
await collection.
UpsertAsync
(record);
ModelTests\BasicModelTests.cs (2)
220
await Collection.
UpsertAsync
(inserted);
241
await Collection.
UpsertAsync
(updated);
ModelTests\DynamicModelTests.cs (2)
223
await Collection.
UpsertAsync
(inserted);
242
await Collection.
UpsertAsync
(updated);
ModelTests\MultiVectorModelTests.cs (1)
40
await Collection.
UpsertAsync
(inserted);
ModelTests\NoDataModelTests.cs (1)
38
await Collection.
UpsertAsync
(inserted);
ModelTests\NoVectorModelTests.cs (1)
39
await Collection.
UpsertAsync
(inserted);
TypeTests\EmbeddingTypeTests.cs (3)
64
await collection.
UpsertAsync
(record);
111
await dynamicCollection.
UpsertAsync
(dynamicRecord);
160
await collection2.
UpsertAsync
(record2);
TypeTests\KeyTypeTests.cs (3)
71
await collection.
UpsertAsync
(record);
118
await dynamicCollection.
UpsertAsync
(dynamicRecord);
184
await collectionWithAutoGeneration.
UpsertAsync
(recordWithDefaultValueKey1);