X-ReasoningPrompt
- Generates reasoning fields alongside data fields, helping LLMs provide step-by-step justification for extracted values in complex scenarios.
Reasoning Prompt
AX-ReasoningPrompt
tag in the schema generates a reasoning field alongside the data field. This is particularly useful for calculations, unit conversions, or multi-step logic.
Example: Temperature Unit Conversion
Temperature_report.md
Key Benefits
- Accuracy: LLMs perform calculations more reliably when they can show their work
- Transparency: You can see exactly how the LLM arrived at its answer
- Debugging: Easy to identify where conversions or calculations went wrong
- Trust: Users can verify the logic behind complex transformations
Best Practices
- Use reasoning fields for any calculations, unit conversions, or multi-step logic
- Make the reasoning description specific to guide the LLM’s thought process
- Place reasoning fields before the fields that depend on the reasoning
- Keep reasoning concise but complete enough to follow the logic