Jump to content


Photo

Chat Bot


  • Please log in to reply
12 replies to this topic

#1 eyeballs

eyeballs

    GMC Member

  • GMC Member
  • 35 posts
  • Version:GM:Studio

Posted 18 June 2012 - 01:05 AM

Hello everyone! Robocrates (Robot+Socrates) is a chatbot I started programming last August 2011.

I just uploaded the latest version my chatbot. Seven people have played it, but I haven't received any feedback yet, so I thought I would promote Robocrates here. Play it, let me know what you think. If you have some ideas for improvements, or have some knowledge of artificial intelligence or natural language processing, I would love to hear from you!

(Warning) The things Robocrates says might be offensive.

File Size: 1.24 MB (zipped)
GM Version: GM8
Vista Compatible: yes
Changes Screen Resolution: no
Multiplayer: no
Download Link: http://sandbox.yoyog...9662-robocrates
External files used: The bot comes with a bot_vocab.ini file which contains a list of things Robocrates might say (which is also a history of things said to Robocrates). Feel free to modify or even delete this file, but modifying may lead to bugs/error messages. The user_likes.ini contains a list of things you like; it can be deleted without any bugs/errors.
Screenshots: (more available in the download link)
Posted Image

Edited by eyeballs, 21 December 2012 - 01:43 AM.

  • 0

#2 The Black Dragon

The Black Dragon

    Remake

  • GMC:Member
  • 183 posts
  • Version:GM8

Posted 18 June 2012 - 01:10 AM

I like it,The robot is very impressive!!
It's like a conversation with another person.
he's very realistic.

#3 Neon00

Neon00

    Alpha Games Owner

  • GMC Member
  • 98 posts
  • Version:GM8

Posted 18 June 2012 - 01:29 AM

Why not make the robot say "Good, you?" when you ask how he is. Then when you answer make him say "lets talk about something interesting" which makes it seem more realistic.
  • 0

#4 eyeballs

eyeballs

    GMC Member

  • GMC Member
  • 35 posts
  • Version:GM:Studio

Posted 18 June 2012 - 01:59 AM

Thanks for the feedback y'all!

Neon00, I will update my "how are you" code to be a little more interactive, like you're talking about.
  • 0

#5 speedchuck

speedchuck

    Because why not?

  • GMC Member
  • 383 posts
  • Version:GM8.1

Posted 18 June 2012 - 04:23 AM

Keep this up, and keep the code small, and this could be great in games for NPC interaction. That's the first thing that comes to mind, anyways. Good work! :thumbsup:
The bot is a bit random sometimes...
  • 0

#6 LazicfulLazi

LazicfulLazi

    GMC Member

  • GMC Member
  • 107 posts
  • Version:GM8

Posted 20 July 2012 - 06:23 PM

Hey bro, how do you tokenize words
  • 0

#7 chance

chance

    GMC Member

  • Reviewer
  • 5842 posts
  • Version:GM:Studio

Posted 21 July 2012 - 01:19 PM

Robot: nope
Robot: the question you asked
Robot: ok, jeez
Robot: not really
Robot: Hello again, Jesse! Good to# see you again!
Robot: Turn it off
Robot: i gotta go

That's my chatlog. The chatbot doesn't "listen" to my comments before responding. It just types continuous random comments on its own, regardless of my questions.

Do you make any effort to interpret what the player types? Or is this just a list of canned responses?

Edited by chance, 21 July 2012 - 01:22 PM.

  • 0

#8 eyeballs

eyeballs

    GMC Member

  • GMC Member
  • 35 posts
  • Version:GM:Studio

Posted 22 July 2012 - 11:25 PM

Hey bro, how do you tokenize words

What do you mean? Can you be more specific? Do you mean, how do I make key words that the chatbot responds to?


Robot: nope
Robot: the question you asked
Robot: ok, jeez
Robot: not really
Robot: Hello again, Jesse! Good to# see you again!
Robot: Turn it off
Robot: i gotta go

That's my chatlog. The chatbot doesn't "listen" to my comments before responding. It just types continuous random comments on its own, regardless of my questions.

Do you make any effort to interpret what the player types? Or is this just a list of canned responses?

The response "Hello again, Jesse!..." should not be there, unless maybe "Jesse" was still your username. But even still, I consider it a bug, and thank you for sharing, chance!

To your question about "listening" and interpreting:
Well yes, there is an effort to respond to input, but it is very minimal. He only (intelligently) responds to questions, greetings, if you like something, and if you want him to stop talking. The rest is random responses. If you don't say anything, he's just going to spit out random responses from his list (bot_vocab.ini).
(Maybe I should make a mode where he only gives one or two responses per input?)

Does the bot listen to you? No. And when it seems like it does, it's just a gimmick. Unfortunately, I can't make a program "think" or "listen". Really the best I can do (for now) is to trick the user into believing they are having a real conversation.

Could you post some more of your chat log? In particular where you asked a question, and he disregarded your question? Did he say something like "That's a question you should ask your cat." or was it completely un-related?
  • 0

#9 slayer 64

slayer 64

    GMC Member

  • GMC Member
  • 3300 posts
  • Version:GM8.1

Posted 23 July 2012 - 12:59 AM

i don't really like this bot. it said dirty things to me
  • 0

#10 LazicfulLazi

LazicfulLazi

    GMC Member

  • GMC Member
  • 107 posts
  • Version:GM8

Posted 23 July 2012 - 05:28 PM

Kind of.
How do you make the bot see that in the type sentence the word "kill" is involved?

Like if the player has "peter" in his sentence, the bot will reply: "I DUN WANNA TAWK BAUT PETER!"
  • 0

#11 faissialoo

faissialoo

    I get high on orange

  • GMC Member
  • 1044 posts
  • Version:GM8

Posted 23 July 2012 - 06:23 PM

it's ok
  • 0

#12 eyeballs

eyeballs

    GMC Member

  • GMC Member
  • 35 posts
  • Version:GM:Studio

Posted 23 July 2012 - 06:54 PM

i don't really like this bot. it said dirty things to me

lol. Sorry about that! Actually I often feel the same way. Sometimes Robocrates just isn't nice to talk to, or I get bored quickly.

Kind of.
How do you make the bot see that in the type sentence the word "kill" is involved?

Like if the player has "peter" in his sentence, the bot will reply: "I DUN WANNA TAWK BAUT PETER!"

Ha! I like that idea! That's funny. Do you mind if I add a similar response to my bot?
To answer your question:
I use a switch statement
case string_count("hi ",arg0)>0:
arg0 is just the input string
  • 0

#13 LazicfulLazi

LazicfulLazi

    GMC Member

  • GMC Member
  • 107 posts
  • Version:GM8

Posted 23 July 2012 - 07:46 PM


i don't really like this bot. it said dirty things to me

lol. Sorry about that! Actually I often feel the same way. Sometimes Robocrates just isn't nice to talk to, or I get bored quickly.

Kind of.
How do you make the bot see that in the type sentence the word "kill" is involved?

Like if the player has "peter" in his sentence, the bot will reply: "I DUN WANNA TAWK BAUT PETER!"

Ha! I like that idea! That's funny. Do you mind if I add a similar response to my bot?
To answer your question:
I use a switch statement
case string_count("hi ",arg0)>0:
arg0 is just the input string


I've figured it out now. THANKS!
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users