Share via


VectorStoreCollectionOptions.Definition Property

Definition

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.

Applies to