This is sample ai chatting bot using aiml,flask,pyaiml and pawn for sa-mp.You can add your own aiml files in sampai.aiml to change the bot behaviour.The current aiml files is from AI Foundation's A.L.I.C.E. bot. click here for forum thread
- Clone this repository
git clone https://www.github.com/sreyas-sreelal/samp-ai-chatbot.git
- Compile the sample bot script in filterscripts folder and add them to your server project
- Install python (i recommend python 3.5+ versions) dependencies using pip
pip install flask python-aiml
- Start the web server using the script start.py in web-server folder
python3 start.py
- Start your samp server and use the command
/ask <message>
to talk with the bot
-
- sa-mp 0.3.7 - https://www.sa-mp.com/download.php
- zcmd by Zeex - http://forum.sa-mp.com/showthread.php?t=91354
-
- Flask
- pyaiml