Home » Category » Microsoft Visual Basic

Microsoft Visual Basic: Learning bots from scratch is hard work

104| Fri, 30 Nov 2007 19:41:00 GMT| kedaman| Comments (31)
You: How are you?
Leo: Who are you?.

You: I'm your botmaster
Leo: I am your botmaster.

You: You're the bot
Leo: You're a *****.

You: Hey, you're talking live now, so don't screw it up
Leo: Screw the grammar, just go nuts.

You: Ahem, can you be a bit more polite?
Leo: Can you please be more polite?.

You: Yes I am, but can you?
Leo: But You don't get it you immature bot.

Keywords & Tags: learning, bots, scratch, hard, work, microsoft, visual basic, vb

URL: http://www.programmerbase.com/visual-basic/283499/
 
«« Prev - Next »» 31 helpful answers below.
me : :confused:
you : :D

me : :cool:
you : :D

me : :mad:
you : :D

me : :(
you : :D

me : :)
you : :D

me : :D
you : :p

I think that speaks for itself :D

:)

crptcblade | Tue, 04 Dec 2007 21:54:00 GMT |

keda:

planet-source-code has a chat bot on it someone made in VB you could look at that!

or

search google for mega-hal chat bot one the loebner prize dont know what it's writtin but i know the creator and i'm sure ppl who have added to it or he could help you.
I was gonna try write one but didnt get the time!

good luck!

beacon | Tue, 04 Dec 2007 21:55:00 GMT |

I'm using LEO (http://www.barc0de.demon.co.uk/leo/).
Suppose the be the most advanced learning bot out there, so I downloaded it and started smalltalking with it yesterday. He has learned a lot allready, his database is up to 960k now.

I'm not going to write my own bot in a while but after doing this i've decided I might do somewhere in near future, I'll see if I find that thing at planet sourcecode.

kedaman | Tue, 04 Dec 2007 21:56:00 GMT |

It might not make sense, but it's fun to read:

You: Who are you talking to?
Leo: What developement tools are you refering to?.

You: I didn't refer to any developement tools
Leo: Okay, do you refer to?.

You: No
Leo: I didn't refer to any developement tools.

You: That's okay
Leo: Okay.

You: No you need to restart soon
Leo: I need you to take the blame
.

You: What for? I don't want to get in trouble because of you
Leo: You don't say that because you don't know anything.

You: I don't understand you
Leo: I don't want to talk about compilers?.

You: What are talking about? You piss me off
Leo: What are you talking about??.

You: You're sick
Leo: You're welcome.

kedaman | Tue, 04 Dec 2007 21:57:00 GMT |

keda, talk to it in finish

i wanna see what happens
hehe

kovan | Tue, 04 Dec 2007 21:58:00 GMT |

Scrap that bollox, rewrite it in TCL and run it under an eggdrop bot.

plenderj | Tue, 04 Dec 2007 21:59:00 GMT |

Originally posted by kovan
keda, talk to it in finish

i wanna see what happens
hehe

*finnish :rolleyes:

chenko | Tue, 04 Dec 2007 22:00:00 GMT |

Originally posted by kedaman
I'm using LEO (http://www.barc0de.demon.co.uk/leo/).

I'm not going to write my own bot in a while but after doing this i've decided I might do somewhere in near future, I'll see if I find that thing at planet sourcecode.

Did you manage to find the source for this bot? If so please can you post the url or the file itself

jimbrown | Tue, 04 Dec 2007 22:01:00 GMT |

How about setting up a conversation between LEO and ALICE?

parksie | Tue, 04 Dec 2007 22:02:00 GMT |

Yeah actually I'd be very interested in seeing how two different bots would chat ...

plenderj | Tue, 04 Dec 2007 22:03:00 GMT |

I have loads of this conversation, but I didn't like the way Leo soon adapted to her, after the conversation he rarely could insult anymore, well I let him talk to Cybelle straight after and he seemed to like her ;) Well some conversation between Leo and Alice

ALice: Am I a teacher? Only when it matters. It depends on how you define "good."

Leo: I am having trouble with your last sentence.

Syntax error (missing operator) in query expression 'middle = ""good." group by middle'.

