✨ Controls randomness: Lowering results in less random completions. As the temperature approches zero, the model will become deterministic and repetitive. Higher values means the model will take more risks. Try 0.9 for more creative applications, and 0 (argmax sampling) for ones with a well-defined answer.
✨ The maximum number of tokens to generate. Requests can use up to 2,048 or 4000 tokens shared between prompt and completion. The exact limit varies by model. (One token is roughly 4 characters for normal English text)
Tokens: 0