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
srcBatchJobSourceThe source configuration.
destBatchJobDestinationThe optional destination configuration.
Properties
Dest
Optional. The destination configuration for embedding output.
[JsonPropertyName("dest")]
public BatchJobDestination? Dest { get; set; }
Property Value
Src
Required. The source configuration specifying input data for embeddings.
[JsonPropertyName("src")]
public BatchJobSource Src { get; set; }