EmbedContentRequestOutputDimensionality Property

Gets or sets an optional reduced dimension for the output embedding. If set, excessive values in the output embedding are truncated from the end. Supported by newer models since 2024 only. Cannot be set when using models/embedding-001.

Definition

Namespace: GenerativeAI.Types
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public int? OutputDimensionality { get; set; }

Property Value

NullableInt32

See Also