Share via


VectorStoreVectorAttribute.Dimensions Property

Definition

Gets the number of dimensions that the vector has.

public:
 property int Dimensions { int get(); };
public int Dimensions { get; }
member this.Dimensions : int
Public ReadOnly Property Dimensions As Integer

Property Value

Remarks

This property is required when creating collections, but can be omitted if not using that functionality. If not provided when trying to create a collection, create will fail.

Applies to