17 instantiations of VectorStoreKeyProperty
Microsoft.Extensions.DataIngestion (1)
Writers\VectorStoreWriter.cs (1)
125
new
VectorStoreKeyProperty
(KeyName, typeof(Guid)),
Microsoft.Extensions.VectorData.ConformanceTests (16)
CollectionManagementTests.cs (1)
107
new
VectorStoreKeyProperty
(nameof(Record.Key), typeof(TKey)) { StorageName = "key" },
DistanceFunctionTests.cs (1)
178
new
VectorStoreKeyProperty
(nameof(SearchRecord.Key), typeof(TKey)),
EmbeddingGenerationTests.cs (2)
448
new
VectorStoreKeyProperty
(nameof(Record.Key), typeof(TKey)),
519
new
VectorStoreKeyProperty
(nameof(RecordWithRomOfFloatVectorProperty.Key), typeof(TKey)),
FilterTests.cs (1)
589
new
VectorStoreKeyProperty
(nameof(FilterRecord.Key), typeof(TKey)),
HybridSearchTests.cs (2)
167
new
VectorStoreKeyProperty
("Key", typeof(TKey)),
221
new
VectorStoreKeyProperty
("Key", typeof(TKey)),
IndexKindTests.cs (1)
68
new
VectorStoreKeyProperty
(nameof(SearchRecord.Key), typeof(TKey)),
ModelTests\BasicModelTests.cs (1)
499
new
VectorStoreKeyProperty
(nameof(Record.Key), typeof(TKey)),
ModelTests\DynamicModelTests.cs (1)
402
new
VectorStoreKeyProperty
(KeyPropertyName, typeof(TKey)),
ModelTests\MultiVectorModelTests.cs (1)
107
new
VectorStoreKeyProperty
(nameof(MultiVectorRecord.Key), typeof(TKey)),
ModelTests\NoDataModelTests.cs (1)
78
new
VectorStoreKeyProperty
(nameof(NoDataRecord.Key), typeof(TKey)),
ModelTests\NoVectorModelTests.cs (1)
79
new
VectorStoreKeyProperty
(nameof(NoVectorRecord.Key), typeof(TKey)),
TypeTests\DataTypeTests.cs (1)
471
new
VectorStoreKeyProperty
(nameof(RecordBase.Key), typeof(TKey)),
TypeTests\EmbeddingTypeTests.cs (1)
233
new
VectorStoreKeyProperty
("Key", typeof(TKey)),
TypeTests\KeyTypeTests.cs (1)
237
new
VectorStoreKeyProperty
("Key", typeof(TKey)) { IsAutoGenerated = withAutoGeneration },
5 references to VectorStoreKeyProperty
Microsoft.Extensions.VectorData.Abstractions (5)
ProviderServices\CollectionModelBuilder.cs (4)
213
&& ((keyAttribute is not null && definitionProperty is not
VectorStoreKeyProperty
)
219
VectorStoreKeyProperty
=> "key",
238
if (keyAttribute is not null || definitionProperty is
VectorStoreKeyProperty
)
249
if (definitionProperty is
VectorStoreKeyProperty
defKey)
RecordDefinition\VectorStoreKeyProperty.cs (1)
17
/// Initializes a new instance of the <see cref="
VectorStoreKeyProperty
"/> class.