Discuss Scratch

XainMS
Scratcher
23 posts

Artificial Intelligence chat box

Hello, i really wan to try make an artificial intelligence chat box but have almost no idea where to start.

all i have done so far is that it will remember its name and personal details

Please Help!

whenclickedbroadcastHELP!andwait
HannahPenguin315
Scratcher
100+ posts

Artificial Intelligence chat box

Link —>Talk to Scratch-Cat I made a chat-bot Scratch Cat after getting inspired to do so. Also if you look at my Loved Projects on my Profile, I have loved some Artificial Intelligence projects by others. You might want to start with:
whenclickedsayjoinHello usernamefor2secsaskquestion/commentandwait
Another note is that you have to have made some Lists in the Data section. You can also have something that displays what you were talking about by adding a:
addanswerto Chatbox
You also need a list of how it will respond if you type a certain answer for example, you will have to put:
ifPossibleResponsescontainsanswerthensayThat's good!for2secselsesayAlternative Answerfor2secs
Note that you can insert the
addanswertoChatbox
somewhere above in where it verifies whether the answer put in has a response.
The block
ask...andwait
Doesn't necessarily mean it has to be a question. It can also be just something you can reply to.
Anyways, just search “chat bot” in the Search bar, and a lot of things will appear.
XainMS
Scratcher
23 posts

Artificial Intelligence chat box

thanks i checked out your project and got a basic idea but i will make it more complex

i will remember to give you credit
move1stepclosersaythankstoyougivecredittoyou

Last edited by XainMS (Nov. 17, 2015 18:39:15)

XainMS
Scratcher
23 posts

Artificial Intelligence chat box

hellotyler
HannahPenguin315
Scratcher
100+ posts

Artificial Intelligence chat box

sayThanks!switchcostumetoSmile
dankill51
Scratcher
53 posts

Artificial Intelligence chat box

I made something similar that you can check out if you want. here it is https://scratch.mit.edu/projects/2644822/

That was from a while ago though. I've actually been focusing on this and other AI related stuff recently. I can help you if you'd like
Arisandra
Scratcher
100+ posts

Artificial Intelligence chat box

here is a tutorial specifically on this!
baconlover5555
Scratcher
100+ posts

Artificial Intelligence chat box

you can have different categorys/emotions of each type of word like noun, verb etc… and pre programmed frames for sentences where you filled in the blanks with the correct word type and appropriate emotion determined from detecting key words from the user response

this will be much better than just asking for names and saying hi (answer)
XainMS
Scratcher
23 posts

Artificial Intelligence chat box

Hey I was wondering if there is a easy way for your Sprite to pick up if someone says why should I tell you in a question and then the Sprite would say something different or if someone wants to say sure instead of yes the Sprite could pick that up too
dankill51
Scratcher
53 posts

Artificial Intelligence chat box

It depends on how you want to make your chat box. You could simply use the or block so when you say “yes” OR “sure” the the chat box says whatever you tell it to say. If you want to use lists then you would make yes and sure their own separate items in a list and have a response for each of them. I'm sure there are more complicated chat boxes that would work differently however these two ways seem easiest.
dawsonmorrison
Scratcher
2 posts

Artificial Intelligence chat box

I'd say keep building up questions and ask them in a random fashion.
sloblorc14
Scratcher
13 posts

Artificial Intelligence chat box

whenclicked
mentionI once made an AI projectoffertohelpanyone who wants

Last edited by sloblorc14 (May 21, 2018 07:11:36)

PrincessFlowerTV
Scratcher
1000+ posts

Artificial Intelligence chat box

sloblorc14 wrote:

whenclicked
mentionI once made an AI projectoffertohelpanyone who wants
Please do not un-necessarily use scratchblocks or nercopost.
Thanks!

Powered by DjangoBB