Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add turboGPT.js #790

Closed
wants to merge 32 commits into from
Closed

Add turboGPT.js #790

wants to merge 32 commits into from

Conversation

14-3dgar
Copy link

@14-3dgar 14-3dgar commented Jul 27, 2023

TurboGPT Extension

Adds an extension that lets interact with chatbots of gpt-3.5

  • No api key required
  • Lets make simple prompts and interact with multiple chat sessions

  • You can test it here

@LilyMakesThings
Copy link
Contributor

You thumbnail's SVG is using a text element, which isn't allowed, which is why it's failing

@CubesterYT
Copy link
Collaborator

lolemo, let me give you a heads up, if this does get merged, I want to tell you that the extension can't be named with scratch in it's name, as GarboMuffin doesn't want TurboWarp to be associated with Scratch in any way. He told me the same thing with my extension, called TurboHook, which was called ScratchHook originally. So try renaming the extension to TurboGPT.

@14-3dgar 14-3dgar changed the title Add scratchGPT.js Add turboGPT.js Jul 28, 2023
@14-3dgar
Copy link
Author

lolemo, let me give you a heads up, if this does get merged, I want to tell you that the extension can't be named with scratch in it's name, as GarboMuffin doesn't want TurboWarp to be associated with Scratch in any way. He told me the same thing with my extension, called TurboHook, which was called ScratchHook originally. So try renaming the extension to TurboGPT.

thanks, I just changed the name

@XeroName
Copy link
Contributor

XeroName commented Jul 28, 2023

image
this is really interesting
love this

@Flappy25
Copy link

I wonder if you can use GPT-4.

You can, if you know python

You'd need an API key but i think it's expensive
This extension is gpt-3.5 only, but free and faster than gpt-4

Use the GPT-4 free project

@ghbbeep
Copy link

ghbbeep commented Jul 28, 2023

This is a really good extension! Something that could be useful is a block that prints the last thing generated by the AI. Otherwise, this should really be on the extensions website!

@BlueDome77
Copy link
Contributor

I wonder if you can use GPT-4.

People say ChatGPT 4 is getting dumber

@Flappy25
Copy link

I wonder if you can use GPT-4.

People say ChatGPT 4 is getting dumber

Maybe cuz the internet is full of fake news or openai is trying to suppress it's knowledge

@ddededodediamante
Copy link

so cool

@NexusKitten

This comment was marked as spam.

@14-3dgar
Copy link
Author

14-3dgar commented Jul 31, 2023

image It seems the API is bugged right now, is it down? If so, how often does said API go down?

It works well for me. If the extension doesn't work it's because the OpenAI API is down, probably due to maintenance. Could you send any error messages you get in the browser console?
You can see the openai status page to see how often this happens here
Also, it the console displays an error message with code 429, that is because you are sending requests too fast

@14-3dgar
Copy link
Author

14-3dgar commented Jul 31, 2023

Added new blocks

Last generated thing and prompt, suggested by @ghbbeep :
lastgen
Exporting and importing specific chats:
Captura de pantalla 2023-07-31 a las 11 06 08
Reporter to list active chats:
Captura de pantalla 2023-07-31 a las 11 06 58
Export everything:
Captura de pantalla 2023-07-31 a las 11 07 37
Import and merge, or remove and import:

257172778-7499f983-9186-42b3-af6a-4c719134d6ce

You can test it here

@True-Fantom
Copy link
Contributor

Hello! I really like your extension, but I also want to point out the shortcomings that can be easily fixed.

Block icon is black, which does not correspond to the scratch style, repaint it in white.

It is not clear from the extension what some blocks are responsible for, it can be solved by adding documentation.

Also, it is not clear from the extension which GPT model is used, and even if you add it to the documentation, it will not be convenient. So you should probably change the name of the extension to "GPT-3.5", it will be more concise and without the "Turbo" prefix, which is useless in this case.

@Drago-Cuven
Copy link

@Lolemo this ext is currently broken.

@NexusKitten

This comment was marked as spam.

@ghbbeep
Copy link

ghbbeep commented Sep 23, 2023

@Lolemo this ext is currently broken.

This has happened in the past, presumably because it's a free API designed for a different service. Perhaps add a label warning the user that the API may go down often.

Another idea is maybe you can either select from a dropdown of known/reputable APIs, or type one in yourself. But as it stands right now, this extension isn't really useable.

@GalacticCoderReturns
Copy link

This is cool! I have it in my PenguinMod Library right now.

@GarboMuffin
Copy link
Member

The problem with these ends up being that LLMs are expensive to run; someone has to be footing the bill. It happens that the free API of choice shut down since this pull request was created.

@GarboMuffin
Copy link
Member

#497 is still open

@zmh-program
Copy link

The problem with these ends up being that LLMs are expensive to run; someone has to be footing the bill. It happens that the free API of choice shut down since this pull request was created.

Please don't have that mentality with ai. You have no idea how cheap chat completions are for llm nowadays (including cf's free stable diffusion, etc).

@LilyMakesThings
Copy link
Contributor

The problem with these ends up being that LLMs are expensive to run; someone has to be footing the bill. It happens that the free API of choice shut down since this pull request was created.

Please don't have that mentality with ai. You have no idea how cheap chat completions are for llm nowadays (including cf's free stable diffusion, etc).

Well who's gonna pay for the extension's API, then? Because TurboWarp would have to offer it for free and then what happens when other websites start using it for free?

@zmh-program
Copy link

The problem with these ends up being that LLMs are expensive to run; someone has to be footing the bill. It happens that the free API of choice shut down since this pull request was created.

Please don't have that mentality with ai. You have no idea how cheap chat completions are for llm nowadays (including cf's free stable diffusion, etc).

Well who's gonna pay for the extension's API, then? Because TurboWarp would have to offer it for free and then what happens when other websites start using it for free?

U DON'T EVEN know cf free llm.

@GarboMuffin
Copy link
Member

There is nothing stopping you from using any of the HTTP/Fetch/Network extensions to use any API you want

But when something is submitted here, the idea is that it's going to keep working basically forever. Free AI services demonstrably are not reliable; again see how the original website that this PR used unceremoniously shut down one day.

@zmh-program
Copy link

So you think the merge was stopped because cloudflare would be shut down? As well as it might be good to know about the website I wrote (chatnio.net). Also, my recommended practice is to understand the llm circle rather than just assume so.

@GarboMuffin
Copy link
Member

if you think you have a way to solve my concerns then you are welcome to submit a new pull request

@zmh-program
Copy link

I think you and the developers in the turbowarp community could tap into it if you're interested via chatnio api (supports openai calls in the same format)

(My non-profit site chatnio.net has 50,000 people registered, just don't think it's a small site)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.