I Coded Working AI in Scratch!

Поделиться
HTML-код
  • Опубликовано: 21 апр 2023
  • Not just a bunch of ifs and say blocks - this is real AI.
    ----
    Scratch Profile: scratch.mit.edu/users/charles...
    Email: contact@donutask.com
    Website: donutask.com
    ----
    I can't publish this extension because it requires an API key. Here are the resources you need to create it yourself. The OpenAI API, ironically, requires real money to use.
    Scratch mod used: sheeptester.github.io/scratch...
    OpenAI Documentation: platform.openai.com/docs/api-...
    Get API Key (requires account and billing details): platform.openai.com/account/a...
    JavaScript Code (You need to provide an API key):
    class AIBlock {
    getInfo() {
    //Metadata for block
    return {
    "id": "AI",
    "name": "AI",
    "blocks": [{
    "opcode": "completePrompt",
    "blockType": "reporter",
    "text": "complete prompt [string]",
    "arguments": {
    "string": {
    "type": "string",
    "defaultValue": "Explain quantum computing in simple terms"
    }
    }
    }],
    //don't worry about it
    "menus": {}
    };
    }
    async completePrompt({ string }) {
    //Remove trailing spaces, required for model to work properly
    const text = string.trim();
    //Request text completion using Davinci3
    const url = `api.openai.com/v1/engines/tex...`;
    const options = {
    //Has to be post for some reason
    method: "POST",
    //Input prompt and a decent length
    body: JSON.stringify({
    prompt: text,
    max_tokens: 300,
    }),
    //API key, and JSON content type
    headers: {
    Authorization: "Bearer " + API_KEY,
    "Content-type": "application/json; charset=UTF-8"
    },
    };
    console.log("REQUEST:" + url);
    //Fetch and await promise.
    const response = await fetch(url, options);
    //Get JSON data
    const jsonData = await response.json();
    //The ai response will be the first (and only) choices text
    const output = jsonData.choices[0].text;
    return output;
    }
    }
    //Register block with Scratch
    Scratch.extensions.register(new AIBlock());
    ---
    Sound effects from ZapSplat.com
    Some images generated by DALL-E
    Images and videos from Unsplash.com and Pexels.com
    Music by Kevin MacLeod (incompetech.com)
    Licensed under Creative Commons: By Attribution 4.0 License
    creativecommons.org/licenses/b...
    Subscribe!
    Oh, and if you want to support me financially, consider becoming a member :)
    / @donut_ask
  • НаукаНаука

