[Tool/Web/Other] samp-ai-chatbot
#1

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)
  • Flask
  • pyaiml
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
Reply
#2

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

wow, unique
Reply
#4

Very impressed, great script!
Reply
#5

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
Reply
#6

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

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

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

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.
Reply
#10

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)