Former-commit-id: d7547d6b9e4c660897e3ce0f4022e08686c172d5
This commit is contained in:
hiyouga
2024-07-13 22:07:58 +08:00
parent 27e13a8371
commit dfc7a7d5cd
4 changed files with 10 additions and 10 deletions

View File

@@ -25,9 +25,9 @@ DEFAULT_TOOL_PROMPT = (
"You have access to the following tools:\n{tool_text}"
"Use the following format if using a tool:\n"
"```\n"
"Action: tool name (one of [{tool_names}]).\n"
"Action: tool name (one of [{tool_names}])\n"
"Action Input: the input to the tool, in a JSON format representing the kwargs "
"""(e.g. ```{{"input": "hello world", "num_beams": 5}}```).\n"""
"""(e.g. ```{{"input": "hello world", "num_beams": 5}}```)\n"""
"```\n"
)