With the artificial intelligence chat robot Ayu, you can teach the robot knowledge and then ask questions about the knowledge you have taught or the knowledge the robot already knows.
There is too little knowledge in the current knowledge base. Please follow the instructions for use, teach first and ask later. Do not ask directly.
Unique Feature 1: You can teach the robot knowledge and then ask questions about the knowledge you have taught or the knowledge she already knows. And other chatbots, if you ask questions after teaching, they don't know what to ask.
Unique feature 2: Dynamic SQL means splicing different instruction fragments according to different questions to form a program and then execute it. This allows the robot to program itself to cope with infinite possibilities.
Unique feature 3: I did not use python, nor any artificial intelligence libraries or library functions. All artificial intelligence programs are in the form of mysql stored procedures and are stored in the database.
Unique feature 4: Beautiful animation interface: text is output word for word, the character's mouth shape changes as he speaks, the environmental background and character clothing change with time and circumstances, language pronunciation, background music, etc.
All programs on this site are open source, and anyone can download, copy, distribute, modify, and make them their own. I will continue to update and release new open source versions in the future.
Running requires mysql database and php running environment (such as AppServ).
The homepage is index.html and the database is snow.sql
Artificial intelligence programs are all written as MySQL stored procedures, and the web page is just a display of input and output.
There is already a very beautiful web page display interface. Since the artificial intelligence programs are all in the database, if you want to make a computer client or mobile client, you only need to make a display interface.
You don't need any web files, just the database file (snow.sql), which contains all artificial intelligence programs. Artificial intelligence can be completed by calling the stored procedure enter. The first input parameter of enter is the input parameter (user input), the second is the output parameter (computer answer), and the third is the output parameter (grammar analysis). If you want a web page file, in index.html, arr[0] contains the computer's answer, which is the answer returned by connect.php from the mysql database.
Create a new database, import snow.sql into the database, set the character set to utf8, and set the sorting rule to utf8_general_ci
Change the config configuration file to your information and you can run it.
There is no problem when running locally, and it can be run offline. If you encounter problems when running the server:
(1) The 3306 port of mysql needs to be released.
(2) If an error is reported in the output, it is an authorization issue with root permissions. You can find the solution by searching the error number in Baidu.