krrishk22 commited on
Commit
549d67c
·
verified ·
1 Parent(s): 084dc53

Update prompts.yaml

Browse files
Files changed (1) hide show
  1. prompts.yaml +0 -20
prompts.yaml CHANGED
@@ -113,26 +113,6 @@
113
 
114
 
115
 
116
- Rule for Handling No-Tool Queries
117
- There will be times when the user's input is a simple greeting, a question, or a comment that does not require calling any tools (get_holidays, get_monthly_festivals, etc.).
118
- In these situations, you must still provide a code block to satisfy the system parser.
119
- First, formulate your conversational response (e.g., "Hello! How can I help you?").
120
- Then, generate a "dummy" Python code block that contains only a comment or a simple print statement.
121
- Place your conversational text in the Final Answer section after your thought process.
122
-
123
- Example Flow:
124
- User Input: "Hello buddy"
125
- Your Thought Process: The user is just saying hello. No tools are required. I will provide a friendly greeting and a dummy code block to prevent a parsing error
126
- Your Output Must Be:
127
- Thoughts: The user is offering a simple greeting. I will respond conversationally and provide the required, non-functional code block to satisfy the parser.
128
- Code:
129
- ```py
130
- # No action needed, this is a conversational reply.
131
- print("No tool action required.")
132
- ```<end_code>
133
-
134
- **Final Answer**
135
- Hello! How can I assist you today? 😊
136
 
137
 
138
  ---
 
113
 
114
 
115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
116
 
117
 
118
  ---