VectorStoreCollectionOptions.Definition Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets an optional record definition that defines the schema of the record type.
public:
property Microsoft::Extensions::VectorData::VectorStoreCollectionDefinition ^ Definition { Microsoft::Extensions::VectorData::VectorStoreCollectionDefinition ^ get(); void set(Microsoft::Extensions::VectorData::VectorStoreCollectionDefinition ^ value); };
public Microsoft.Extensions.VectorData.VectorStoreCollectionDefinition? Definition { get; set; }
member this.Definition : Microsoft.Extensions.VectorData.VectorStoreCollectionDefinition with get, set
Public Property Definition As VectorStoreCollectionDefinition
Property Value
Remarks
If not provided, the schema will be inferred from the record model class using reflection. In this case, the record model properties must be annotated with the appropriate attributes to indicate their usage. See VectorStoreKeyAttribute, VectorStoreDataAttribute, and VectorStoreVectorAttribute.