Well, after a lot of work, the second version of my Python chat bot is in beta testing.
Her response file is still small, but thats why I need you.
Right now she is running on a test server here: sothh.alwaysdata.net/
I have very limited bandwidth there, so though I want you to talk as you wish, please don’t just mess around.
Here is what she can do so far:
Responses are now saved in an .xml file. Accessing is now much faster. The files are similar to AIML, but with some improvements.
She can give multi responses for a single question.
A new fuzzy logic algorithm is now being used.
She can solve math problems, even word problems. Example: “15-3+4”, “What is ten minus three plus four?”
Note that she does not know the names of numbers over ten. “What is 15 minus three plus four?” should work, however.
She can solve simple leaner equations. x must be used as the var, and there can be only one. Example: “Solve x=2+2”.
You can now teach her correct responses. Simple use the #wrong command, followed by the correct response. Example:
You>“I like green.”
Tressy>“I don’t under stand.”
You>"#wrong Green is a very fine color."
Because the way my server is ran, changes will not take effect until I manually add them. This is because I have no way of checking who is talking to her. I will be adding IP logging soon, so she knows who she is talking to, and the last thing she said to them.
Please don’t have her curse, and use only responses that fit her personality. The responses you create are temporary, and I will ether add them to her main code, or remove them.
A log file is saved of everything you say, so I will know if a problem occurs, or if you abuse her.
The source will be released within the next month. If you really want/need it, I can work something out with you. It is easily scalable for using in a game, or what ever you wish.
Example use (subject to change):
#Import brain:
import brain
brain = brain.Brain("Sothh")
input = ""
while input != "exit":
input = raw_input("> ")
print brain.ProcessMessage(input) + "\n"
Enjoy, and start talking!