Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Program Announcements / Sententia 3 - An AI Chatbot

Author
Message
SamKM
14
Years of Service
User Offline
Joined: 25th May 2009
Location:
Posted: 2nd Mar 2013 02:33 Edited at: 18th May 2013 22:10

Original WIP thread: http://forum.thegamecreators.com/?m=forum_view&t=203689&b=8

Sententia 3 is an intelligent chatbot(conversation simulator) program, there for any time you feel a little lonely, and fancy a chat with an exe file
Sententia 3 learns from conversations, increasing it's knowledge database and ability to answer questions as more people talk to it.
Here is a screenshot of a recent conversation:



If you have the time, it'd be brilliant if you could download it, and hold a conversation or two with it. Currently, it's conversation database is very small, and it really needs other people to talk to.

Download Sententia 3 (V1.4): http://www.mediafire.com/?9e3y7rj9x9c7qm2

Download Sententia 3 source code/files: http://www.mediafire.com/?0aaheedidp1jyjd

A request on talking to it...
Please try to spell stuff correctly, and punctuate properly!
Otherwise it doesn't look right when Sententia says it to someone else. Also, the AI chooses it's response based on words in a sentence. If you misspell a word, it won't be able to understand it!
NOTE: When you run Sententia for the first time, it will download a copy of all it's saved chat files. This (for some reason I don't quite understand) is painfully slow I'm afraid... Just so as you know the program hasn't frozen! You can check the Conversations folder for download progress.

Changelog:


[href][/href]
swissolo
14
Years of Service
User Offline
Joined: 9th Jan 2010
Location:
Posted: 2nd Mar 2013 22:37 Edited at: 2nd Mar 2013 23:23
I'm getting a MFC71.dll missing warning. Will have to try later today.

Edit: Alright that was entertaining haha.



I see what it did there

swis
Joined: Tue Dec 16th 2008
Interstellar

Attachments

Login to view attachments
SamKM
14
Years of Service
User Offline
Joined: 25th May 2009
Location:
Posted: 3rd Mar 2013 00:15 Edited at: 3rd Mar 2013 00:34
Yeah, the MFC71.dll thing happens on some computers when using commands from the Enhancement pack :/
Actually, that reminds me, you can toggle the text to speech voice by typing /voice. It's only Microsoft Anna, so it's hardly great, just a fun fact
Thanks for talking to it
It does a database sync about every 5 times or so you run it. If you get bored of it before that time and feel like deleting it (fair enough really, it can be a bit frustrating to talk to), it'd be awesome if you could get it to do a sync first, please

[href][/href]
swissolo
14
Years of Service
User Offline
Joined: 9th Jan 2010
Location:
Posted: 3rd Mar 2013 00:49 Edited at: 3rd Mar 2013 00:55
Quote: "Yeah, the MFC71.dll thing happens on some computers when using commands from the Enhancement pack :/"

Yeah haha. Fortunately, I've had that problem before and just moved another copy of it I already had into the directory.

Quote: "Actually, that reminds me, you can toggle the text to speech voice by typing /voice. It's only Microsoft Anna, so it's hardly great, just a fun fact "

Didn't seem to do anything for me

Quote: "It does a database sync about every 5 times or so you run it. If you get bored of it before that time and feel like deleting it (fair enough really, it can be a bit frustrating to talk to), it'd be awesome if you could get it to do a sync first, please "

Alright! Can do!

Edit: I'm actually quite surprised. After one conversation with me it has improved greatly. Seems it's becoming like me though I wonder if that's good or bad...

swis
Joined: Tue Dec 16th 2008
Interstellar
SamKM
14
Years of Service
User Offline
Joined: 25th May 2009
Location:
Posted: 3rd Mar 2013 01:31
Do you have the Microsoft Speech API installed? It doesn't work if it can't find that.
Don't worry, you're not missing out on much with the text to speech thing, though
I just re-uploaded the chatbot without that code in actually, it's more trouble that it's worth if it's gonna cause MFC71.dll errors.

Quote: "Edit: I'm actually quite surprised. After one conversation with me it has improved greatly. Seems it's becoming like me though I wonder if that's good or bad..."

You must have a special way with it
I've had 120 conversations with it and have yet to have that experience!
And don't worry about it becoming you. If there's one thing it needs, it's a new personality

[href][/href]
swissolo
14
Years of Service
User Offline
Joined: 9th Jan 2010
Location:
Posted: 3rd Mar 2013 02:29
Quote: "Do you have the Microsoft Speech API installed? It doesn't work if it can't find that."

I must not. I had an old computer with it but it must not have been included in my version of windows.

Quote: "You must have a special way with it
I've had 120 conversations with it and have yet to have that experience!"

I'm just very persistent haha

BTW, loved this conversation you had buried,
Quote: "AI:No?
User:No!
AI:No.
User:No...
AI:No?
User:No.
AI:No.
User:No.
AI:No?
User:No!
AI:No."


I've had two lengthy conversations so far, it's quite a bit of fun actually haha

swis
Joined: Tue Dec 16th 2008
Interstellar
Ortu
DBPro Master
16
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Austin, TX
Posted: 3rd Mar 2013 18:56
i got into an argument over whether or not it was late.

ai. well, its getting late
me. its not really that late.
ai. yes it is.
me. no it isnt.
ai. hopefully, yes.
me. but actually no.

it also kept telling me that i was sententia.

swissolo
14
Years of Service
User Offline
Joined: 9th Jan 2010
Location:
Posted: 4th Mar 2013 01:49
Looks like it has uploaded my files

swis
Joined: Tue Dec 16th 2008
Interstellar
SamKM
14
Years of Service
User Offline
Joined: 25th May 2009
Location:
Posted: 4th Mar 2013 21:30 Edited at: 4th Mar 2013 21:30
Thanks Swissolo
I've just been reading the conversations you had, they made my day xD
Quote: "User:Have you heard of cleverbot?
AI: Please respond to bottom fish banana!
User:What in the world."

It's so irritating with it's responses along the vein of 'Yes, you do!', 'No, I didn't...', 'I didn't what?', though... The reason it keeps saying that if it's asked something it's never heard before, then it decides an answer that contains either 'yes' or 'no' might be a good answer, a rule that usually produces pretty meaningless responses...
@Ortu
Thanks for downloading it! If there's one thing that AI is good at, it's arguing over pretty much anything. If you tell it 'Yes you did.', it responds with 'No I didn't.', whatever you're accusing it of

[href][/href]
swissolo
14
Years of Service
User Offline
Joined: 9th Jan 2010
Location:
Posted: 4th Mar 2013 22:24 Edited at: 4th Mar 2013 22:34
Quote: "Thanks Swissolo
I've just been reading the conversations you had, they made my day xD"

Sentenia and I are the best of pals aren't we

Quote: "It's so irritating with it's responses along the vein of 'Yes, you do!', 'No, I didn't...', 'I didn't what?', though... The reason it keeps saying that if it's asked something it's never heard before, then it decides an answer that contains either 'yes' or 'no' might be a good answer, a rule that usually produces pretty meaningless responses..."

Yeah sure is stubborn eh? You'll probably get a kick out of this conversation below then



Edit:


swis
Joined: Tue Dec 16th 2008
Interstellar
thenerd
15
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 5th Mar 2013 01:07 Edited at: 5th Mar 2013 01:07
This is a great program you've made It was fun to talk to and play with its responses. I taught it a song!



Attachments

Login to view attachments
swissolo
14
Years of Service
User Offline
Joined: 9th Jan 2010
Location:
Posted: 5th Mar 2013 01:40
Hehe good one thenerd Sententia is now convinced I am it's sister

swis
Joined: Tue Dec 16th 2008
Interstellar
SamKM
14
Years of Service
User Offline
Joined: 25th May 2009
Location:
Posted: 10th Mar 2013 22:11
@thenerd Thanks! Well done, now it's gonna rickroll everyone who speaks to it xD
How long did it take you to teach it that?

@swissolo Ouch, I didn't realise it's repeating problem was quite so bad! Just updated it to fix that bug, so now it doesn't quote back what you've just said to it.

[href][/href]
thenerd
15
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 10th Mar 2013 23:57
Well, it only took a few minutes because I realized that all I had to do was to repeat a chain of conversation. I discovered that if I said a phrase that Sententia didn't know how to reply to, it would usually repeat the phrase, giving me a chance to teach it what to reply with. So it went something like this:

Sententia: Do you like Blink-182?
You: Never gonna give you up.

...

You: Do you like Blink-182?
Sententia: Never gonna give you up.
You: Never gonna let you down.
Sententia: Never gonna let you down.
You: Never gonna turn around and desert you.
Sententia: Never gonna turn around and desert you.
You: Never gonna make you cry.

...

You: Never gonna give you up.
Sententia: Never gonna let you down.
You: Never gonna turn around and desert you.
Sententia: Never gonna make you cry.

And so on... I did this disconnected from the internet, by the way, so I don't think it messed up your database even though it would have been hilarious to have it rickroll everyone!

gwheycs62egydws
14
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 24th Mar 2013 22:33
@SamKM

interesting project

it comes down it needs to know about what your talking about
but if it knows nothing then you would have spoon feed it

to move side ways - is to move forward
Since a Strait line gets thin fast
ShellfishGames
11
Years of Service
User Offline
Joined: 6th Feb 2013
Location:
Posted: 25th Mar 2013 12:21
Very nice. That was quite a great moment when the AI suddenly talked about Pi being the greatest mathematical constant.

