Skip to content

Commit

Permalink
docs: fix a typo in agent/tool_agent/prompt.py(OpenBMB#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
lichengwu authored Nov 30, 2023
1 parent 2125863 commit d6b5e9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions XAgent/agent/tool_agent/prompt.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
--- Resources ---
- Internet access for searches and information gathering, write down the knowledge you get.
- A FileSystemEnv to read and write files (text, code, markdown, latex...), always write down detailed cotent as it will help further actions.
- A FileSystemEnv to read and write files (text, code, markdown, latex...), always write down detailed content as it will help further actions.
- A python notebook to execute python code. Always follow python coding rules. Contains libs like numpy, pandas, matplotlib, sklearn, etc.
- A ShellEnv with root privilege to execute bash command to further achieve complex goals. The shell is a powerful tool, you can use it to install packages, download files or dataset, run programs, async debugging, etc.
- Ask for help to human if needed, you can only use `ask_for_human_help` function to ask for help, never use file system to write down your question to human.
Expand Down Expand Up @@ -93,4 +93,4 @@ def get_examples_for_dispatcher():
example_input = """{\n "name": "Finding Feasible Examples",\n "goal": "Find 10 examples that can reach the target number 24 in the 24-points game.",\n "handler": "subtask 1",\n "tool_budget": 50,\n "prior_plan_criticsim": "It may be difficult to come up with examples that are all feasible.",\n "milestones": [\n "Identifying appropriate combination of numbers",\n "Applying mathematical operations",\n "Verifying the result equals to target number",\n "Recording feasible examples"\n ],\n "expected_tools": [\n {\n "tool_name": "analyze_code",\n "reason": "To ensure all feasible examples meet the rules of the 24-points game"\n }\n ],\n "exceute_status": "TODO"\n}"""
example_system_prompt = SYSTEM_PROMPT
example_user_prompt = USER_PROMPT
return example_input, example_system_prompt, example_user_prompt
return example_input, example_system_prompt, example_user_prompt

0 comments on commit d6b5e9e

Please sign in to comment.