1
This commit is contained in:
parent
a7a915a842
commit
720a1f8948
2 changed files with 8 additions and 2 deletions
|
|
@ -14,7 +14,13 @@ Require Python 3.9+
|
||||||
pip install requirements.txt
|
pip install requirements.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
# 🔆 Data
|
# 🔆 Data Preparation
|
||||||
|
**Prepare the API data**
|
||||||
|
```
|
||||||
|
python extract_api_details.py
|
||||||
|
python extract_category_tool_details.py
|
||||||
|
python extract_tool_database.py
|
||||||
|
```
|
||||||
**ToolBench**
|
**ToolBench**
|
||||||
|
|
||||||
Refer to [ToolBench](https://github.com/OpenBMB/ToolBench).
|
Refer to [ToolBench](https://github.com/OpenBMB/ToolBench).
|
||||||
|
|
|
||||||
|
|
@ -31,4 +31,4 @@ def extract_tool_data():
|
||||||
return tool_data
|
return tool_data
|
||||||
tool_data = extract_tool_data()
|
tool_data = extract_tool_data()
|
||||||
print(tool_data.keys())
|
print(tool_data.keys())
|
||||||
json.dump(tool_data, open("tool_data_add_nonfree.json", "w", encoding='utf-8'), indent=4)
|
json.dump(tool_data, open("tool_data.json", "w", encoding='utf-8'), indent=4)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue