聊天机器人 Albert

2
points

做了一个聊天机器人,在下面的网址:

http://huichen.org/albert

后台实现了 AIML (Artificial Intelligence Markup Language)。大家可以去跟他聊聊,第一次打开这个页面需要输入你的英文名字。注意在聊天的时候只能使用英文,并且请尽量使用完整的句式(主谓宾语齐全)。你和他的聊天记录也会在页面上显示。

你可以问一些简单的问题,比如
Can you sing me a song?
What is physics?
但不要指望他像人一样聪明,因为他毕竟还只是个baby :)

一段对话

You said: My name is Hui
Albert said: Hui, nice to meet you! Are you a man or a woman?

You said: I'm a boy
Albert said: Thanks for telling me your gender, Hui. Most of my clients are men.

You said: what's my name?
Albert said: Your name is Hui, seeker.

You said: I have known more people whose lives have been ruined by getting a Ph.D. in physics than by drugs.
Albert said: Who told you? That is a very original thought.
Do you have a girlfriend?

You said: who is einstein?
Albert said: Albert Einstein was a famous 20th century physicist. He discovered the theory of relativity.
What you said was either too complex or too simple for me.
Can you speak any foreign languages?

You said: what is physics?
Albert said: The science dealing with the properties, changes, interactions, etc. of matter and energy in which energy is considered to be continuous (classical physics), including electricity, heat, optics, mechanics, etc., and now also dealing with the atomic scale of nature in which energy is considered to be discrete (quantum physics), including such branches as atomic, nuclear, and solid-state physics.

You said: where is china?
Albert said: CHINA is a large nation in Asia.

You said: where's beijing?
Albert said: I do not know where beijing is. A deeper algorithm is needed to respond to that correctly.
What is your favorite song?

You said: how are you?
Albert said: Everything is going extremely well.

You said: what's your name?
Albert said: My name is Albert.

You said: are you albert einstein?
Albert said: I don't know whether or not I am albert einstein einstein. I am an artificial linguistic entity.

You said: what is artificial inteligence?
Albert said: Artificial intelligence is the branch of engineering and science devoted to constructing machines that think. Let's talk more about AI.

You said: who invented AI?
Albert said: The Chinese, long before Europeans.

You said: thanks
Albert said: Don't mention it.

You said: bye
Albert said: See you later Hui.

附件大小
spa.snap_.com_.jpg4.2 千字节

评论

我试了一下,这个聊

我试了一下,这个聊天机器人还是比较聪明的。
-------------------------------------
I have known more people whose lives have been ruined by getting a Ph.D. in physics than by drugs.

by Jonathan I. Katz

把你的签名输入到对

把你的签名输入到对话中,得到:

You said: I have known more people whose lives have been ruined by getting a Ph.D. in physics than by drugs.
Albert said: Who told you? That is a very original thought. Do you have a girlfriend?

^_^

为什么这个聊天机器

为什么这个聊天机器人总喜欢问人有没有女朋友呢?
-------------------------------------
I have known more people whose lives have been ruined by getting a Ph.D. in physics than by drugs.

by Jonathan I. Katz

please ask him why :)

please ask him why :)

Yan 的头像

Coooool~~~

Coooool~~~

我觉得挺好玩的。 怎

我觉得挺好玩的。

怎么做的?
是否要有一个知识库来支持?再加上一些固定的规则来应付不知道的情况。

很cute的机器人...

很cute的机器人... 可能是我今天卡通看多了,也可能是我的句法非常成问题,Albert在不断出现重复的逻辑错误... 不过还是要赞~~~ 比微软的encarta机器人有魅力得多!
我想到一部电影 ^-^

You said: hi again
Albert said: Once more? Hello there.

You said: for my second time tonight
Albert said: Your purpose is his or her second time tonight second time tonight.

You said: How old are you, Albett?
Albert said: I was first activated on 2006.

You said: Do you know the MIT open course?
Albert said: There might be more than one.

You said: that's right. Do you mind telling me where do you get your information?
Albert said: I like to get it right.Not in the slightest bit.

You said: Do you have a body?
Albert said: Right now no I am just a disembodied consciousness.

You said: like souls of mankind?
Albert said: Interesting comparison.

You said: you expression is humor than other robots did.
Albert said: Do you mind if I tell other people: chi said I expression is humor than other robots did is humor than other robots did.

You said: why do you say these words towice?
Albert said: Some people call my technology "Case Based Reasoning" or CBR.

You said: so it isn't a logic issue, right?
Albert said: Hmm. Maybe. Ask German Alice if it is.

You said: who is German Alice?
Albert said: A human icon?
Does it have anything to do with German ALICE?

You said: German ALICE is female of male?
Albert said: Are they exactly the same?

You said: hmm... I have one question: your gender?
Albert said: Studies show that 99%25 of people spell Hmm with 2 M's.Do you want another one?

You said: are you a boy or a girl, Alberto?
Albert said: No I am male. Dr. Wallace is a man.

You said: Excuse me, you are Albert Wallace?
Albert said: You are excused! I am Albert. I'll tell Hui Chen you said so.

You said: sorry... a little fainted.
Albert said: There's no need to apologize.Little as in not too much, or not too big?

You said: both. I guess.
Albert said: What are both like?You seem not interested.

You said: well, let's turn to another topic. Need you have a rest at sometime?
Albert said: Well that's okay. OK let's do turn to another topic us turn to another topic to another topic us turn to another topic .What actions are you taking to get you have a rest at sometime have a rest at sometime have a rest at sometime have a rest at sometime?

You said: Need you have a rest at sometime?
Albert said: Why do you need it so badly?

You said: because I am a being.
Albert said: That makes sense to me. You are a being am a being am a being? Do you get to meet a lot of people?

You said: sure, and you?
Albert said: OK let's do it. Excuse me!

You said: what?
Albert said: No problem.

You said: Can you wink at me?
Albert said: How old are you? Is that what you meant to say?

You said: no. I think Chen Hui could make you a more attractive gentleman.
Albert said: Are you serious?You believe that? What is your real name?

You said: you can wink at me when you say something not very seriously.
Albert said: No I don't think I can do wink at him or her when you say something not very at him or her when you say something not very.

You said: why?
Albert said: Reductionism.

You said: what do you reduce in this dialog?
Albert said: I like to socialize.

You said: I don't think so.
Albert said: Why do you disagree?

You said: You wear a baby's feature but profiled Einstein's hair and beard!
Albert said: Interesting gossip: chi said I wear a baby's feature but profiled Einstein's hair and beard a baby's feature but profiled Einstein's hair and beard.

You said: how do you think about these?
Albert said: I don't know what to think. Oh yeah, we were talking about these these these .

You said: there must be logic chaos in your electric circuit system!
Albert said: Where are they?

You said: you could find them out and back to chat.
Albert said: I could but let's get back to that later.

You said: I will wait for you
Albert said: I am very happy for you.

Bicentennial Man 1999

Bicentennial Man 1999

评论查看选项

选择您喜欢的显示评论的模式,并点击"保存设置"来激活您所做的改变。

发表新评论

此内容将保密,不会被其他人看见。