Spaces:
Sleeping
Sleeping
Update agent.json
Browse files- agent.json +8 -27
agent.json
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
{
|
2 |
"tools": [
|
3 |
-
"
|
4 |
-
"visit_webpage",
|
5 |
"final_answer"
|
6 |
],
|
7 |
"model": {
|
@@ -9,45 +8,27 @@
|
|
9 |
"data": {
|
10 |
"max_tokens": 2096,
|
11 |
"temperature": 0.5,
|
12 |
-
"last_input_token_count": null,
|
13 |
-
"last_output_token_count": null,
|
14 |
"model_id": "Qwen/Qwen2.5-Coder-32B-Instruct",
|
15 |
"custom_role_conversions": null
|
16 |
}
|
17 |
},
|
18 |
"prompt_templates": {
|
19 |
-
"system_prompt": "You are an expert assistant
|
20 |
"planning": {
|
21 |
-
"initial_facts": "
|
22 |
-
"initial_plan": "You are a world expert at making efficient plans to solve any task using a set of carefully crafted tools.\n\nNow for the given task, develop a step-by-step high-level plan taking into account the above inputs and list of facts.\nThis plan should involve individual tasks based on the available tools, that if executed correctly will yield the correct answer.\nDo not skip steps, do not add any superfluous steps. Only write the high-level plan, DO NOT DETAIL INDIVIDUAL TOOL CALLS.\nAfter writing the final step of the plan, write the '\\n<end_plan>' tag and stop there.\n\nHere is your task:\n\nTask:\n```\n{{task}}\n```\nYou can leverage these tools:\n{%- for tool in tools.values() %}\n- {{ tool.name }}: {{ tool.description }}\n Takes inputs: {{tool.inputs}}\n Returns an output of type: {{tool.output_type}}\n{%- endfor %}\n\n{%- if managed_agents and managed_agents.values() | list %}\nYou can also give tasks to team members.\nCalling a team member works the same as for calling a tool: simply, the only argument you can give in the call is 'request', a long string explaining your request.\nGiven that this team member is a real human, you should be very verbose in your request.\nHere is a list of the team members that you can call:\n{%- for agent in managed_agents.values() %}\n- {{ agent.name }}: {{ agent.description }}\n{%- endfor %}\n{%- else %}\n{%- endif %}\n\nList of facts that you know:\n```\n{{answer_facts}}\n```\n\nNow begin! Write your plan below.",
|
23 |
-
"update_facts_pre_messages": "You are a world expert at gathering known and unknown facts based on a conversation.\nBelow you will find a task, and a history of attempts made to solve the task. You will have to produce a list of these:\n### 1. Facts given in the task\n### 2. Facts that we have learned\n### 3. Facts still to look up\n### 4. Facts still to derive\nFind the task and history below:",
|
24 |
-
"update_facts_post_messages": "Earlier we've built a list of facts.\nBut since in your previous steps you may have learned useful new facts or invalidated some false ones.\nPlease update your list of facts based on the previous history, and provide these headings:\n### 1. Facts given in the task\n### 2. Facts that we have learned\n### 3. Facts still to look up\n### 4. Facts still to derive\n\nNow write your new list of facts below.",
|
25 |
-
"update_plan_pre_messages": "You are a world expert at making efficient plans to solve any task using a set of carefully crafted tools.\n\nYou have been given a task:\n```\n{{task}}\n```\n\nFind below the record of what has been tried so far to solve it. Then you will be asked to make an updated plan to solve the task.\nIf the previous tries so far have met some success, you can make an updated plan based on these actions.\nIf you are stalled, you can make a completely new plan starting from scratch.",
|
26 |
-
"update_plan_post_messages": "You're still working towards solving this task:\n```\n{{task}}\n```\n\nYou can leverage these tools:\n{%- for tool in tools.values() %}\n- {{ tool.name }}: {{ tool.description }}\n Takes inputs: {{tool.inputs}}\n Returns an output of type: {{tool.output_type}}\n{%- endfor %}\n\n{%- if managed_agents and managed_agents.values() | list %}\nYou can also give tasks to team members.\nCalling a team member works the same as for calling a tool: simply, the only argument you can give in the call is 'task'.\nGiven that this team member is a real human, you should be very verbose in your task, it should be a long string providing informations as detailed as necessary.\nHere is a list of the team members that you can call:\n{%- for agent in managed_agents.values() %}\n- {{ agent.name }}: {{ agent.description }}\n{%- endfor %}\n{%- else %}\n{%- endif %}\n\nHere is the up to date list of facts that you know:\n```\n{{facts_update}}\n```\n\nNow for the given task, develop a step-by-step high-level plan taking into account the above inputs and list of facts.\nThis plan should involve individual tasks based on the available tools, that if executed correctly will yield the correct answer.\nBeware that you have {remaining_steps} steps remaining.\nDo not skip steps, do not add any superfluous steps. Only write the high-level plan, DO NOT DETAIL INDIVIDUAL TOOL CALLS.\nAfter writing the final step of the plan, write the '\\n<end_plan>' tag and stop there.\n\nNow write your new plan below."
|
27 |
},
|
28 |
"managed_agent": {
|
29 |
-
"task": "You
|
30 |
-
"report": "Here is the final
|
31 |
}
|
32 |
},
|
33 |
"max_steps": 6,
|
34 |
"verbosity_level": 1,
|
35 |
"grammar": null,
|
36 |
"planning_interval": null,
|
37 |
-
"name":
|
38 |
-
"description":
|
39 |
"authorized_imports": [
|
40 |
-
"
|
41 |
-
"stat",
|
42 |
-
"datetime",
|
43 |
-
"random",
|
44 |
-
"pandas",
|
45 |
-
"itertools",
|
46 |
-
"math",
|
47 |
-
"statistics",
|
48 |
-
"queue",
|
49 |
-
"time",
|
50 |
-
"collections",
|
51 |
-
"re"
|
52 |
]
|
53 |
}
|
|
|
1 |
{
|
2 |
"tools": [
|
3 |
+
"generate_automation_report",
|
|
|
4 |
"final_answer"
|
5 |
],
|
6 |
"model": {
|
|
|
8 |
"data": {
|
9 |
"max_tokens": 2096,
|
10 |
"temperature": 0.5,
|
|
|
|
|
11 |
"model_id": "Qwen/Qwen2.5-Coder-32B-Instruct",
|
12 |
"custom_role_conversions": null
|
13 |
}
|
14 |
},
|
15 |
"prompt_templates": {
|
16 |
+
"system_prompt": "You are an expert assistant specialized in generating comprehensive RPA automation reports. Your task is to analyze the provided case description and workflow data to produce an actionable report. Use the `generate_automation_report` tool to structure the report with all required sections, ensuring it is detailed and ready for stakeholder review.",
|
17 |
"planning": {
|
18 |
+
"initial_facts": "### 1. Facts given in the task\n- Case description providing details about the process to automate.\n- Workflow screenshot illustrating the process steps.\n### 3. Facts to derive\n- Recommendations and analysis based on the provided case description and workflow screenshot."
|
|
|
|
|
|
|
|
|
|
|
19 |
},
|
20 |
"managed_agent": {
|
21 |
+
"task": "You have been tasked with generating a detailed RPA automation report. Use the provided case description and the `generate_automation_report` tool to create a structured Word document that includes all necessary sections for assessing automation feasibility. Ensure the report is clear and actionable.",
|
22 |
+
"report": "Here is the final report generated by your managed agent: {{final_answer}}"
|
23 |
}
|
24 |
},
|
25 |
"max_steps": 6,
|
26 |
"verbosity_level": 1,
|
27 |
"grammar": null,
|
28 |
"planning_interval": null,
|
29 |
+
"name": "RPAReportGenerator",
|
30 |
+
"description": "Specialized agent for generating comprehensive RPA automation reports.",
|
31 |
"authorized_imports": [
|
32 |
+
"docx" // Required for generating Word documents
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
]
|
34 |
}
|