Guide / Reasoning
Choose deterministic or stochastic reasoning
Use explicit steps for repeatable analysis and stochastic reasoning only when exploration is part of the task.Deterministic reasoning
- Declare ordered steps and the tools each step may request.
- Keep temperature and output schema stable.
- Use examples to demonstrate the expected evidence-to-result mapping.
JSONjson
{
"prompt": "Decide whether the refund policy applies.",
"steps": [
{"id": "policy", "instruction": "Read the refund window", "tools": ["lookup_policy"]},
{"id": "compare", "instruction": "Compare purchase age to the window", "tools": []}
],
"input": {"purchase_age_days": 10, "receipt_attached": true}
}Stochastic reasoning
Use stochastic reasoning for brainstorming, alternative hypotheses, or candidate generation. Keep the next transition constrained by a schema, router, or validation node so exploration cannot directly choose an unsafe action.