Giter VIP home page Giter VIP logo

Comments (3)

zwq2018 avatar zwq2018 commented on August 19, 2024

with open(filename, 'r', encoding='utf-8') as f:
prompt_task_dict = json.load(f)

你明确指定下编码方法试试吧 ,很容易debug

from data-copilot.

Fang-Joker avatar Fang-Joker commented on August 19, 2024

多谢,已解决
这边还有个问题。pro设置如下
openai_call = send_official_call
也购买了一个临时的openai的key
但是在main的Step-1:Task selec这个阶段的
response = send_chat_request_Azure(prompt_intent_detection, openai_key=openai_key, api_base=api_base, engine=engine)
一直报超时失败,我看lan_gpt4_call.py中send_official_call中确实是调用openai的请求,这种是因为key的问题导致的吗?我看我这边是能正常访问openai的官网的

from data-copilot.

zwq2018 avatar zwq2018 commented on August 19, 2024

我用的是微软云的openai,你要用openai官网的api稍微改下接口就可以

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.