Table of Contents

Class InlinedRequestWrapper

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Wrapper for inlined request in batch processing (Google AI format).

public class InlinedRequestWrapper
Inheritance
InlinedRequestWrapper
Inherited Members
Extension Methods

Properties

Metadata

Optional metadata to be associated with the request.

[JsonPropertyName("metadata")]
public Dictionary<string, string>? Metadata { get; set; }

Property Value

Dictionary<string, string>

Request

The actual request containing model, contents, and configuration.

[JsonPropertyName("request")]
public InlinedRequestBody? Request { get; set; }

Property Value

InlinedRequestBody