Table of Contents

Class VertexEmbedContentRequest

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Request body for the Vertex AI embedContent method, used by Gemini embedding models on Vertex AI.

public class VertexEmbedContentRequest
Inheritance
VertexEmbedContentRequest
Inherited Members
Extension Methods

Properties

Content

The content to embed.

[JsonPropertyName("content")]
public Content? Content { get; set; }

Property Value

Content

EmbedContentConfig

Embedding options.

[JsonPropertyName("embedContentConfig")]
public VertexEmbedContentConfig? EmbedContentConfig { get; set; }

Property Value

VertexEmbedContentConfig