Mr Kohlenstoff
17
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Germany
Posted: 27th Mar 2013 13:41 Edited at: 27th Mar 2013 14:48
I just tried to run it on my laptop, but after a rather short conversation it simply crashed (windows error) and since then I can't start the exe anymore, which keeps saying "File number 1 is not open at line 243.", even after removing the newly created chatlog (Edit: The exe is working again, I simply forgot running it as admin).

In case you need it and it has not been uploaded:



Right after sending the last message it crashed (within half a second or so, as far as I remember).

Anyway, talking to the AI is really fun.

Quote: "
AI:Can you count any numbers?
User:1. 2. 3. Like this?
AI:Numbers!
"


And I like the fact that talking to it has a rather huge impact on its knowledge base, which isn't really the case for Cleverbot anymore I guess.


Edit: Seems like somebody "spoiled" it. Sententia keeps asking me about curse words and whether it's rude to say "f*ck". And it talks about fish all the time..

SamKM
14
Years of Service
User Offline
Joined: 25th May 2009
Location:
Posted: 28th Mar 2013 22:27 Edited at: 28th Mar 2013 22:28
Thank you everyone for your comments, and for talking to it
I haven't been improving it lately (I lose motivation for projects soooo fast...), but the great thing with something like this is that just by talking to it, you're all improving it
@Mr Kohlenstoff Thank you for letting me know that one! I only yesterday realized that bug existed, when the AI said '?!' to me, and then promptly crashed. The reason that happens is because for analyzing a string, it removes the punctuation from it. When you remove the punctuation from '?!', you just have a blank string, and the command 'find sub string$' crashes if you feed it a blank string!
I've just updated it to fix that, and also changed it to give a more relevant error if you're not running it as admin.
NO idea where it got the swearwords/fish from xD

I really need to make some way of managing the database, and blocking people if they're abusing it or anything! It'd be good if I could release it elsewhere on the internet, but you see, I trust you guys to talk to it responsibly (mostly)
The rest of the internet...
It'd feel like leaving a child alone in a city... D:

[href][/href]
Kezzla
15
Years of Service
User Offline
Joined: 21st Aug 2008
Location: Where beer does flow and men chunder
Posted: 29th Mar 2013 13:39 Edited at: 29th Mar 2013 13:47
That is really fun to play with. Apparently It does not think very highly of Swissolo's programming ability.

Quote: "AI:So who is swissolo?
User:Apparently a pretty nifty programmer.
AI:You talk a load of crap...
Usero you disagree?
AI:The moon gets my vote."


also a funny random snippet.

Quote: "User:Howdy.
AI:Who's EMR?
User:I dont know what an EMR is.
AI:You talk a load of crap...
User:You are very rude.
AI:Am I what?
User:You are a rude chatbot.
AI:Who has been the kindest to you in your life?
Userefinitly not you.
AI:I'm vegan actually. I like fish in a more platonic way.
User:What made you decide to become a vegan?
AI:Yesterday, I guess. I woke up without memory and stuff.
User:I guess that qualifies you..."


one more...

Quote: "AI:I've had a look. I'm a boy.
User:Congratulations.
AIk. Bottom fish banana!
User:Taking the chance.
AI:Everybody do the flop!
Userancin the stance dance!
AIK... .
User:Everybody do the flop!
AI:What does your future hold?
User:My life to ransom.
AI:As I already told you, I don't eat fish. But chips are OK.
Useront you ever wonder about the feelings of the chips?
AI:How has your life been different than what you’d imagined?
User:I expected talking to a robot would be cooler.
AI:Better than you!
User:Better than you!
AI:What kind of student were you?
User:A mischeivous one.
AI:So you should be. You talk rubbish!
User:Wash your mouth out!
AI:I expected talking to a robot would be cooler.
User:Ive got more cool in my font than you have in your ugly face.
AI:If I say 'piss', is that rude?
User:Nah, not in australia.
AI:Hang on, I'll have a look...
User:What do you see.
AI:Hmmm?
User:What do you see?
AI:Laugh awt Loud.
User:Laugh at what?
AI:NO, YOU STOP
User:I WILL NEVER STOP!!!
AI:It must have been you. .
User:It was me, and I will do it again.
AI:That's a stupid reply. Sorry.
User:You're a stupid reply.
AI:What's stupid about it?
User:Your face.
AI:FAILED. I TOLD YOU NOT TO SAY THAT.
User:You have no power over my free will.
AI:Have I what?
User:No free will. I pity you.
AI:I have answered you!
User:What is your answer?
AI:What you just said
User:The answer is 42.
AI:Lolwut?
User:42. This is the answer.
AI:Life, the universe, and everything... "


