Discuss Scratch

xylidine
New Scratcher
100+ posts

AI on Scratch

I don't mean AI for bots in my game - I mean AI that can have a conversation with a user. I want a GPT, but there's one small problem: I don't know where to start. I don't need any help with the UI, just the chatbot itself. I've seen plenty of chatbots on Scratch already, but all of them are limited in responses.

I won't be able to teach the entire English language/grammar, along with thousands of if-blocks to select a response, so I'm considering using natural language processing (basically, it enables the chatbot to understand and generate human language, which in this case would be English).

Reinforcement learning can also be used to teach the chatbot common responses and what to expect after it learns from past conversations.

I need help incorporating the above (and more) elements of AI to successfully code a chatbot that has a wide range of responses and can properly understand input and generate correct output.

wei04787
Scratcher
100+ posts

AI on Scratch

AI is really hard to make using good coding resources, but on Scratch it is going to be even harder. If you want some examples, here is the best one I found. https://scratch.mit.edu/projects/228155796/

Again, it will not answer to everything and is not perfect, but it is really hard to make an AI that learns in scratch since you can't really make it think up of an answer on its own.
xylidine
New Scratcher
100+ posts

AI on Scratch

Yeah that's the point. I want to push the limits of Scratch, and to make AI, I want some reccomendations on how I should approach this. After all, coding a chatbot that understands input, and generates valid output, is a hard task like you said.

Even the one that you linked doesn't have a variety of responses. This is because many if statements are used to determine output.

zbsmobile
Scratcher
78 posts

AI on Scratch

Mrbawesome_Main
Scratcher
49 posts

AI on Scratch

one thing that could be possible is talk to an Ai on scratch to code “what ever you want (within rules)” and It makes it in a style of the person you choose.

if scratch is thinking of this I would Obviously take years to get good AI helper. also you would need to allow scratch AI to access how you code for it to work.

Powered by DjangoBB