The -t or -temperature command line parameter allows users to precisely regulate the degree of randomness of AI-generated content. The parameter accepts floating-point values between 0 and 2: when set close to 0 (e.g., 0.2), the output presents a high degree of determinism and repetition, which is suitable for scenarios such as code-completion; the default value of 1 balances creativity and utility; and higher values (e.g., 1.8) inspire greater originality, which is suitable for brainstorming or poetry copy generation. This feature connects to the model inference API of Groq cloud platform, which can influence the probability distribution of token generation in real time.
This answer comes from the articleGroq Code CLI: a customizable command line programming tool powered by GroqThe