3 instantiations of MultiVectorRecord
Microsoft.Extensions.VectorData.ConformanceTests (3)
ModelTests\MultiVectorModelTests.cs (3)
31MultiVectorRecord inserted = new() 86new() 93new()
13 references to MultiVectorRecord
Microsoft.Extensions.VectorData.ConformanceTests (13)
ModelTests\MultiVectorModelTests.cs (13)
20var expectedRecord = fixture.TestData[0]; 22var received = await Collection.GetAsync(expectedRecord.Key, new() { IncludeVectors = includeVectors }); 31MultiVectorRecord inserted = new() 42var received = await Collection.GetAsync(expectedKey, new() { IncludeVectors = true }); 75Assert.Equal($"The '{nameof(MultiVectorRecord)}' type has multiple vector properties, please specify your chosen property via options.", exception.Message); 78protected VectorStoreCollection<TKey, MultiVectorRecord> Collection => fixture.Collection; 80public abstract class Fixture : VectorStoreCollectionFixture<TKey, MultiVectorRecord> 84protected override List<MultiVectorRecord> BuildTestData() => 107new VectorStoreKeyProperty(nameof(MultiVectorRecord.Key), typeof(TKey)), 108new VectorStoreDataProperty(nameof(MultiVectorRecord.Number), typeof(int)), 110new VectorStoreVectorProperty(nameof(MultiVectorRecord.Vector1), typeof(ReadOnlyMemory<float>), 3) 116new VectorStoreVectorProperty(nameof(MultiVectorRecord.Vector2), typeof(ReadOnlyMemory<float>), 3) 135public void AssertEqual(MultiVectorRecord? other, bool includeVectors, bool compareVectors)