Class VertexEmbeddingParameters
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Options for the Vertex AI embedding predict method.
public class VertexEmbeddingParameters
- Inheritance
-
VertexEmbeddingParameters
- Inherited Members
- Extension Methods
Properties
AutoTruncate
Whether to truncate input that exceeds the model's maximum length instead of failing.
[JsonPropertyName("autoTruncate")]
public bool? AutoTruncate { get; set; }
Property Value
- bool?
OutputDimensionality
Reduced dimension of the output embedding.
[JsonPropertyName("outputDimensionality")]
public int? OutputDimensionality { get; set; }
Property Value
- int?