GithubHelp home page GithubHelp logo

使用gpt-3.5-turbo API时出现报错You tried to access openai.ChatCompletion, but this is no longer supported in openai>=1.0.0 about deepke HOT 8 CLOSED

NSKW22 avatar NSKW22 commented on May 26, 2024
使用gpt-3.5-turbo API时出现报错You tried to access openai.ChatCompletion, but this is no longer supported in openai>=1.0.0

from deepke.

Comments (8)

GoooDte avatar GoooDte commented on May 26, 2024

您好 建议尝试把openai降到0.28版本

from deepke.

NSKW22 avatar NSKW22 commented on May 26, 2024

大佬您好,我把openai降到0.28版本后,又出现了新的问题
image
请问这个问题是否与openai的版本有关?我该如何解决?感激不尽!

您好 建议尝试把openai降到0.28版本

from deepke.

GoooDte avatar GoooDte commented on May 26, 2024

是的 把openai包的版本降到0.28
pip install openai==0.28

from deepke.

NSKW22 avatar NSKW22 commented on May 26, 2024

是的 把openai包的版本降到0.28 pip install openai==0.28

上述服务过载问题就是在把openai的版本降到0.28后出现的

from deepke.

GoooDte avatar GoooDte commented on May 26, 2024

openai>=1.0.0可能需要改一下调用的代码 具体可以参考报错的指导
image

from deepke.

zxlzr avatar zxlzr commented on May 26, 2024

请问您的问题是否已解决?

from deepke.

NSKW22 avatar NSKW22 commented on May 26, 2024

请问您的问题是否已解决?

您好,目前没有解决

from deepke.

zxlzr avatar zxlzr commented on May 26, 2024

您好,您的报错是openai库的报错,建议您去查一下openai报错指导参考

from deepke.

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.