9 references to Collection
Microsoft.Extensions.VectorData.ConformanceTests (9)
ModelTests\MultiVectorModelTests.cs (9)
22
var received = await
Collection
.GetAsync(expectedRecord.Key, new() { IncludeVectors = includeVectors });
39
Assert.Null(await
Collection
.GetAsync(expectedKey));
40
await
Collection
.UpsertAsync(inserted);
42
var received = await
Collection
.GetAsync(expectedKey, new() { IncludeVectors = true });
51
await
Collection
.DeleteAsync(keyToRemove);
52
Assert.Null(await
Collection
.GetAsync(keyToRemove));
58
var result = await
Collection
63
result = await
Collection
73
await
Collection
.SearchAsync(new ReadOnlyMemory<float>([1, 2, 3]), top: 1).ToListAsync());