1
This commit is contained in:
parent
9460d4dd94
commit
592df68d39
1 changed files with 12 additions and 12 deletions
24
README.md
24
README.md
|
|
@ -1,24 +1,27 @@
|
||||||
# AnyTool
|
# AnyTool
|
||||||
|

|
||||||
|
<a href='https://arxiv.org/abs/2402.04253'><img src='https://img.shields.io/badge/arXiv-2402.04253-b31b1b.svg'></a> <a href='https://github.com/buaacyw/GaussianEditor/blob/master/LICENSE.txt'><img src='https://img.shields.io/badge/License-Apache-blue'></a>
|
||||||
|
|
||||||
This is the implementation of the paper [AnyTool: Self-Reflective, Hierarchical Agents for Large-Scale API Calls](https://arxiv.org/abs/2402.04253)
|
This is the implementation of the paper [AnyTool: Self-Reflective, Hierarchical Agents for Large-Scale API Calls](https://arxiv.org/abs/2402.04253)
|
||||||

|

|
||||||
|
|
||||||
# Installation
|
# 🔧 Installation
|
||||||
## Dependencies
|
## ✅ Dependencies
|
||||||
Require Python 3.9+
|
Require Python 3.9+
|
||||||
|
|
||||||
Quick install
|
## 🚀 Quick install
|
||||||
```bash
|
```bash
|
||||||
pip install requirements.txt
|
pip install requirements.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
# Data
|
# 🔆 Data
|
||||||
**ToolBench**
|
**ToolBench**
|
||||||
|
|
||||||
Refer to [ToolBench](https://github.com/OpenBMB/ToolBench).
|
Refer to [ToolBench](https://github.com/OpenBMB/ToolBench).
|
||||||
|
|
||||||
**AnyToolBench**
|
**AnyToolBench**
|
||||||
|
|
||||||
# AnyToolBench Generation
|
Generation script
|
||||||
```
|
```
|
||||||
python data_generation_by_gpt4.py
|
python data_generation_by_gpt4.py
|
||||||
```
|
```
|
||||||
|
|
@ -27,7 +30,7 @@ We provide sample data in anytoolbench.json file.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Run AnyTool
|
# 🚗 Run AnyTool
|
||||||
Fill your OpenAI config and toolbench key into the config.py.
|
Fill your OpenAI config and toolbench key into the config.py.
|
||||||
|
|
||||||
Run ToolBench
|
Run ToolBench
|
||||||
|
|
@ -38,14 +41,11 @@ Run AnyToolBench
|
||||||
```
|
```
|
||||||
python anytool.py --output_dir result/anytoolbench --query_path anytoolbench.json -max_api_number 64
|
python anytool.py --output_dir result/anytoolbench --query_path anytoolbench.json -max_api_number 64
|
||||||
```
|
```
|
||||||
# AnyToolBench Generation
|
|
||||||
```
|
# 👨🏫 Acknowledgement
|
||||||
python data_generation_by_gpt4.py
|
|
||||||
```
|
|
||||||
# Acknowledgement
|
|
||||||
This repo is built on [ToolBench](https://github.com/OpenBMB/ToolBench).
|
This repo is built on [ToolBench](https://github.com/OpenBMB/ToolBench).
|
||||||
|
|
||||||
# Citation
|
# 📑Citation
|
||||||
If you find this project is helpful for your research, consider citing our paper
|
If you find this project is helpful for your research, consider citing our paper
|
||||||
```
|
```
|
||||||
@article{du2024anytool,
|
@article{du2024anytool,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue