Definition

This property specifies an optional record definition, describing the schema of the record type.

Declaration

// C#
public VectorStoreCollectionDefinition? Definition { get; set; }

Property Value

An optional record Definition, describing the schema of the record type.

Implements

Inherited from Microsoft.Extensions.VectorData.VectorStoreCollectionOptions

Remarks

If not provided, schema is auto-inferred from the record model class. In this case, the record model properties needs to be annotated with the appropriate attributes to indicate their usage.