Giter Site home page Giter Site logo

Comments (3)

c-ttpfx avatar c-ttpfx commented on June 26, 2024

我也遇见过,查资料发现官方有请求速率的限制,请求过快就会出现这个

from chatgpt-java-wx.

weiguoheng avatar weiguoheng commented on June 26, 2024

我也遇见过,查资料发现官方有请求速率的限制,请求过快就会出现这个

我感觉应该不是官方速率问题,我在另一个项目用其他语言,同样的聊天基本不会出现报错,因为不太精通java一直排查不到原因

from chatgpt-java-wx.

c-ttpfx avatar c-ttpfx commented on June 26, 2024

我也很奇怪,明明速率还没有达到阈值 帮助文档查看 就可能出现上面的问题,我debug代码看了请求体,就是标准的json格式,如果问题请求慢一点那么就没有问题

image

然后我又使用同步方式请求,在连续多次请求后控制台提示如下信息

    "error": {
        "message": "Rate limit reached for default-gpt-3.5-turbo in organization org-iybBoCbpsPhaymZWS3t2JTGT on requests per min. Limit: 3 / min. Please try again in 20s. Contact us through our help center at help.openai.com if you continue to have issues. Please add a payment method to your account to increase your rate limit. Visit https://platform.openai.com/account/billing to add a payment method.",
        "type": "requests",
        "param": null,
        "code": null

大概意思就是速率限制为每分钟3次,我又去官方里面查看,结果发现了以下内容

image

问题应该就是官方的速率限制导致的

from chatgpt-java-wx.

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.