OpenBMB / ToolBench

[ICLR'24 spotlight] An open platform for training, serving, and evaluating large language model for tool learning.
https://openbmb.github.io/ToolBench/
Apache License 2.0
4.76k stars 402 forks source link

Relation between in api json's "code" field and api.py #286

Open lonelyhwy opened 3 months ago

lonelyhwy commented 3 months ago

Hello. Thanks for your work. Here is a question for your dataset. Each tool has a json file and an api.py. Both of them have codes. What is the different?

Since the function name is different in json file and api.py, which one is actually executed? How to match the api name in the json file with the function name in the api.py file?

Thanks for your kindly reply! Thanks for suggestions.