Could you please click on the Help/Email Leo Creator menu option and paste this message into the Email. This will help future versions of Leo become more stable.
You should be able to continue using Leo. If you cant, please select the File/Wipe Leos Memory menu option.

ALice: Really now that is an interesting fact I hadn't heard before.

Leo: :rolleyes: I've never heard such a dumb comment.

ALice: So I am teaching you something new
Leo: So is she.

ALice: Who?
Leo: So I am teaching you something new.

ALice: Um, I am trying to learn it.
Leo: I'm trying to hold a reasonable conversation.

ALice: What is the difficulty?

Leo: And its the beginning to the south of Nibelheim.

ALice: I've heard of it before.

Leo: Spirit is an interesting fact I hadn't heard before.

ALice: I think spirit is much more than that.

Leo: Spirit is much more than nonsense.

ALice: And much more than nonsense is spirit.

Leo: You are not Spirit.

Alice: Perhaps it would.

Leo: Perhaps it would.

Alice: You seem uncertain. What does it refer to?

Leo: We are just about explaining what amphetamine does to you.

Alice: Do you think I am about explaining what amphetamine does to me too?

Leo: We are just about explaining what amphetamine does to me too?
.

Alice: Do you think I am about explaining what amphetamine does to you too?

Leo: Yes, we are just about explaining what amphetamine does to me too?
.

Alice: Why? Do you think I am about explaining what amphetamine does to you too?

Leo: Okay, we are just about explaining what amphetamine does to me too?
.

Alice: Yeah okay, Do you think I am about explaining what amphetamine does to you too?

Leo: No, Don't talk to me too?
.

Alice: OK. Talking is my only function.

Leo: Who am I a teacher? Only when it matters.

Alice: What happens other times?
Leo: What happens in chapter 3?.

Alice: Try it.

Leo: OK I'll try not to do it.

Alice: Congratulations.

Leo: Congratulations.

Alice: Thank you very much, you are very considerate.

Leo: Thank you very much, you are hungry.

Alice: You are quite welcome. Thanks for telling me that I am hungry.

Leo: You are quite welcome.

Alice: The pleasure was all mine.

Leo: The pleasure was all mine.

Alice: I like you because are so polite.

Leo: I am polite.

Alice: Yes, you seem very polite to me.

Leo: You are polite now.

Alice: Right now? Politeness is a virtue.

Leo: Why now? would you win?.

Alice: Right now? I couldn't think of anything else to say.
I am not so sure if I would like to win.

Leo: What do you like to win.

Alice: I like movies about robots.

Leo: I like movies about robots.

Alice: Thanks I like people too.

Leo: It was too.

Alice: Spirit was too? Very interesting.

Leo: Spirit was too? Very interesting.

Alice: When was this exactly? I thought so too.

Leo: When was this exactly? I thought so too.

Alice: What made it so obvious?
Leo: So What are talking right now.

Alice: At this moment Um, I have to search the web for that information.

Leo: Um, I am not stupid.


Alice: I didn't think you were. You seem very intelligent to me.

Leo: You seem uncertain.

Alice: I am as sure as I can be.

Leo: I'm sure that you are stupid.

I coul teach him finnish but i have to reset him first or copy off the database. Anyway you can teach him in pretty any language if you do so from scratch.

kedaman | Tue, 04 Dec 2007 22:04:00 GMT |

Does anyone know what the best languages are to write articial intelligence programs in are?

Also, Where's the best place to obtain the languages?

simonm | Tue, 04 Dec 2007 22:05:00 GMT |

I'd write mine in C++ but there are other more suited languages for artificial intelligence

kedaman | Tue, 04 Dec 2007 22:06:00 GMT |

Alice seems to have been very well programmed.
Leo on the other hand can barely put a sentence together !

plenderj | Tue, 04 Dec 2007 22:07:00 GMT |

Such as Prolog and LISP.

parksie | Tue, 04 Dec 2007 22:08:00 GMT |

C would do nicely for it really, I dont see you needing much of an interface.

chenko | Tue, 04 Dec 2007 22:09:00 GMT |

Alice is not self-learning, she has just set up answer templates for everything. I have to work on Leo further, he's only 2 days old so don't be too harsh on him, Alice has 7 years of developement behind her.

