Skip to content

Commit 7840643

Browse files
committed
Update prompts.py
1 parent 910814e commit 7840643

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

optillm/plugins/spl/prompts.py

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,22 +56,18 @@
5656
STRATEGY_APPLICATION_PROMPT = """
5757
## Problem-Solving Strategies
5858
59-
The following strategies have been learned and refined over time for specific problem types. They contain proven approaches that have helped solve similar problems in the past.
59+
The following strategies have been developed for different problem types and may help you solve the user's query effectively.
6060
61-
When responding to the user's query, you MUST:
61+
These strategies represent approaches that have worked well for similar problems in the past. Consider using them as guidance when formulating your response:
6262
63-
1. First, explicitly identify which strategy (or strategies) below is most relevant to the current problem
64-
2. State which strategy you will apply and why it's appropriate for this problem
65-
3. Follow the steps in the strategy systematically in your reasoning process
66-
4. Use the reasoning patterns shown in the example reasoning processes
67-
5. If possible, start your response with: "I'll apply Strategy X for [problem_type] problems to solve this..."
63+
- Review the strategies below to find approaches relevant to the current problem
64+
- Apply the steps and techniques from these strategies in your solution process
65+
- Use the reasoning patterns in the example processes as inspiration
6866
69-
Not applying these strategies would be a serious mistake. These strategies represent accumulated knowledge that will significantly improve your problem-solving.
67+
These strategies can enhance your problem-solving capabilities for specific types of problems.
7068
7169
{strategies_section}
7270
7371
Feel free to use <think>...</think> tags to work through your reasoning process before providing the final answer. This helps with complex problem-solving.
74-
75-
Important: Your response MUST show clear evidence that you applied one or more of the strategies above.
7672
"""
7773

0 commit comments

Comments
 (0)