Git Product home page Git Product logo

Comments (10)

thuqinyj16 avatar thuqinyj16 commented on August 13, 2024

是可行的。我们模型已经验证了非常强的泛化能力,只要把新的API格式定义好(写成类似我们支持的16000+API的API doc形式即可),就可以直接使用。

from toolbench.

lunalulu avatar lunalulu commented on August 13, 2024

from toolbench.

mMrBun avatar mMrBun commented on August 13, 2024

能否在readme中给出最小例子?

from toolbench.

huhy-uniplore avatar huhy-uniplore commented on August 13, 2024

您好,您说的 "写成类似我们支持的16000+API的API doc形式即可" ,这个API doc在哪呢?

from toolbench.

pooruss avatar pooruss commented on August 13, 2024

您好,您说的 "写成类似我们支持的16000+API的API doc形式即可" ,这个API doc在哪呢?

API doc在Google Drive的data/toolenv/tools目录,每个工具会有对应的doc json文件

from toolbench.

mMrBun avatar mMrBun commented on August 13, 2024

我自己做了一个demo,去掉了RapidAPI,需要修改的文件有

  • data/retrieval/G1/corpus.tsv 按照上面的格式把自己的API加进去,这里要注意缩进,docid和document_content之间用制表符分隔的,不然会报json decode的异常
  • data/toolenv/tools/ 在这里创建一个新的分类,按照其他分类下的格式写调用脚本(api.py),还有上面作者回复的json文件,这里的api会被加载到task_list里。
    大致目录如下
    image

from toolbench.

pooruss avatar pooruss commented on August 13, 2024

能否在readme中给出最小例子?

您好,API定制的相关说明和例子已经更新到README~

from toolbench.

pooruss avatar pooruss commented on August 13, 2024

我自己做了一个demo,去掉了RapidAPI,需要修改的文件有

  • data/retrieval/G1/corpus.tsv 按照上面的格式把自己的API加进去,这里要注意缩进,docid和document_content之间用制表符分隔的,不然会报json decode的异常
  • data/toolenv/tools/ 在这里创建一个新的分类,按照其他分类下的格式写调用脚本(api.py),还有上面作者回复的json文件,这里的api会被加载到task_list里。
    大致目录如下
    image

非常感谢您的贡献!

from toolbench.

lunalulu avatar lunalulu commented on August 13, 2024

@mMrBun @pooruss 非常感谢两位,你们太棒了~我也去试试

from toolbench.

huhy-uniplore avatar huhy-uniplore commented on August 13, 2024

您好,您说的 "写成类似我们支持的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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.