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.GmGenerationConfigThe 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 5338–5517
Fields
temperature
float | nullmaxOutputTokens
int | nulltopP
float | nulltopK
int | nullstopSequences
string[] | nullresponseModalities
string[] | null