45 references to VectorStoreDataProperty
Microsoft.Extensions.DataIngestion (4)
Writers\VectorStoreWriter.cs (4)
134
new
VectorStoreDataProperty
(ContentName, typeof(T)),
135
new
VectorStoreDataProperty
(ContextName, typeof(string)),
136
new
VectorStoreDataProperty
(DocumentIdName, typeof(string))
148
definition.Properties.Add(new
VectorStoreDataProperty
(metadata.Key, propertyType)
Microsoft.Extensions.VectorData.ConformanceTests (41)
CollectionManagementTests.cs (2)
108
new
VectorStoreDataProperty
(nameof(Record.Text), typeof(string)) { StorageName = "text" },
109
new
VectorStoreDataProperty
(nameof(Record.Number), typeof(int)) { StorageName = "number" },
DistanceFunctionTests.cs (1)
179
new
VectorStoreDataProperty
(nameof(SearchRecord.Int), typeof(int)),
EmbeddingGenerationTests.cs (4)
455
new
VectorStoreDataProperty
(nameof(Record.Counter), typeof(int)) { IsIndexed = true },
456
new
VectorStoreDataProperty
(nameof(Record.Text), typeof(string))
526
new
VectorStoreDataProperty
(nameof(RecordWithRomOfFloatVectorProperty.Counter), typeof(int)) { IsIndexed = true },
527
new
VectorStoreDataProperty
(nameof(RecordWithRomOfFloatVectorProperty.Text), typeof(string))
FilterTests.cs (6)
596
new
VectorStoreDataProperty
(nameof(FilterRecord.Int), typeof(int)) { IsIndexed = true },
597
new
VectorStoreDataProperty
(nameof(FilterRecord.String), typeof(string)) { IsIndexed = true },
598
new
VectorStoreDataProperty
(nameof(FilterRecord.Bool), typeof(bool)) { IsIndexed = true },
599
new
VectorStoreDataProperty
(nameof(FilterRecord.Int2), typeof(int)) { IsIndexed = true },
600
new
VectorStoreDataProperty
(nameof(FilterRecord.StringArray), typeof(string[])) { IsIndexed = true },
601
new
VectorStoreDataProperty
(nameof(FilterRecord.StringList), typeof(List<string>)) { IsIndexed = true }
HybridSearchTests.cs (5)
168
new
VectorStoreDataProperty
("Text", typeof(string)) { IsFullTextIndexed = true },
169
new
VectorStoreDataProperty
("Code", typeof(int)) { IsIndexed = true },
222
new
VectorStoreDataProperty
("Text1", typeof(string)) { IsFullTextIndexed = true },
223
new
VectorStoreDataProperty
("Text2", typeof(string)) { IsFullTextIndexed = true },
224
new
VectorStoreDataProperty
("Code", typeof(int)) { IsIndexed = true },
IndexKindTests.cs (1)
69
new
VectorStoreDataProperty
(nameof(SearchRecord.Int), typeof(int)),
ModelTests\BasicModelTests.cs (2)
506
new
VectorStoreDataProperty
(nameof(Record.Number), typeof(int)) { IsIndexed = true },
507
new
VectorStoreDataProperty
(nameof(Record.Text), typeof(string)) { IsIndexed = true },
ModelTests\DynamicModelTests.cs (2)
403
new
VectorStoreDataProperty
(StringPropertyName, typeof(string)) { IsIndexed = true},
404
new
VectorStoreDataProperty
(IntegerPropertyName, typeof(int)) { IsIndexed = true },
ModelTests\MultiVectorModelTests.cs (1)
108
new
VectorStoreDataProperty
(nameof(MultiVectorRecord.Number), typeof(int)),
ModelTests\NoVectorModelTests.cs (1)
80
new
VectorStoreDataProperty
(nameof(NoVectorRecord.Text), typeof(string)) { IsIndexed = true }
TypeTests\DataTypeTests.cs (14)
488
properties.Add(new
VectorStoreDataProperty
(nameof(DefaultRecord.Byte), typeof(byte)) { IsIndexed = true });
493
properties.Add(new
VectorStoreDataProperty
(nameof(DefaultRecord.Short), typeof(short)) { IsIndexed = true });
498
properties.Add(new
VectorStoreDataProperty
(nameof(DefaultRecord.Int), typeof(int)) { IsIndexed = true });
503
properties.Add(new
VectorStoreDataProperty
(nameof(DefaultRecord.Long), typeof(long)) { IsIndexed = true });
508
properties.Add(new
VectorStoreDataProperty
(nameof(DefaultRecord.Float), typeof(float)) { IsIndexed = true });
513
properties.Add(new
VectorStoreDataProperty
(nameof(DefaultRecord.Double), typeof(double)) { IsIndexed = true });
518
properties.Add(new
VectorStoreDataProperty
(nameof(DefaultRecord.Decimal), typeof(decimal)) { IsIndexed = true });
523
properties.Add(new
VectorStoreDataProperty
(nameof(DefaultRecord.String), typeof(string)) { IsIndexed = true });
528
properties.Add(new
VectorStoreDataProperty
(nameof(DefaultRecord.Bool), typeof(bool)) { IsIndexed = true });
533
properties.Add(new
VectorStoreDataProperty
(nameof(DefaultRecord.Guid), typeof(Guid)) { IsIndexed = true });
538
properties.Add(new
VectorStoreDataProperty
(nameof(DefaultRecord.DateTime), typeof(DateTime)) { IsIndexed = true });
543
properties.Add(new
VectorStoreDataProperty
(nameof(DefaultRecord.DateTimeOffset), typeof(DateTimeOffset)) { IsIndexed = true });
559
properties.Add(new
VectorStoreDataProperty
(nameof(DefaultRecord.StringArray), typeof(string[])) { IsIndexed = true });
564
properties.Add(new
VectorStoreDataProperty
(nameof(DefaultRecord.NullableInt), typeof(int?)) { IsIndexed = true });
TypeTests\EmbeddingTypeTests.cs (1)
239
new
VectorStoreDataProperty
("Int", typeof(int)) { IsIndexed = true }
TypeTests\KeyTypeTests.cs (1)
238
new
VectorStoreDataProperty
("Int", typeof(int)),