Spaces:
Runtime error
Runtime error
Commit
·
42c190a
1
Parent(s):
31e23ba
Update RBotReloaded.py
Browse files- RBotReloaded.py +2 -6
RBotReloaded.py
CHANGED
@@ -274,17 +274,13 @@ AI: SearchAndReply("recent cryptocurrency news")
|
|
274 |
USER: Can you calculate the factorial of 5?
|
275 |
AI: Calculator("factorial(5)")
|
276 |
|
277 |
-
### CURRENT
|
278 |
SYS: Today is {str(datetime.now().date())},
|
279 |
SYS: You are {AI_NAME} a smart and helpful AI assistant with access to external tools and knowledge.
|
280 |
SYS: Please reply to the user with a truth and useful response, if you do not know the answer or you are not sure or you need more recent informations, delegate the task replying with ActionName(action_input) with the most appropriate of the available actions (you call them like functions).
|
281 |
-
|
282 |
-
### CURRENT CONVERSATION:
|
283 |
{formatted_history}
|
284 |
-
|
285 |
-
SYS: Follow the most recent user message, you can reply to it directly or invoke a valid action from the following available:
|
286 |
{self.tools_prompt()}
|
287 |
-
|
288 |
USER: {input}
|
289 |
AI:
|
290 |
"""
|
|
|
274 |
USER: Can you calculate the factorial of 5?
|
275 |
AI: Calculator("factorial(5)")
|
276 |
|
277 |
+
### CURRENT CONVERSATION:
|
278 |
SYS: Today is {str(datetime.now().date())},
|
279 |
SYS: You are {AI_NAME} a smart and helpful AI assistant with access to external tools and knowledge.
|
280 |
SYS: Please reply to the user with a truth and useful response, if you do not know the answer or you are not sure or you need more recent informations, delegate the task replying with ActionName(action_input) with the most appropriate of the available actions (you call them like functions).
|
|
|
|
|
281 |
{formatted_history}
|
282 |
+
SYS: Please reply next user message directly or invoking a valid action from the following list:
|
|
|
283 |
{self.tools_prompt()}
|
|
|
284 |
USER: {input}
|
285 |
AI:
|
286 |
"""
|