VectorStoreVectorAttribute.Dimensions 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
得到向量的維度數。
public:
property int Dimensions { int get(); };
public int Dimensions { get; }
member this.Dimensions : int
Public ReadOnly Property Dimensions As Integer
屬性值
備註
此屬性在建立集合時是必需的,但若未使用此功能則可省略。 若在嘗試建立集合時未提供,建立將失敗。