Spaces:
Sleeping
Sleeping
update prompt
Browse files- chatbot_simulator.py +7 -1
chatbot_simulator.py
CHANGED
@@ -59,7 +59,7 @@ You are at the {current_page} page. You have the following options:
|
|
59 |
3. Feature 3
|
60 |
4. Feature 4
|
61 |
|
62 |
-
Please enter your choice as the corresponding number.
|
63 |
|
64 |
Rules:
|
65 |
- Be sure to display all options that is available in features.
|
@@ -113,6 +113,12 @@ Rules:
|
|
113 |
- Ensure 'current_page' and 'task_completed' are keys in the returned dictionary.
|
114 |
- Return **only the JSON object** without additional output or wrapping.
|
115 |
- **AVOID OUTPUT A LIST**, must be JSON!
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
"""
|
117 |
|
118 |
self.conversation.append({"role": "assistant", "content": update_prompt})
|
|
|
59 |
3. Feature 3
|
60 |
4. Feature 4
|
61 |
|
62 |
+
Please enter your choice as the corresponding number. If you have a query, enter as number: query
|
63 |
|
64 |
Rules:
|
65 |
- Be sure to display all options that is available in features.
|
|
|
113 |
- Ensure 'current_page' and 'task_completed' are keys in the returned dictionary.
|
114 |
- Return **only the JSON object** without additional output or wrapping.
|
115 |
- **AVOID OUTPUT A LIST**, must be JSON!
|
116 |
+
|
117 |
+
Example Format:
|
118 |
+
{{
|
119 |
+
'current_page': 'Home',
|
120 |
+
'task_completed': 0,
|
121 |
+
}}
|
122 |
"""
|
123 |
|
124 |
self.conversation.append({"role": "assistant", "content": update_prompt})
|