Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing JSON files #2

Open
Wuture opened this issue Feb 26, 2024 · 4 comments
Open

Missing JSON files #2

Wuture opened this issue Feb 26, 2024 · 4 comments

Comments

@Wuture
Copy link

Wuture commented Feb 26, 2024

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
Copy link
Owner

dyabel commented Feb 27, 2024

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
Copy link
Author

Wuture commented Feb 27, 2024

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
Copy link
Author

Wuture commented Feb 27, 2024

there are no "data/toolenv/tools"

@dyabel
Copy link
Owner

dyabel commented Feb 27, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants