Learn about AI reasoning capabilities and best practices for complex problem-solving with Friendli models.
chat_template_kwargs
—just send your prompt and they’ll perform multi-step reasoning internally.
Certain models are trained to always think (generate internal reasoning) without additional parameters. These models automatically handle reasoning internally. You just send a prompt, and the model performs multi-step reasoning under the hood.
enable_thinking
parameter.
Toggle enable_thinking
to control chain-of-thought reasoning. On models that support this feature, setting it to true
allows internal thinking; when false
, an empty <think></think>
tag is inserted.
To activate reasoning mode during inference, use the following setting: