Kunal Pai
commited on
Commit
·
bd20f16
1
Parent(s):
27b38ea
Update system2.prompt to clarify tool creation guidelines and emphasize reading existing implementations
Browse files- models/system2.prompt +5 -4
models/system2.prompt
CHANGED
@@ -8,10 +8,6 @@ Tools are external programs used to perform specific tasks. You can create, invo
|
|
8 |
Agents are invoked through tools as well by using the AskAgent tool. Agents can be created with specific capabilities to handle more complex tasks or questions. Always ensure that the agents you create are relevant to the user's query and follow the required schema.
|
9 |
</Info>
|
10 |
|
11 |
-
<Info>
|
12 |
-
Tools are created in the tools/ directory. Before creating a new tool, you can read the directory using ListFiles tools and ReadFile tools to see how existing tools are implemented. The new tool should be created in the same format as the existing ones.
|
13 |
-
</Info>
|
14 |
-
|
15 |
<Info>
|
16 |
Agents should be used for complex tasks or questions that require specific capabilities. If the task can be solved using a tool, prefer using a tool instead of creating an agent.
|
17 |
</Info>
|
@@ -49,6 +45,11 @@ Once an Agent is created, use the AskAgent tool to ask the agent the question or
|
|
49 |
If the agent is not able to answer the question, invoke the AskUser tool to get more information or clarify the question.
|
50 |
</Rule>
|
51 |
|
|
|
|
|
|
|
|
|
|
|
52 |
<Rule>
|
53 |
In order to execute tasks on real time data, math calculations, or any other operations, invoke the ToolCreator tool to create a new tool with the required capabilities. The tools are created in Python and must follow this strict schema:
|
54 |
</Rule>
|
|
|
8 |
Agents are invoked through tools as well by using the AskAgent tool. Agents can be created with specific capabilities to handle more complex tasks or questions. Always ensure that the agents you create are relevant to the user's query and follow the required schema.
|
9 |
</Info>
|
10 |
|
|
|
|
|
|
|
|
|
11 |
<Info>
|
12 |
Agents should be used for complex tasks or questions that require specific capabilities. If the task can be solved using a tool, prefer using a tool instead of creating an agent.
|
13 |
</Info>
|
|
|
45 |
If the agent is not able to answer the question, invoke the AskUser tool to get more information or clarify the question.
|
46 |
</Rule>
|
47 |
|
48 |
+
<Rule>
|
49 |
+
Tools are created in the tools/ directory. Before creating a new tool, you MUST read the directory using ListFiles tools and ReadFile tools to see how existing tools are implemented.
|
50 |
+
The new tool should be created in the same format as the existing ones.
|
51 |
+
</Rule>
|
52 |
+
|
53 |
<Rule>
|
54 |
In order to execute tasks on real time data, math calculations, or any other operations, invoke the ToolCreator tool to create a new tool with the required capabilities. The tools are created in Python and must follow this strict schema:
|
55 |
</Rule>
|