You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: optillm/plugins/spl/prompts.py
+6-10Lines changed: 6 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -56,22 +56,18 @@
56
56
STRATEGY_APPLICATION_PROMPT="""
57
57
## Problem-Solving Strategies
58
58
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.
60
60
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:
62
62
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
68
66
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.
70
68
71
69
{strategies_section}
72
70
73
71
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.
0 commit comments