GenerationConfigMaxOutputTokens Property
Optional. The maximum number of tokens to include in a response candidate.
Note: The default value varies by model, see the
Model.output_token_limit
attribute of the
Model returned from the
getModel function.
Namespace: GenerativeAI.TypesAssembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
public int? MaxOutputTokens { get; set; }
Property Value
NullableInt32