Language

OpenAICompatibleVectorizerParameters.Dimensions Property

Definition

The output dimensions, which must match the target vector field. Defaults to 1536 for text-embedding-ada-002 and text-embedding-3-small, or 3072 for text-embedding-3-large. Ada requires 1536; text-embedding-3-small supports 1 through 1536, and text-embedding-3-large supports 1 through 3072. Preserving omitted headers on update requires the configured dimensions to remain unchanged; omitting dimensions is distinct from specifying the default explicitly.

public int? Dimensions { get; set; }
member this.Dimensions : Nullable<int> with get, set
Public Property Dimensions As Nullable(Of Integer)

Property Value

Applies to