google.internal.GmGenerationConfig

The typed subset of `generationConfig` the clients expose as first-class options. Everything else the API accepts (thinkingConfig, responseSchema, seed, penalties, …) rides the `request_body` passthrough, which merges into this object key-by-key rather than replacing it.

Reference version

Signature

class google.internal.GmGenerationConfig

The typed subset of generationConfig the clients expose as first-class options. Everything else the API accepts (thinkingConfig, responseSchema, seed, penalties, …) rides the request_body passthrough, which merges into this object key-by-key rather than replacing it.

Source:<builtin>/google/ns_internal/gemini.bamlbytes 53385517

Fields

temperature

float | null

maxOutputTokens

int | null

topP

float | null

topK

int | null

stopSequences

string[] | null

responseModalities

string[] | null