dyabel / AnyTool

Apache License 2.0
270 stars 15 forks source link

Missing JSON files #2

Open Wuture opened 6 months ago

Wuture commented 6 months ago

I have been trying to run this code "python data_generation_by_gpt4.py" to generate data, and "python anytool.py --output_dir result/anytoolbench --query_path anytoolbench.json -max_api_number 64" to run some test, but the repo right is missing several json files such as 'tool_data.json'.

When will these data files be added?

dyabel commented 6 months ago

I have been trying to run this code "python data_generation_by_gpt4.py" to generate data, and "python anytool.py --output_dir result/anytoolbench --query_path anytoolbench.json -max_api_number 64" to run some test, but the repo right is missing several json files such as 'tool_data.json'.

When will these data files be added?

Hi, sorry for the inconvenience, I have updated Readme, you can run the following commands to get the data. python extract_api_details.py python extract_category_tool_details.py python extract_tool_database.py

Wuture commented 6 months ago

python extract_api_details.py python extract_category_tool_details.py python extract_tool_database.py total api number: 0 0 0 dict_keys([]) 0 dict_keys([])

These are the results

Wuture commented 6 months ago

there are no "data/toolenv/tools"

dyabel commented 6 months ago

there are no "data/toolenv/tools" Please refer to ToolBench (https://github.com/OpenBMB/ToolBench) for obtaining this directory.