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 401 forks source link

添加自定义API需不需要向corpus.tsv中加入API信息? #263

Closed yunzhongxiaxi closed 5 months ago

yunzhongxiaxi commented 5 months ago

感谢分享源码。我读了源码后,发现retrieval进行retrieving的输入参数只包含query和corpus.tsv,而corpus.tsv中存储的就是API信息,如果不往其中添加API信息,推荐器应该就无法推荐该API了?导致添加的API就使用不上了

yunzhongxiaxi commented 5 months ago

解决了,需要添加的,详情见https://github.com/OpenBMB/ToolBench/issues/56#issuecomment-1683374433