Table of Contents

Class AsyncBatchEmbedContentRequest

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Request for batch embedding generation.

public class AsyncBatchEmbedContentRequest
Inheritance
AsyncBatchEmbedContentRequest
Inherited Members
Extension Methods

Constructors

AsyncBatchEmbedContentRequest()

Initializes a new instance of the AsyncBatchEmbedContentRequest class.

public AsyncBatchEmbedContentRequest()

AsyncBatchEmbedContentRequest(BatchJobSource, BatchJobDestination?)

Initializes a new instance of the AsyncBatchEmbedContentRequest class with specified source and destination.

public AsyncBatchEmbedContentRequest(BatchJobSource src, BatchJobDestination? dest = null)

Parameters

src BatchJobSource

The source configuration.

dest BatchJobDestination

The optional destination configuration.

Properties

Dest

Optional. The destination configuration for embedding output.

[JsonPropertyName("dest")]
public BatchJobDestination? Dest { get; set; }

Property Value

BatchJobDestination

Src

Required. The source configuration specifying input data for embeddings.

[JsonPropertyName("src")]
public BatchJobSource Src { get; set; }

Property Value

BatchJobSource

See Also