5 instantiations of FilterRecord
Microsoft.Extensions.VectorData.ConformanceTests (5)
FilterTests.cs (5)
612new() 623new() 634new() 645new() 656new()
21 references to FilterRecord
Microsoft.Extensions.VectorData.ConformanceTests (21)
FilterTests.cs (21)
485Expression<Func<FilterRecord, bool>> filter, 537.OrderBy(r => r[nameof(FilterRecord.Key)]) 564public abstract class Fixture : VectorStoreCollectionFixture<TKey, FilterRecord> 589new VectorStoreKeyProperty(nameof(FilterRecord.Key), typeof(TKey)), 590new VectorStoreVectorProperty(nameof(FilterRecord.Vector), typeof(ReadOnlyMemory<float>?), 3) 596new VectorStoreDataProperty(nameof(FilterRecord.Int), typeof(int)) { IsIndexed = true }, 597new VectorStoreDataProperty(nameof(FilterRecord.String), typeof(string)) { IsIndexed = true }, 598new VectorStoreDataProperty(nameof(FilterRecord.Bool), typeof(bool)) { IsIndexed = true }, 599new VectorStoreDataProperty(nameof(FilterRecord.Int2), typeof(int)) { IsIndexed = true }, 600new VectorStoreDataProperty(nameof(FilterRecord.StringArray), typeof(string[])) { IsIndexed = true }, 601new VectorStoreDataProperty(nameof(FilterRecord.StringList), typeof(List<string>)) { IsIndexed = true } 605protected override List<FilterRecord> BuildTestData() 670public virtual void AssertEqualFilterRecord(FilterRecord x, FilterRecord y) 679if (definitionProperties.Any(p => p.Name == nameof(FilterRecord.Bool))) 684if (definitionProperties.Any(p => p.Name == nameof(FilterRecord.StringArray))) 689if (definitionProperties.Any(p => p.Name == nameof(FilterRecord.StringList))) 695public virtual void AssertEqualDynamic(FilterRecord x, Dictionary<string, object?> y) 704if (definitionProperties.Any(p => p.Name == nameof(FilterRecord.Bool))) 709if (definitionProperties.Any(p => p.Name == nameof(FilterRecord.StringArray))) 714if (definitionProperties.Any(p => p.Name == nameof(FilterRecord.StringList)))