Code Monkey home page Code Monkey logo

Comments (6)

kaicode avatar kaicode commented on September 26, 2024

Please select the "OpenAI API" tab and enter valid OpenAI credentials in order to try the demos.
See this help article for more information: https://help.openai.com/en/articles/4936850-where-do-i-find-my-secret-api-key
Screenshot 2023-10-03 at 16 08 04

from openai-demo.

yzfr6 avatar yzfr6 commented on September 26, 2024

I have entered valid credentials but I receive the same error. The console log for NLP is as follows:

[Error] Failed to load resource: the server responded with a status of 429 () (completions, line 0)

and for NLPv2:

[Error] ERROR – Error: Uncaught (in promise): Error: Request failed with status code 429
@https://ihtsdo.github.io/openai-demo/main.8423587d3493de05.js:1:1021663
@https://ihtsdo.github.io/openai-demo/main.8423587d3493de05.js:1:1024107
ze@https://ihtsdo.github.io/openai-demo/main.8423587d3493de05.js:1:1016046
We@https://ihtsdo.github.io/openai-demo/polyfills.bd8dd0a8407ab546.js:1:11525
onInvokeTask@https://ihtsdo.github.io/openai-demo/main.8423587d3493de05.js:1:101387
runTask@https://ihtsdo.github.io/openai-demo/polyfills.bd8dd0a8407ab546.js:1:2601
invokeTask@https://ihtsdo.github.io/openai-demo/polyfills.bd8dd0a8407ab546.js:1:8254
Z@https://ihtsdo.github.io/openai-demo/polyfills.bd8dd0a8407ab546.js:1:20769
N@https://ihtsdo.github.io/openai-demo/polyfills.bd8dd0a8407ab546.js:1:21057
Error: Uncaught (in promise): Error: Request failed with status code 429
@https://ihtsdo.github.io/openai-demo/main.8423587d3493de05.js:1:1021663
@https://ihtsdo.github.io/openai-demo/main.8423587d3493de05.js:1:1024107
ze@https://ihtsdo.github.io/openai-demo/main.8423587d3493de05.js:1:1016046
We@https://ihtsdo.github.io/openai-demo/polyfills.bd8dd0a8407ab546.js:1:11525
onInvokeTask@https://ihtsdo.github.io/openai-demo/main.8423587d3493de05.js:1:101387
runTask@https://ihtsdo.github.io/openai-demo/polyfills.bd8dd0a8407ab546.js:1:2601
invokeTask@https://ihtsdo.github.io/openai-demo/polyfills.bd8dd0a8407ab546.js:1:8254
Z@https://ihtsdo.github.io/openai-demo/polyfills.bd8dd0a8407ab546.js:1:20769
N@https://ihtsdo.github.io/openai-demo/polyfills.bd8dd0a8407ab546.js:1:21057
	handleError (main.8423587d3493de05.js:1:51402)
	next (main.8423587d3493de05.js:1:107727)
	next
	next (main.8423587d3493de05.js:1:3484)
	_next (main.8423587d3493de05.js:1:3164)
	next (main.8423587d3493de05.js:1:2855)
	(anonymous function) (main.8423587d3493de05.js:1:6016)
	hn (main.8423587d3493de05.js:1:2604)
	next (main.8423587d3493de05.js:1:5851)
	emit (main.8423587d3493de05.js:1:88028)
	run (polyfills.bd8dd0a8407ab546.js:1:1981)
	onHandleError (main.8423587d3493de05.js:1:101879)
	runGuarded (polyfills.bd8dd0a8407ab546.js:1:2161)
	(anonymous function) (polyfills.bd8dd0a8407ab546.js:1:14626)
	_ (polyfills.bd8dd0a8407ab546.js:1:9288)
	invokeTask (polyfills.bd8dd0a8407ab546.js:1:8279)
	Z (polyfills.bd8dd0a8407ab546.js:1:20770)
	N (polyfills.bd8dd0a8407ab546.js:1:21058)

from openai-demo.

kaicode avatar kaicode commented on September 26, 2024

The HTTP 429 Too Many Requests response status code indicates the user has sent too many requests in a given amount of time ("rate limiting").

The 429 error indicates that the OpenAI account you are using may have made too many requests recently.
See OpenAI: Rate Limits.

from openai-demo.

kaicode avatar kaicode commented on September 26, 2024

I can confirm that the demo is currently working when an API key that is not rate limited is used:
Screenshot 2023-10-05 at 09 13 22

from openai-demo.

yzfr6 avatar yzfr6 commented on September 26, 2024

Ive created new keys within my openai account and still receive the same error. I have created another account and still receive the same error. Tried in multiple browsers too

image

from openai-demo.

kaicode avatar kaicode commented on September 26, 2024

The demo just makes calls to the OpenAI APIs. If you are getting a 429 response then you must be getting blocked by OpenAI. Perhaps they are rate limiting your IP address. I'm not able to help with this.

from openai-demo.

Related Issues (1)

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.