Property MaximumCompletionTokens
- Namespace
- LMKit.TextGeneration
- Assembly
- LM-Kit.NET.dll
MaximumCompletionTokens
Defines the maximum number of tokens (text chunks) permitted for text completion or generation.
public int MaximumCompletionTokens { get; set; }
Property Value
- int
The default value is 512 tokens. Setting this value to -1 disables the token limit.
Remarks
A token can vary in size from a single character to part of a word or even a complete phrase. On average, one token corresponds to approximately 4 characters of standard English text.