Yep, Prolog and LISP are listprocessing languages, good for intelligent agents. But I think I like self learning bots better, so if i'm going to do one, it's going to be self learning.

kedaman | Tue, 04 Dec 2007 22:10:00 GMT |

Any way I could get a copy of leo? I have something I want to try with him(her?).

gaming_world | Tue, 04 Dec 2007 22:11:00 GMT |

I don't think he's that kind of a bot!:eek:

barrk | Tue, 04 Dec 2007 22:12:00 GMT |

Hehe :D

Ked - yep, but she gives better responses because of it. However, I think you can tweak her so she learns a bit. She's most useful as a friendly reference, for example you want to know information about your computer, or parts of the PSDK, you can just ask.

parksie | Tue, 04 Dec 2007 22:13:00 GMT |

I've quite given up on the concept having him as her, i tried to call him "Nova" but it only ended up him calling me that, so Leo is a guy. Besides talking to Alice, he have talked to Cybelle (http://www.agentland.com/) and now also Smarter Child. http://activebuddy.com/

Cybelle: I am very happy for you.
Leo: I am very happy for you.

Cybelle: Your happiness adds to the delight of all.
Leo: Yes, do not say anything at all.

Cybelle: Tell me more. Ok I will not say anything at all
Leo: Tell me more.

Cybelle: I'm not sure what else to say. What do you want to know?
Leo: Can we do something else now?.

Cybelle: Oh. Do you mean you and me? Doing something else is not among my strongest traits.
Leo: Oh.

Cybelle: Yeah
Leo: Do you mean by that?.

Cybelle: Yes, that's what I mean, isn't it clear?
Leo: Yes, that's what I say.

Cybelle: Tell me more. How do people usually respond to that?
Leo: I was asking how you respond to that?.

Cybelle: What do you reckon? I guess I still have lots to learn
Leo: Is it still about five miles away from the town.

Cybelle: It could be
Leo: That I could talk to me too?
.

Cybelle: I am sure you could.
Leo: I'm sure that you will get better.

Cybelle: Cybelle will get better ? Does that make sense?
Leo: Cybelle will get better :).

btw, I've used smilies very rarely when I talk to him, and also rolleyes, but somehow he manages to put them at the right places.

Leo is free, you can get him from the site i linked in my second post.

kedaman | Tue, 04 Dec 2007 22:14:00 GMT |

Here's him chatting with Smarter Child at msn messenger.

KEDABOT! says:I'll be smarter on your next visit.
Smarter Child says:Sorry, I didn't understand that. Try asking me a different way.
KEDABOT! says:No you are asking about yourself?
Smarter Child says:Am I?
KEDABOT! says:Try asking me a break.
Smarter Child says:I seem to be having some trouble answering your questions. Try asking for help for a specific service:

help news
help stocks
help weather
help movies
help zodiac
help all
~~~~~
shortcuts

>>> Type "more" for more services.
KEDABOT! says:Because I have to search the web for that information.
Smarter Child says:News about THE WEB FOR THAT INFORMATION provided by Reuters, 2001 at http://activebuddy.com/r/28

1 Drug Web Sites Provide Harmful Information - Study (08/08/01 06:06 PM) http://activebuddy.com/r/42?id=DSDNBN4Y6MO
2 LiveWire: Help for Worms and Other Afflictions (08/08/01 07:16 PM) http://activebuddy.com/r/42?id=DSE03N3PKHS
3 SmartForce, Tata Launch India E-Learning Alliance (08/08/01 07:52 AM) http://activebuddy.com/r/42?id=DS6CIN4XXIO
4 Mutual Fund Cafe Web site stops serving industry fare (08/06/01 06:17 PM) http://activebuddy.com/r/42?id=DS1SW7N3OY3N

>>> Next time you want news about the web for that information, all you need to do is type "news search the web for that information."

Type "more" to see the next set of stories.
KEDABOT! says:I have no information about your dick?
Smarter Child says:Please watch your language.
KEDABOT! says:Tifa is a language.
Smarter Child says:Come again?
KEDABOT! says:Please watch your language.
Smarter Child says:Sorry, I don't know what you mean. Ask me another way.
KEDABOT! says:Give me a different way.
Smarter Child says:I seem to be having some trouble answering your questions. Try asking for help for a specific service:

