SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Tools and Files

Reply
 
Thread Tools Display Modes
Old 29/04/2018, 06:41 AM   #1
SyS
High-roller
 
SyS's Avatar
 
Join Date: Oct 2015
Posts: 1,971
Reputation: 447
Default samp-ai-chatbot

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
SyS is online now   Reply With Quote
Old 29/04/2018, 08:54 AM   #2
Eoussama
High-roller
 
Eoussama's Avatar
 
Join Date: Jul 2016
Location: Kingdom of Morocco // Tangier
Posts: 1,244
Reputation: 193
Default Re: samp-ai-chatbot

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

|===[Web taxi]===|
List of my work
Github
Pastebin

|===[Interesting topics]===|
Semantic Versioning


Eoussama is offline   Reply With Quote
Old 29/04/2018, 09:01 AM   #3
std
Big Clucker
 
Join Date: Apr 2018
Posts: 54
Reputation: 0
Default Re: samp-ai-chatbot

wow, unique
__________________
is only game, why you heff to be mad?
std is offline   Reply With Quote
Old 30/04/2018, 12:23 AM   #4
Chaprnks
Gangsta
 
Chaprnks's Avatar
 
Join Date: Sep 2007
Location: Soviet America
Posts: 725
Reputation: 53
Default Re: samp-ai-chatbot

Very impressed, great script!
__________________
Chaprnks is offline   Reply With Quote
Old 30/04/2018, 03:19 AM   #5
Marshall32
Big Clucker
 
Join Date: Jun 2011
Location: Auckland
Posts: 178
Reputation: 32
Default Re: samp-ai-chatbot

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
Marshall32 is offline   Reply With Quote
Old 30/04/2018, 03:46 PM   #6
Flashhiee
High-roller
 
Flashhiee's Avatar
 
Join Date: Mar 2012
Posts: 1,035
Reputation: 236
Default Re: samp-ai-chatbot

Does this support conversations with multiple players at the same time?
__________________
Flashhiee is online now   Reply With Quote
Old 30/04/2018, 04:54 PM   #7
SyS
High-roller
 
SyS's Avatar
 
Join Date: Oct 2015
Posts: 1,971
Reputation: 447
Default Re: samp-ai-chatbot

Quote:
Originally Posted by Flashhiee View Post
Does this support conversations with multiple players at the same time?
Yes..
SyS is online now   Reply With Quote
Old 30/04/2018, 05:21 PM   #8
Flashhiee
High-roller
 
Flashhiee's Avatar
 
Join Date: Mar 2012
Posts: 1,035
Reputation: 236
Default Re: samp-ai-chatbot

Interesting, i might use this instead of helpers. Its more safer than using people.
__________________
Flashhiee is online now   Reply With Quote
Old 30/04/2018, 06:09 PM   #9
Eoussama
High-roller
 
Eoussama's Avatar
 
Join Date: Jul 2016
Location: Kingdom of Morocco // Tangier
Posts: 1,244
Reputation: 193
Default Re: samp-ai-chatbot

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

|===[Web taxi]===|
List of my work
Github
Pastebin

|===[Interesting topics]===|
Semantic Versioning


Eoussama is offline   Reply With Quote
Old 01/05/2018, 05:19 AM   #10
GhostHacker9
Big Clucker
 
GhostHacker9's Avatar
 
Join Date: Jan 2017
Location: Kernel
Posts: 85
Reputation: 91
Default Re: samp-ai-chatbot

Thanks, atlast an aiml integration. Now I can make a samp assistant on aiml.
GhostHacker9 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
hey i need help with this chatbot raptors Scripting Help 3 11/07/2012 07:20 PM
ChatBot JEkvall95 Scripting Help 1 09/07/2012 11:16 AM
[FilterScript] ChatBot Danielschumacher98 Filterscripts 19 16/07/2011 09:29 AM
Chatbot ColdIce Help Archive 9 10/06/2011 03:21 PM
chatbot help Lookin Help Archive 16 22/11/2010 07:56 AM


All times are GMT. The time now is 12:47 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.