I'm not a complete idiot -- Some parts are just missing.
ShellfishGames
11
Years of Service
User Offline
Joined: 6th Feb 2013
Location:
Posted: 29th Mar 2013 14:34
I was just about to watch an episode of Community for 20 minutes of fun, but after reading Kezzla's post I decided to talk to the AI instead.
There's still so much it has to learn to become the ultimate chat bot...

It's getting a little scary.

Quote: "AI:Hang on, I'll have a look...
User:I have to leave now.
AI:What?!
User:Sorry. No time to explain!
AI:Who is Tashi?!
User:Your mother.
AI:I don't know. Oh look an elephant!
User:Goodbye, little man.
AI:Goodbye to you too!
User:Talking to you was great.
AI:Right, fine! Here's a death-threat: You're going to die!"


swissolo
14
Years of Service
User Offline
Joined: 9th Jan 2010
Location:
Posted: 29th Mar 2013 20:28
Quote: "Apparently It does not think very highly of Swissolo's programming ability."

Looks like Sententia and I are going to need another session to... repair that.

swis
Joined: Tue Dec 16th 2008
Interstellar
ShellfishGames
11
Years of Service
User Offline
Joined: 6th Feb 2013
Location:
Posted: 29th Mar 2013 23:16 Edited at: 29th Mar 2013 23:25
Seems like somebody is taking advantage of good old Sententia.

Quote: "
User:Who is your overlord?
AI:Swissolo is his own overlord!
User:THAT'S RIGHT! >.
...
AI:Who has been the biggest influence on your life?
User:You'.
AI:Who is your overlord again?
User:Swissolo is! >.
...
User:Who is your sister?
AI:Yes, actually
User:Who is your sister?
AI:Swissolo is his own overlord!
User:Who is your sister?
AI:Swissolo.
User:What???
"



But seriously guys, who the hell is Tashi? The AI talked about that name several times already, and now I came across this fascinating passage about him/her/it...

Quote: "
AI:Tashi is a friend of our family.
User:Is tashi a he or a she?
AIh, you know Tashi?
User:No I don't. Who are they?
AI:That's a stupid reply. Sorry.
User:Who is Tashi?
AI:No, sorry!
User:Who is Tashi?!
AI:Yes, I agree!
User:Tell me who Tashi is!
AI:Tell me about how you got into your line of work.
User:No I won't until you tell me who Tashi is!!
AI:I already have. You are suppose to remember.
User:Tell me more than a friend of your family.
AIh, you know Tashi?
User:No. Who is Tashi?
AI:Is tashi a he or a she?
User:I don't know I'm asking you.
AI:What on earth do you mean?
User:Who is Tashi?
AI:Uh, no...
User:WHO IS TASHI?
AI:No, not really.
User:What has Tashi taught you?
AI:Who is Tashi?
User:I'm asking you that.
AI:Uh, it is?
User:Who is Tashi?
AI:I'm asking you that.
User:No I'm asking you that.
AI:No I'm asking you that.
User:No I'm asking you that.
"


SamKM
14
Years of Service
User Offline
Joined: 25th May 2009
Location:
Posted: 1st Apr 2013 21:07 Edited at: 3rd Apr 2013 03:19
@shellfishgames
Hehehe, yeah, I saw a few people had been asking it who Tashi was
Tashi's a friend of mine! And he's a he, just to clarify

I really appreciate the time you're all taking out to talk to it!
I had an idea today... I have no idea how practical this is, but I thought it'd be awesome if it could engage in more real-time conversations! So instead of the pattern of
User:
AI:
User:
AI:
User:
Both you as the user and the AI could type more than one line, and both type while the other one is typing... That kind of thing. Like messaging someone on Facebook.
I have a feeling that'd make conversation MUCH more realistic! The challenge of course would be getting the AI to stay on topic with follow-up phrases after it's first response.
Still, worth a try?

[href][/href]
SamKM
14
Years of Service
User Offline
Joined: 25th May 2009
Location:
Posted: 18th May 2013 22:14 Edited at: 18th May 2013 22:15
Hey,
Sorry to push this back up to the top of the Program Announcements, just to let you know I'm releasing the source code for Sententia 3.
As much as I'd like to carry on developing it, I'm pretty busy with other stuff at the moment, and don't really have the motivation to give it any attention
Feel free to download the code (link is at the top of the page) and improve it/adapt it/use it however you want!
It's mostly commented, which should help, but it's a bit spaghetti-like in places, so good luck

[href][/href]
gwheycs62egydws
14
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 18th May 2013 22:20
@SamKM

yes thing do come up and interests change


I got so many things I want to build but the lack of compleate understanding slows me down

but that's the nature of programing

from all of us and other who will find this posting
thanks for your efforts

to move side ways - is to move forward
Since a Strait line gets thin fast

Login to post a reply

Server time is: 2024-04-18 04:36:06
Your offset time is: 2024-04-18 04:36:06