maxOutputTokens property
The maximum number of tokens to generate in the response.
A token is approximately four characters. The default value varies by model. This parameter can be used to control the length of the generated text and prevent overly long responses.
Optional.
Implementation
core.int? maxOutputTokens;