6 instantiations of VectorStoreDataAttribute
Microsoft.Extensions.VectorData.ConformanceTests (6)
DependencyInjectionTests.cs (1)
320[VectorStoreData(StorageName = "number")]
EmbeddingGenerationTests.cs (2)
361[VectorStoreData(IsIndexed = true)] 364[VectorStoreData]
ModelTests\BasicModelTests.cs (2)
514[VectorStoreData(StorageName = "text")] 517[VectorStoreData(StorageName = "number")]
ModelTests\NoVectorModelTests.cs (1)
104[VectorStoreData(StorageName = "text")]
5 references to VectorStoreDataAttribute
Microsoft.Extensions.VectorData.Abstractions (5)
ProviderServices\CollectionModelBuilder.cs (3)
188VectorStoreDataAttribute? dataAttribute = null; 195dataAttribute = clrProperty.GetCustomAttribute<VectorStoreDataAttribute>(); 202$"Property '{clrProperty.DeclaringType?.Name}.{clrProperty.Name}' has multiple of {nameof(VectorStoreKeyAttribute)}, {nameof(VectorStoreDataAttribute)} or {nameof(VectorStoreVectorAttribute)}. Only one of these attributes can be specified on a property.");
VectorStore.cs (1)
34/// <seealso cref="VectorStoreDataAttribute"/>
VectorStoreCollectionOptions.cs (1)
33/// See <see cref="VectorStoreKeyAttribute"/>, <see cref="VectorStoreDataAttribute"/>, and <see cref="VectorStoreVectorAttribute"/>.