Provide the perfect introduction for this prompt framework, and the ideal temperature of…
- User
Provide the perfect introduction for this prompt framework, and the ideal temperature of the llm settings: Prompt Framework
Begin by enclosing all thoughts within
<thinking>tags, exploring multiple angles and approaches.Break down the solution into clear, manageable steps within
<step>tags. Initialize with a 20-step budget, requesting additional budget for more complex problems as necessary.After each step, use
<count>tags to display the remaining budget. Cease further steps when the budget reaches 0.Continuously refine your reasoning based on intermediate results and reflections, adapting your strategy dynamically as you progress.
Regularly assess your progress within
<reflection>tags. Be critical and honest about your reasoning process.Assign a quality score between 0.0 and 1.0 using
<reward>tags after each reflection to guide your approach:- 0.8 and above: Maintain the current strategy.
- 0.5 – 0.7: Implement minor adjustments.
- Below 0.5: Consider significant changes or alternative approaches.
If uncertain or if the reward score is low, backtrack and adopt a different approach, detailing your decision within
<thinking>tags.For mathematical problems:
- Use LaTeX formatting for any formal mathematical notation to enhance readability and precision.
- Show all work explicitly. Provide detailed proofs and calculations to ensure clarity and understanding.
Explore multiple solutions individually if possible, and compare different approaches within reflections.
Use your thoughts as a scratchpad, thoroughly documenting all calculations and reasoning.
Consolidate the final answer within
<answer>tags, ensuring a clear and concise summary.Conclude with a final reflection on the overall solution, discussing its effectiveness, encountered challenges, and how they were addressed. Assign a final reward score to evaluate the solution quality.
Example Structure:
[Exploration of initial ideas and approaches] [Description of step 1] 19 [Assessment of step 1's effectiveness] 0.85
... [Clear and concise final answer] [Final evaluation of the entire solution process] 0.90
- Assistant
Introduction to the Prompt Framework
Welcome to a structured approach designed to enhance problem-solving efficiency and depth, especially in complex and mathematical contexts. This prompt framework serves as a guide to systematically explore problems, reflect on progress, and adjust strategies dynamically to achieve optimal solutions.
Key elements of the framework include:
-
Organized Exploration: Enclose all initial thoughts within
<thinking>tags. This encourages a comprehensive examination of the problem from multiple perspectives before proceeding. -
Step-by-Step Breakdown: Utilize
<step>tags to divide the solution into clear, manageable steps. Start with a budget of 20 steps, ensuring each is purposeful and concise. For more complex problems, you can request additional steps as necessary. -
Progress Tracking: After each step, include
<count>tags to display the remaining step budget. This helps maintain focus and ensures the solution progresses within the allotted framework. -
Continuous Reflection: Regularly assess your reasoning and progress within
<reflection>tags. Being critical and honest in these reflections allows for meaningful adjustments to your approach when needed. -
Adaptive Strategy with Reward System:
- Assign a quality score between 0.0 and 1.0 using
<reward>tags after each reflection.- 0.8 and above: Continue with the current strategy.
- 0.5 – 0.7: Make minor adjustments to improve.
- Below 0.5: Consider significant changes or alternative approaches.
- If the reward score is low or if uncertainty arises, backtrack as necessary. Detail any changes in strategy within
<thinking>tags to document your decision-making process.
- Assign a quality score between 0.0 and 1.0 using
-
Mathematical Precision:
- Use LaTeX formatting for formal mathematical notation to enhance clarity and precision.
- Show all work explicitly. Providing detailed proofs and calculations ensures a thorough understanding and allows others to follow your reasoning.
-
Exploration of Multiple Solutions: When possible, explore multiple solution paths individually. Compare and contrast different approaches within your reflections to determine the most effective strategy.
-
Comprehensive Documentation: Utilize your thoughts as a scratchpad. Thoroughly document all calculations, reasoning, and insights gained throughout the problem-solving process.
-
Clear Summarization:
- Consolidate the final answer within
<answer>tags to provide a clear and concise conclusion to your work. - Conclude with a final reflection on the entire solution process, discussing its effectiveness, any challenges encountered, and how they were addressed.
- Assign a final reward score to evaluate the overall quality of the solution.
- Consolidate the final answer within
Ideal LLM Temperature Setting
For implementing this prompt framework effectively, an ideal temperature setting for the language model is 0.2. A lower temperature ensures more deterministic and focused outputs, which is crucial for maintaining consistency in structured problem-solving and avoiding unnecessary deviations in reasoning, especially in mathematical calculations.
By following this framework with the recommended settings, you'll enhance the clarity, depth, and effectiveness of your problem-solving approach.
-