maxTokens property
The maximum number of tokens that can be generated in the chat completion.
The total length of input tokens and generated tokens is limited by the model's context length.
Default: 8192
Implementation
final int maxTokens;
The maximum number of tokens that can be generated in the chat completion.
The total length of input tokens and generated tokens is limited by the model's context length.
Default: 8192
final int maxTokens;