Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot SA-MP Releases [Tool] samp-ai-chatbot

 
  • 0 Vote(s) - 0 Average
Tool samp-ai-chatbot
SyS
Offline

Burgershot Member
Posts: 37
Threads: 5
Joined: Apr 2019
Reputation: 4
#1
2019-04-14, 07:27 AM
samp-ai-chatbot

[Image: samp-ai-chatbot.svg] [Image: samp-ai-chatbot.svg] [Image: samp-ai-chatbot.svg]


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-sreelal/sa...hatbot.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)
  • 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
[Image: pic1.png?raw=true]
[Image: pic2.png?raw=true]
[Image: pic3.png?raw=true]

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

Burgershot Member
Posts: 8
Threads: 0
Joined: Apr 2019
Reputation: 0
#2
2019-04-15, 12:43 PM
Interesting. I had an idea long ago to build a police dispatch bot similar to this. I thought about AIML but found it would be easier to do with HTTP requests and JSON parsing with a bot builder like RecastAI - https://cai.tools.sap/blog/build-your-first-bot-with-sap-conversational-ai/

I might still try to make this if I find the motivation.
SyS
Offline

Burgershot Member
Posts: 37
Threads: 5
Joined: Apr 2019
Reputation: 4
#3
2019-04-17, 03:55 AM (This post was last modified: 2019-04-17, 03:55 AM by SyS.)
I did start doing a plugin version of this long ago but it's still in WIP
https://github.com/Sreyas-Sreelal/samp-chatbot-plugin
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode