Class VertexEmbedContentConfig
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Embedding options sent in the Vertex AI embedContent request format.
Built from EmbedContentRequest by the SDK; you normally do not create this directly.
public class VertexEmbedContentConfig
- Inheritance
-
VertexEmbedContentConfig
- Inherited Members
- Extension Methods
Properties
AudioTrackExtraction
Whether to extract and embed the audio track of video input.
[JsonPropertyName("audioTrackExtraction")]
public bool? AudioTrackExtraction { get; set; }
Property Value
- bool?
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?
DocumentOcr
Whether to run OCR on documents (for example PDFs) before embedding.
[JsonPropertyName("documentOcr")]
public bool? DocumentOcr { get; set; }
Property Value
- bool?
OutputDimensionality
Reduced dimension of the output embedding.
[JsonPropertyName("outputDimensionality")]
public int? OutputDimensionality { get; set; }
Property Value
- int?
TaskType
The task the embedding will be used for.
[JsonPropertyName("taskType")]
public TaskType? TaskType { get; set; }
Property Value
Title
Title of the document, for RETRIEVAL_DOCUMENT.
[JsonPropertyName("title")]
public string? Title { get; set; }