Comments (10)
是可行的。我们模型已经验证了非常强的泛化能力,只要把新的API格式定义好(写成类似我们支持的16000+API的API doc形式即可),就可以直接使用。
from toolbench.
from toolbench.
能否在readme中给出最小例子?
from toolbench.
您好,您说的 "写成类似我们支持的16000+API的API doc形式即可" ,这个API doc在哪呢?
from toolbench.
您好,您说的 "写成类似我们支持的16000+API的API doc形式即可" ,这个API doc在哪呢?
API doc在Google Drive的data/toolenv/tools目录,每个工具会有对应的doc json文件
from toolbench.
我自己做了一个demo,去掉了RapidAPI,需要修改的文件有
- data/retrieval/G1/corpus.tsv 按照上面的格式把自己的API加进去,这里要注意缩进,docid和document_content之间用制表符分隔的,不然会报json decode的异常
- data/toolenv/tools/ 在这里创建一个新的分类,按照其他分类下的格式写调用脚本(api.py),还有上面作者回复的json文件,这里的api会被加载到task_list里。
大致目录如下
from toolbench.
能否在readme中给出最小例子?
您好,API定制的相关说明和例子已经更新到README~
from toolbench.
我自己做了一个demo,去掉了RapidAPI,需要修改的文件有
- data/retrieval/G1/corpus.tsv 按照上面的格式把自己的API加进去,这里要注意缩进,docid和document_content之间用制表符分隔的,不然会报json decode的异常
- data/toolenv/tools/ 在这里创建一个新的分类,按照其他分类下的格式写调用脚本(api.py),还有上面作者回复的json文件,这里的api会被加载到task_list里。
大致目录如下
非常感谢您的贡献!
from toolbench.
@mMrBun @pooruss 非常感谢两位,你们太棒了~我也去试试
from toolbench.
您好,您说的 "写成类似我们支持的16000+API的API doc形式即可" ,这个API doc在哪呢?
API doc在Google Drive的data/toolenv/tools目录,每个工具会有对应的doc json文件
您好,您说的 "写成类似我们支持的16000+API的API doc形式即可" ,这个API doc在哪呢?
API doc在Google Drive的data/toolenv/tools目录,每个工具会有对应的doc json文件
感谢您的回复,我知道啦
from toolbench.
Related Issues (20)
- ToolBench key
- apply for Toolbench Key HOT 1
- For Toolbench Key
- Toolbench server url invalid
- Apply for RapidAPI server key
- GPT4 version of training data
- tooleval如何解决openai api限额问题? HOT 1
- Toolbench Key审核
- support API registration
- Reproduce data generation process
- ToolBench server returns 500 for all requests HOT 5
- Some questions about llama’s train data set
- 如何生成测试集?
- ToolBench key会过期吗? HOT 2
- Question about training detail HOT 2
- Error on data preprocessing
- Your code is not updated, especially the inference part
- 添加自定义API需不需要向corpus.tsv中加入API信息? HOT 1
- HTTPConnectionPool(host='8.218.239.54', port=8080) toolbenchserver 无法连接
- apply toolbench key
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from toolbench.