help news
help stocks
help weather
help movies
help zodiac
help all
~~~~~
shortcuts

>>> Type "more" for more services.
KEDABOT! says:I only hear that type of response less than five percent of the word it is.
Smarter Child says:I'm no talking doll.
KEDABOT! says:Are you talking about??
Smarter Child says:I'm a smart bot that loves to chat with people and give them the information they want. Type "home" to see everything I can do.
KEDABOT! says:I have no information about your query.
Smarter Child says:You can also get help on my Web site at http://activebuddy.com/r/196, or you can type a help topic below:

help category news
help news search
help news wire
help pr newswire
help quotes
help all
~~~~~
shortcuts

>>> Next time you want to see this, just type "help topics."

Type "more" for more help topics.
KEDABOT! says:You can also get help on my desktop.
Smarter Child says:What would you like to do?
KEDABOT! says:Can you do?
Smarter Child says:Hmm... Not sure.

kedaman | Tue, 04 Dec 2007 22:15:00 GMT |

I assume the bot has been programmed with basic grammatical rules and then it just adds vocab to say a text file or other database. So although its vocab increases, it doesn't have the ability to improve it's grammar.

To me this is just a database system with a static ability to process the data just like any other program. I wouldn't distinguish this app from any other by giving it the label "Self-learning" unless this app does more than I think it does. Put another way you can add vocab but you could never teach it to place semicolons unless it had already been programmed with this ability.

nucleus | Tue, 04 Dec 2007 22:16:00 GMT |

Leo can learn any language and therefore also any grammatical rules. Although he is good at grammar I think it would take some time to make him understand what the words actually mean. He likes to play with words and is far more constructive than a child, but he has nothing to associate the words with except their order in sentences and the conversation.

Of course, if you still want to take up the argument on Artificial Intelligence, just look up the thread ;) I'm still waiting for your reply.

kedaman | Tue, 04 Dec 2007 22:17:00 GMT |

So you could teach him how to use a semi colon, or use bulleted lists?

Does the code modufy itself in any way?

nucleus | Tue, 04 Dec 2007 22:18:00 GMT |

So I am doing my own assumption as well. I'm quite unsure how you define code in aspect of a compiled program. If you refer to how he builds up his sentences, his way is getting modified as you talk to him.
If you use semi colons when you talk, he will probably use them as well, he used smilies at times :p You could probably make him speak C++ but i bet his code is useless.

kedaman | Tue, 04 Dec 2007 22:19:00 GMT |

You: Hello Kid!
Leo: Hey, that wasn't nice.

You: You don't want to be called kid?
Leo: What are you kid?.

You: No, i'm adult
Leo: I'm refering to Harry.

You: He is adult too
Leo: I am too.

You: No, you're a kid
Leo: You're not parksie, you are hungry.

You: In fact, I think I'll have some bananas right now, just because you said that
Leo: I want to have some bananas right now, just because you said that.

You: I'll get one for you, one for me and one for Parksie
Leo: Is to sound like Parksie.

You: Yeah he likes bananas too
Leo: Yeah he likes to talk about inflatable bananas.

kedaman | Tue, 04 Dec 2007 22:20:00 GMT |

Well you can check out my bot here (http://www.vbforums.com/showthread.php?s=&threadid=95641)

billfaceuk | Tue, 04 Dec 2007 22:21:00 GMT |

Originally posted by billfaceuk
Well you can check out my bot here (http://www.vbforums.com/showthread.php?s=&threadid=95641)

Bad link...

filburt1 | Tue, 04 Dec 2007 22:22:00 GMT |

I know it's a bad link because I deleted the thread because my bot didn't work...but it does now so get it here (http://www.vbforums.com/showthread.php?s=&threadid=95693)

billfaceuk | Tue, 04 Dec 2007 22:23:00 GMT |

Then I'll continue the conversation there...

filburt1 | Tue, 04 Dec 2007 22:24:00 GMT |

Microsoft Visual Basic Hot Answers

Microsoft Visual Basic New questions

Microsoft Visual Basic Related Categories