Coder Social home page Coder Social logo

Comments (3)

zwq2018 avatar zwq2018 commented on June 27, 2024 1

接口代码是LLM生成的,根据种子请求和数据的schema。具体就是论文中讲的那几个步骤,先生成功能描述,然后不断优化,最后补齐代码。调取本地数据?我没太明白你的意思,我的数据是tushare的,通过api访问,得到的是一张张表格

from data-copilot.

RainAutumnZero avatar RainAutumnZero commented on June 27, 2024

感谢回答,关于获取数据这一步我理解了。其实还有一个疑问,就是我看main里面的run函数似乎并没有生成接口代码相关的内容,请问关于生成接口代码的这一块是怎么自动完成的,还是说是人工将其放入tool.py的?

from data-copilot.

zwq2018 avatar zwq2018 commented on June 27, 2024

感谢回答,关于获取数据这一步我理解了。其实还有一个疑问,就是我看main里面的run函数似乎并没有生成接口代码相关的内容,请问关于生成接口代码的这一块是怎么自动完成的,还是说是人工将其放入tool.py的?

生成接口函数这部分没有完全开源,论文里提供了prompt和整个流程,代码涉及到一些商业所以每开源。工具接口生成这个过程最后输出的是tool.py里的每一个函数,然后做一些单元测试之类的简单筛选

from data-copilot.

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.