VectorStoreVectorAttribute.Dimensions 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 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.