SA-MP Forums Archive
[Tool/Web/Other] samp-ai-chatbot - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Tools and Files (https://sampforum.blast.hk/forumdisplay.php?fid=82)
+---- Thread: [Tool/Web/Other] samp-ai-chatbot (/showthread.php?tid=653223)



samp-ai-chatbot - SyS - 29.04.2018

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.


How to use this script?
  1. Clone this repository

    git clone https://www.github.com/sreyas-sreela...ai-chatbot.git

  2. Compile the sample bot script in filterscripts folder and add them to your server project

  3. Install python (i recommend python 3.5+ versions) dependencies using pip

    pip install flask python-aiml

  4. Start the web server using the script start.py in web-server folder

    python3 start.py

  5. Start your samp server and use the command /ask <message> to talk with the bot
Dependencies

pawn (to run sample script)
python (to run web server)
Images
https://github.com/Sreyas-Sreelal/sa...1.png?raw=true
https://github.com/Sreyas-Sreelal/sa...2.png?raw=true
https://github.com/Sreyas-Sreelal/sa...3.png?raw=true

Repository
https://github.com/Sreyas-Sreelal/samp-ai-chatbot


Re: samp-ai-chatbot - Eoussama - 29.04.2018

Amazing, first time seeing any pawn/python interaction aside from the p, I could learn a lot from this. +REP.


Re: samp-ai-chatbot - std - 29.04.2018

wow, unique


Re: samp-ai-chatbot - Chaprnks - 30.04.2018

Very impressed, great script!


Re: samp-ai-chatbot - Marshall32 - 30.04.2018

I tried this..This is fucking awesome and brilliant!! Like i'm talking to g00gle assistant. I asked this bot to shut up and i had to apologize as hell to make him talk again.Thanks for this rep+=3


Re: samp-ai-chatbot - Flashhiee - 30.04.2018

Does this support conversations with multiple players at the same time?


Re: samp-ai-chatbot - SyS - 30.04.2018

Quote:
Originally Posted by Flashhiee
View Post
Does this support conversations with multiple players at the same time?
Yes..


Re: samp-ai-chatbot - Flashhiee - 30.04.2018

Interesting, i might use this instead of helpers. Its more safer than using people.


Re: samp-ai-chatbot - Eoussama - 30.04.2018

Quote:
Originally Posted by Flashhiee
View Post
Interesting, i might use this instead of helpers. Its more safer than using people.
Interesting approach, you just gave me an idea.


Re: samp-ai-chatbot - Crystallize - 06.06.2018

Quote:
Originally Posted by Marshall32
View Post
I tried this..This is fucking awesome and brilliant!! Like i'm talking to g00gle assistant. I asked this bot to shut up and i had to apologize as hell to make him talk again.Thanks for this rep+=3
LMAO.Got me dead.

Nice release OP.Only HQ release I could see being published in the last 2 months if not 5.