Temperature (aka creativity): Generally a number between 0-1 (but can be higher) with a higher number generating more random text. Float value controlling randomness in boltzmann distribution. Lower
temperature results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive. Higher temperature results in more random completions.
1 means only 1 word is considered for each step (token), resulting in deterministic completions, while 40 means 40 words are considered at each step. 0 (default) is a special setting meaning no restrictions.
40 generally is a good value.
Generating text. This may take up to several minutes if the tokens parameter is set to a high value…