Комментарии • 700

  • @donut_ask
    @donut_ask  Год назад +207

    I should've got AI to write the code!
    Unfortunately, I can't publish the extension because it requires an API key that costs real money. If you have the money, the code (along with extra details) is in the description.
    Anyways, thank you for watching :D

  • @veniyar
    @veniyar Год назад +73

    Donutask: "this is the super secret api key im not allowed to share with anyone"
    Also Donutask: *casually shows the api key to thousands of viewers*

    • @donut_ask
      @donut_ask  Год назад +10

      🤪

    • @user-fq9cs8ex5x
      @user-fq9cs8ex5x 10 месяцев назад +1

      hehehehe

    • @IlliaZhdanov
      @IlliaZhdanov 9 месяцев назад +1

      @@donut_ask you changed it... right..?!?

    • @IlliaZhdanov
      @IlliaZhdanov 9 месяцев назад +2

      @RealMadhuuthere are either two options: 1. he changed it 2. he casually waits for everyone to spend his money. LMFAO

    • @donut_ask
      @donut_ask  9 месяцев назад +7

      @@IlliaZhdanov I deleted it. I was stupid enough to not know how to properly sync audio and video, but not THAT stupid

  • @PossiblyAxolotl
    @PossiblyAxolotl Год назад +89

    “This is the super secret api key I’m not allowed to share with anyone” hmmm ok I’ll definitely keep that a secret

    • @Joshi_Mayd
      @Joshi_Mayd Год назад

      Ei09GOCHMYjMvt5jcfTrT3B1bkFJcbRIZP5kMhRMghUG7bdJ

    • @Not_So_Average
      @Not_So_Average Год назад +2

      I can keep it a secret. I cant vouch for the people I tell it to though...

    • @loggaming7505
      @loggaming7505 Год назад

      I was just about to comment that

  • @hazeandclash
    @hazeandclash Год назад +1

    ive been watching you since 1K subs! Good to see you finally get the attention you deserve.

  • @Giolaboman
    @Giolaboman Год назад +7

    What a journey! Amazing video :)

  • @Jaob994
    @Jaob994 Год назад +85

    As a JS programmer this was painful to watch

    • @donut_ask
      @donut_ask  Год назад +22

      I am very sorry for you having to use JS. (Since you understand it i want to share something stupid i did. I was trying to access object properties with obj["choices"] instead of obj.choices. I think it works the other way in python, because python.

    • @mohammadelmerhebi2278
      @mohammadelmerhebi2278 Год назад

      um actually as a mf ur dick is small 🤓🤓🤓🤓

    • @TheRealMangoDev
      @TheRealMangoDev 9 месяцев назад +5

      javascript is the worst programming language in the world.

    • @Jaob994
      @Jaob994 9 месяцев назад

      @@TheRealMangoDevWould you care to try Cobol. Or maybe something like Brain fuck or whitespace. Or maybe even PHP?

    • @Hooman-sd8mi
      @Hooman-sd8mi 9 месяцев назад +3

      Im a scratcher

  • @draconicproductionsinactiv5717
    @draconicproductionsinactiv5717 Год назад +7

    note: The AI used is not ChatGPT, it is text-davinci

  • @RealUnify
    @RealUnify Год назад +70

    I've actually made one in Snap! (A different programming language) it has a URL block inside and some libraries that can do posts and send headers to the internet. It's much easier than making an entire extension from blocks instead of Javascript!
    Pretty impressive how you did it in Scratch though. That was awesome!

    • @donut_ask
      @donut_ask  Год назад +7

      Didn't know snap could do that

    • @kraskaska
      @kraskaska Год назад

      @@donut_ask snap is basically scratch on steroids with slightly outdated ui

    • @kraskaska
      @kraskaska Год назад +1

      it has a more complex custom blocks system and has firstclass blocks, so you can pass blocks to blocks to, for example, map a list

    • @Mr-Raptor
      @Mr-Raptor Год назад +1

      man putting blocks to do stuff is harder than programming

    • @WallDotCom
      @WallDotCom Год назад

      are you my ai

  • @RockyJones
    @RockyJones Год назад +5

    And you used ChatGPT to create ChatGPT in Scratch!

  • @stopmotionmaniac7639
    @stopmotionmaniac7639 Год назад

    Ive been here since 1K! I submitted a game for playing your scratch games too i also remember i made a remix of your finding game thing you used

  • @christinaSlays281
    @christinaSlays281 Год назад +1

    Just subscribed because like all there is right now is griffpatch this guy is so underrated

    • @donut_ask
      @donut_ask  Год назад +1

      Thanks for putting me in the same sentence as the goat :)

  • @idontwantn
    @idontwantn Год назад +14

    Could you make a longer, more precise and step-by-step guide that explains every tiny thing. That would be awesome and absolutely deserve a sub.

    • @donut_ask
      @donut_ask  Год назад +11

      I should, but maybe on a second channel. The explanation oarts are where people click off :(

    • @idontwantn
      @idontwantn Год назад

      @@donut_ask Yeah true. Smart.

    • @scullycraft4776
      @scullycraft4776 Год назад +1

      Yes that would be great, I really want to do that but I am just to dumm to understand it, a step by step guide would be nice

    • @idontwantn
      @idontwantn Год назад

      @@scullycraft4776 Yeah.

  • @cyberxandcorruptedtiger
    @cyberxandcorruptedtiger Год назад +1

    First time on the channel... I love it!

  • @josephherrera2863
    @josephherrera2863 Год назад +8

    This man is one of the few people who can genuinely make me laugh. You just earned a new subscriber! 😂😂😂

    • @donut_ask
      @donut_ask  Год назад +3

      Thank you :D

    • @kramsdell_
      @kramsdell_ 9 месяцев назад

      @@donut_ask was the api key at the end real

    • @donut_ask
      @donut_ask  9 месяцев назад

      @@kramsdell_ no

  • @vaticancityball7573
    @vaticancityball7573 Год назад +2

    A couple months ago, I started making my first AI in Scratch. It was a dog with 2 tricks: Sit and Come. Last week, I coded another dog AI but this time it does a random trick and it starts off with a 1 in 100 chance to get the trick right, which I did with random numbers and lists. If it chooses a number other than 1, it will choose a random trick out of 3 tricks (Sit, Speak, and Come). It doesn't choose the trick it was told to do because that wouldn't make sense if it was doing the trick wrong.

  • @ashleighvannes3601
    @ashleighvannes3601 Год назад

    What Website Did You Use For The "Data: URI Generator"?

    • @donut_ask
      @donut_ask  Год назад

      Can't remember, i think it was just the top google result for 'Data URI Generator'

  • @Speed-TV
    @Speed-TV Год назад +1

    The griffpatch we didn't know we needed

  • @NotOmichall
    @NotOmichall Год назад

    Looks nice! Im glad I could answer you even in Scratch!

    • @omichall
      @omichall Год назад

      Can you answer my question?

    • @NotOmichall
      @NotOmichall Год назад

      @@omichall Of course! Please feel free to ask me any question you have, and I'll do my best to provide a helpful answer.

    • @honor_gamer
      @honor_gamer Год назад

      You're fake goner.

    • @hashflame
      @hashflame Год назад

      @@NotOmichall are you seriously chatgpt?

  • @tommysade_hq_videos
    @tommysade_hq_videos Год назад +2

    Yesterday I just got my AI to work in Scratch from scratch, it uses neural networks and you can talk to it.
    So I guess I am quite talented. But nice video!

    • @nitrous69
      @nitrous69 Год назад

      Link? Proof?

    • @tommysade_hq_videos
      @tommysade_hq_videos Год назад +1

      I probably will make a video of it on another RUclips channel, but I will not share a link yet, since I don't want it to be copied.

    • @tommysade_hq_videos
      @tommysade_hq_videos Год назад

      @@nitrous69 Hello! Here is a video of the usage with the AI: ruclips.net/video/po2Gu-5u7Kk/видео.html

  • @Prazimania
    @Prazimania Год назад +8

    This is just using an extension that goes into ChatGPT AI. That means this isn't working AI in Scratch, especially since you had to go to a totally different website to do so with an extension. I was expecting for a neural network to be coded literally with scratch blocks.

    • @donut_ask
      @donut_ask  Год назад +4

      Yeah the title and thumbnail is a bit clickbait on this video. Unfortunately it works; this is one of my top performing videos. No one would watch "I Just Used an Extension that Goes into ChatGPT AI". In the first 30 seconds, I clarify that this is an extension, so I'm not trying to waste your time. I hope you understand :)
      Also, you can make a basic neural network in Scratch. But the most complex you can really do is recognise numbers. Predictive text would be impossible in regular scratch.

    • @Prazimania
      @Prazimania Год назад +1

      @@donut_ask Hey, it's all good, I understand that! I tried making a neural network in Spanish before lol

  • @Logboy2000
    @Logboy2000 8 месяцев назад +1

    1:42 no way you just did that. I was about to warn you about you not blurring it properly. 😂

  • @tdgdit
    @tdgdit Год назад +2

    "This is the super secret api key that im not allowed to share with anyone" *proceeds to show it to 80k+ peaople*

  • @phongthe1272
    @phongthe1272 20 дней назад

    Amazing! I am very curious about your family environment that grow up you as professional engineer such as programming, talking and kindness!
    Keep trying!

  • @HxdytHimself
    @HxdytHimself 2 месяца назад

    Love it!

  • @MozharGamer
    @MozharGamer Год назад +1

    Thats so cool love it

  • @Citrumoothy
    @Citrumoothy 3 месяца назад +1

    This is very cool! Can you make step-by-step instructions through the process? also, can I use Google Gemini/Bard? can I publish the working ai? It would be very cool if it works and I hope you can make a longer video of this!

  • @Sorflor
    @Sorflor Год назад +6

    Bro worked hard on this , he deserves a like guys.

  • @liamhood16
    @liamhood16 Год назад +11

    most underrated programmer in the game!!!!!!!!!!!!!!!!!!!!

  • @user-gn8im9bx3b
    @user-gn8im9bx3b Год назад

    You are so underrated on yt. You definitely deseeve over 500 k subs

  • @maribellira6997
    @maribellira6997 Год назад

    I used your clicker tutorial and it worked-¹!except sunshine and the water) you just earned a sub for helping scratchers

  • @Radioactivemeness
    @Radioactivemeness Год назад

    How do I create an API key, I don't understand what you said in the description

    • @donut_ask
      @donut_ask  Год назад

      help.openai.com/en/articles/4936850-where-do-i-find-my-secret-api-key

  • @CharloBrownOfficial
    @CharloBrownOfficial Год назад

    Will it work when shared?

  • @acheenu
    @acheenu Месяц назад

    how did you get that url ?

  • @Lemyx.
    @Lemyx. 5 месяцев назад

    Amazing!!!🤯

  • @lejacobofficial
    @lejacobofficial Год назад +2

    Yoo, this is the most underrated extension ever! (Btw i didnt payed for this donation but google technicaly did)

    • @donut_ask
      @donut_ask  Год назад +1

      This is the first super thanks I got. Thank you!!

    • @lejacobofficial
      @lejacobofficial Год назад

      @@donut_ask You're welcome, you deserved it because you spent cash on the video, basically its a cash back by google.

    • @TheoSur
      @TheoSur Год назад

      omg wait czech people?! 😱

    • @dabbopabblo
      @dabbopabblo Год назад

      @@lejacobofficial If you cash back from google, the person you sent the money doesn't get it. Are you only 10? How could you even think things work like that?

    • @ParodieHecker-mobile
      @ParodieHecker-mobile Год назад

      @@dabbopabblo I think you misunderstood him.

  • @AndrewZhao_
    @AndrewZhao_ Год назад

    Aw. Thanks! It helps a lot!

  • @gneu1527
    @gneu1527 Год назад +10

    I feel like there is a way to make almost good working chat AI, but it's also possible to make regular Nextbot-like AI.

  • @GamerVistaHub780
    @GamerVistaHub780 7 месяцев назад

    can you give me the link of the ai assistant

  • @ethancamacho566
    @ethancamacho566 Год назад

    This is honestly pretty cool!

  • @SweetLullaby12345
    @SweetLullaby12345 6 месяцев назад

    how can i make this extension?

  • @JWGoldPro
    @JWGoldPro Год назад +2

    This is really cool and keep up the good work.

  • @yellowsaint
    @yellowsaint Год назад

    i'm usually a Python programmer, but i've had some JS experience, so i can try to breakdown the thought process here, but forgive some estimation
    "POST" is a form of HTTP interfacing, instead of asking the server (OpenAI) "hey, can we get this resource", it's like putting a little request form in an envelope and putting it in a queue for OpenAI! JavaScript's JSON is a library(ish? i'm not sure on terminology for JavaScript) that essentially takes a few tidbits of information (like the prompt and max_tokens), similar to a dictionary in Python, or, good lord, Objects in JavaScript. a mere google search gave me shivers.
    other than that, the headers are just ways for the content to be delivered to OpenAI's HTTP servers.
    after that, the request is sent, and async/await allows JavaScript to keep working with other functions and elements without having to wait for one element to finish.
    then, the response is a JSON data packet, which is then accessing the choices element in the JSON, choosing the first, and giving you a string as an output!
    finally, the actual elements come together in a neat little package, registering the block in Scratch.

    • @donut_ask
      @donut_ask  Год назад +1

      Great explanation!! If only I could of said it like this in the video

    • @kostya8764
      @kostya8764 Год назад

      JSON is a data format

  • @jujhar.
    @jujhar. Год назад +1

    Underrated creator spotted 👀

  • @thebluescratchy2009
    @thebluescratchy2009 Год назад +1

    nice, i even tried it myself and it works! I kinda had to fix it by putting the api key code and use chatgpt to fix further cuz it no work and thanks to fixes it worked but i also found out u dont need money to get api key, i dont care about limits

    • @donut_ask
      @donut_ask  Год назад +1

      How did you get it for free?

    • @thebluescratchy2009
      @thebluescratchy2009 Год назад +1

      @@donut_ask easy
      generating api key requires no money
      i simply opened the link, clicked the button that generates the key, BOOM, key generated, just a reminder i DO have an openai account

  • @obiomavirginia8159
    @obiomavirginia8159 Год назад

    Please how do I contact would love to discuss something on scratch Program with you

  • @like-video
    @like-video Год назад

    I pasted the link but the chat gpt didn't work, can you give a link to the sb3 file via google drive mega or whatever

    • @donut_ask
      @donut_ask  Год назад

      You need to get an API key for it to work

  • @KratVRAG
    @KratVRAG 10 месяцев назад

    It keeps on saying TypeError and i don't understand.

  • @ThirtyDimensionedMissile
    @ThirtyDimensionedMissile Год назад +6

    Woohoo! AI in scratch.

  • @Avokadik13
    @Avokadik13 Год назад

    I have that thingy too. Why haven't I tried to alter time with it?

    • @donut_ask
      @donut_ask  Год назад

      Be careful not to break the space time continuum!

  • @Jappley
    @Jappley Год назад +56

    how is this man so underrated

  • @CyberPotato123
    @CyberPotato123 Год назад +1

    wow great video man

  • @collin4254
    @collin4254 Год назад +2

    The Gandi IDE already has an AI extension, you can give it a try 😊

  • @BESTGAMER12132
    @BESTGAMER12132 Год назад

    Could you perhaps write the code, with the api key place saying "API-KEY"

  • @williamharrison3143
    @williamharrison3143 7 месяцев назад

    whats the url?
    /

  • @ToshiyukiTokuda925
    @ToshiyukiTokuda925 Год назад +1

    WOW NICE VID!!! your literally a genius in scratch. Your channel is underrated it needs more subscribers!!! and hehe. I love how you put some jokes in your vids!

    • @donut_ask
      @donut_ask  Год назад +1

      Thanks. I try to make boring videos actually fun to watch. Glad you liked it.

    • @影-銀
      @影-銀 Год назад

      @@donut_ask i tried it, but i got an error :(

  • @williamharrison3143
    @williamharrison3143 7 месяцев назад

    whats the url?

  • @spingleboygle
    @spingleboygle Год назад +1

    what’s funny is that robot sprite in the beginning reminds me of those 60s sci-fi film with crazy cool predictions on the future, definitely a true future with advanced AI like this

  • @user-pj7bg1df4p
    @user-pj7bg1df4p Год назад

    Woohoo, youre so good at coding!

  • @memetech-
    @memetech- Год назад +2

    “In Scratch”
    Also I would love to run this in Snap. I can surely modify this…

    • @donut_ask
      @donut_ask  Год назад

      I've never used snap, good luck

  • @aydenzgamer
    @aydenzgamer Год назад

    i just got rick rolled, trying to steal someones credit card number. that makes me wonder if that card number is valid

    • @donut_ask
      @donut_ask  Год назад

      I used a fake number generator. But you got RICK ROLLED!!!!!

  • @AnshumanTandon-ux4tj
    @AnshumanTandon-ux4tj 3 месяца назад

    what is the URL of this chat gpt extensions

    • @donut_ask
      @donut_ask  3 месяца назад

      I literally can't share it, sorry

  • @sunnyMK69
    @sunnyMK69 Год назад +1

    Scratch “programmer” trying javascript for the first time be like

    • @donut_ask
      @donut_ask  Год назад

      I've used JS before on a couple websites. But JS is awful!

  • @gero9307
    @gero9307 Год назад +2

    This is not coded AI in scratch, this is coded API.

  • @RuffRuff9971
    @RuffRuff9971 9 месяцев назад

    it cant read the zero at the end

  • @Nova0
    @Nova0 Год назад

    Nice video

  • @TinyTaronja
    @TinyTaronja 5 месяцев назад

    please add the link to the working A.I in the description

    • @donut_ask
      @donut_ask  4 месяца назад

      I literally can't

  • @luizmull3449
    @luizmull3449 Год назад +2

    my brain hurts this is too smart-y🥶🥶

  • @africc
    @africc Год назад

    title: i coded working ai in scratch
    video: im using this random persons version of scratch

    • @donut_ask
      @donut_ask  Год назад

      Donutask is such a stupid liar!

  • @NovaspiderUltra
    @NovaspiderUltra Год назад

    I'm turning this into an extension that can be used on Turbowarp (by editing a few things)

  • @yolopolotyur
    @yolopolotyur Год назад

    Amazing

  • @giovannielias8153
    @giovannielias8153 Год назад

    At 5:40
    Line 34 | "method: 'post'"
    POST is a type to pass info to php, in that case, basically it will get the input from the Scratch and send it to the php of the AI

  • @d5hcode
    @d5hcode 8 месяцев назад

    I actually made one in Vanilla Scratch! Using cloud variables. It was interesting. My classmates and teachers liked the little project.

  • @Central.Idiotic.Agency
    @Central.Idiotic.Agency Год назад +2

    That's cool and all but I once made an apple go to a random position when you click it

    • @TypicalVole2437
      @TypicalVole2437 Год назад +1

      that's cool and all but once I made an apple move right when you pressed left

    • @jaxonbrinkman1022
      @jaxonbrinkman1022 Месяц назад

      Are both of you dumb both of those things are 10x worse

  • @AstroEli133
    @AstroEli133 Год назад

    How do I paste the code into the scratch mod?

  • @OGSnapStrike
    @OGSnapStrike Год назад

    Yo, a few questions, one the code doesn't work, and two can i make a vid on this?

    • @donut_ask
      @donut_ask  Год назад

      Do you have an API key? Or my code just sucks. You can make a video :)

    • @OGSnapStrike
      @OGSnapStrike Год назад

      @@donut_ask yea i got an api key

  • @Planes_are_life
    @Planes_are_life Год назад

    u are so good

  • @kai-eu7wc
    @kai-eu7wc Год назад

    how do i set it up with the js?

    • @donut_ask
      @donut_ask  Год назад

      See description. Unfortunately the API will cost money

    • @kai-eu7wc
      @kai-eu7wc Год назад

      @@donut_ask It does not say how to import it.

  • @jaimebennett1
    @jaimebennett1 Год назад

    Could you upload the project so we can use the chatgpt block?

    • @donut_ask
      @donut_ask  Год назад

      No, you can't upload projects with custom extensions

    • @jaimebennett1
      @jaimebennett1 Год назад

      @@donut_ask 😭😭😭😭😭😭😭

  • @elliotthill7008
    @elliotthill7008 10 месяцев назад

    1:51 I don't even know much about coding and making games. but this experience is too real for me.

  • @crocolierrblx9365
    @crocolierrblx9365 Год назад

    now make a transistor simulator and make a whole ai out of simulated transistors

  • @fabiankrajewski3147
    @fabiankrajewski3147 Год назад

    Task: become donut

  • @ROCKERNAN89
    @ROCKERNAN89 2 месяца назад

    6:08 “Good thing I have this time-altering thing!”
    **pulls out ADHD toy**

  • @tinyarr
    @tinyarr Год назад

    here before this donut blows up

  • @swiftprison
    @swiftprison Год назад +4

    You actually didnt built any ai , you just made scratch talk with an api...

    • @donut_ask
      @donut_ask  Год назад

      Yeah, a lot of people have mentioned that. I might need to change the title a bit. But I don't know how to phrase it in any other interesting way :/

  • @LukeAnimador
    @LukeAnimador 2 месяца назад

    4:37 Ah yes, my favorite programming language: Srachahahaccci

  • @ItIsJan
    @ItIsJan Год назад

    real chads would us scratchattach.

  • @ITHrealXD
    @ITHrealXD Год назад +1

    5:08
    Donutask: “here is the super-secret API key that im not allowed to share with ANYONE.”
    Also Donutask: *SHARING THE DAM SCREEN FOR THE API KEY*

    • @donut_ask
      @donut_ask  Год назад

      That donutask guy sure is stupid!

  • @atomdoesstuff2755
    @atomdoesstuff2755 Год назад

    has anybody uploaded this?

  • @RonicTheEgg
    @RonicTheEgg Год назад +2

    Just wait until someone makes a working ai using only scratch blocks

    • @donut_ask
      @donut_ask  Год назад +5

      Next Griffpatch project...

    • @TheoSur
      @TheoSur Год назад

      already did :) of course, it's not perfect in any way, nor can you call it an actual a.i, but the concept is the same as an a.i would.

    • @yesmrsmack
      @yesmrsmack 4 дня назад

      it will be mack

  • @labanikhanam1055
    @labanikhanam1055 10 месяцев назад

    it dosent show the extension

    • @donut_ask
      @donut_ask  10 месяцев назад

      It's not released

  • @birb_not_nerd
    @birb_not_nerd Год назад

    Why did you show the API key you werent meant to show?

    • @donut_ask
      @donut_ask  Год назад

      I deleted it. I left it in the video because it would be funny

  • @JonasSchwabeland
    @JonasSchwabeland Год назад

    WHat is that programm at 5:36 ?

  • @likiaofficial
    @likiaofficial Год назад

    so this is just scratch with chatgpt plugin?

    • @donut_ask
      @donut_ask  Год назад

      Yes, I made an extension that adds a block which uses the openai api

  • @Clarix_Shorts
    @Clarix_Shorts Год назад +1

    5:07
    Him: I can't show this code to anyone
    Me: ...

  • @liamhood16
    @liamhood16 Год назад

    scratch GOAT

  • @LambdaCreates
    @LambdaCreates 10 месяцев назад

    1:43
    It says "Never gonna give you up"
    That is a creative way to deter some people looking for your personal info...

    • @donut_ask
      @donut_ask  10 месяцев назад

      Haha some people actually thought it was my actual info

    • @LambdaCreates
      @LambdaCreates 10 месяцев назад

      @@donut_askwait what
      those are hardcore hackers probably
      they're willing to get rickrolled if it means
      a possible chance for someone's information

    • @LambdaCreates
      @LambdaCreates 7 месяцев назад

      0:13 BLUR BLUR BLUR THE API KEY NOW NOW BLUR IT BLUR IT BLUR IT BLUR IT

  • @honor_gamer
    @honor_gamer Год назад

    Imagine someone wants to see in description talk Scratch OpenAI CGPT, but there is no actual link, or link on the charlesbel's games. There is no ChatGPT in here, it's just a challenge.

  • @l.e.u.m.a.s4218
    @l.e.u.m.a.s4218 19 дней назад

    the secret to coding nowawdays, is pasting your errors into chatgpt, and explaining what you want.
    All you woulda had to do is copy your error from scratch, paste it into chatgpt, and say "make my scratch code block wor.. here is my error [paste error]. [Explain what you are doing]
    it will fix your code. But also tell you what the error you have means incase you need to fix it again.

  • @leadwithnononsence
    @leadwithnononsence Год назад

    how download

  • @blu885
    @blu885 10 месяцев назад

    So ive got the API and ive got the block, but everything i try, it keeps on saying API_KEY is not defined, can someone help? im an complete idiot when it comes to this lol.

    • @donut_ask
      @donut_ask  10 месяцев назад

      Replace the word API_KEY in the code with your api key

    • @blu885
      @blu885 10 месяцев назад

      yea i found that out before the reply, but then it says it cannot reconize sk (the start of my api key) so yea thats another problem.@@donut_ask

    • @donut_ask
      @donut_ask  10 месяцев назад

      did you put "quotes" around it?

    • @blu885
      @blu885 10 месяцев назад

      @@donut_ask no

    • @blu885
      @blu885 10 месяцев назад

      just tried that out, now its giving me an error like: Cannot read properties of Undefined (reading '0'). yea codings frickin hard man-@@donut_ask