← Scripts et bibliothèques
Sreyas-Sreelal/samp-ai-chatbot
An ai chat bot for samp using aiml,pyaiml,pawn,flask
Autre★ 19mis à jour oct. 2018LGPL-3.0PAWN
Ouvrir sur GitHubREADME.md
samp-ai-chatbot
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
How to use this script?
- 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
Dependencies
pawn (to run sample script)
- sa-mp 0.3.7 - https://www.sa-mp.com/download.php
- zcmd by Zeex - http://forum.sa-mp.com/showthread.php?t=91354
python (to run web server)
- Flask
- pyaiml
Images
aiaimlchat-botflaskpawnpyaimlpythonsa-mpsamp
Cette page est construite à partir de ce que GitHub publie sur le dépôt. samp.directory n’héberge pas le code. Signaler un problème avec cette fiche