|
|
Member
Total posts: 6
Joined: Sep 7, 2018
|
I installed AIML for python from https://pypi.org/project/python-aiml/.
But it had very restricted features with many tags not working. Also, it just had AIML 1.0
I tried searching for AIML 2.0 for python, but I couldn’t find anywhere. The most popular repo related to this is :https://github.com/keiffster/program-y
But here also, he has created few chatbots and when I tried installing the program-y bot, it gave me errors. A brief discussion I had related to this is https://github.com/keiffster/program-y/issues/168#issuecomment-419414288.
So, right now I am looking for anywhere where I can install AIML 2.0 in python and create my own bots.
|
|
|
|
|
Posted: Sep 10, 2018 |
[ # 1 ]
|
|
Administrator
Total posts: 2048
Joined: Jun 25, 2010
|
I am unaware to any python interpreters for AIML 2.0 but Program AB supports it and was recently used to win the Loebner Prize.
https://code.google.com/archive/p/program-ab/
Also http://www.pandorabots.com support AIML 2.0 and is where Mitsuku is hosted.
|
|
|
|
|
Posted: Sep 10, 2018 |
[ # 2 ]
|
|
Member
Total posts: 6
Joined: Sep 7, 2018
|
Steve Worswick - Sep 10, 2018: I am unaware to any python interpreters for AIML 2.0 but Program AB supports it and was recently used to win the Loebner Prize.
https://code.google.com/archive/p/program-ab/
Also http://www.pandorabots.com support AIML 2.0 and is where Mitsuku is hosted.
Pandorabot is paid to use. Apart from pandorabot is there no other AIML 2 interpretor available to use?
|
|
|
|
|
Posted: Sep 10, 2018 |
[ # 3 ]
|
|
Administrator
Total posts: 2048
Joined: Jun 25, 2010
|
|
|
|
|
|
Posted: Sep 10, 2018 |
[ # 4 ]
|
|
Member
Total posts: 6
Joined: Sep 7, 2018
|
Steve Worswick - Sep 10, 2018: Program AB
In this forum I saw many people talking about https://github.com/keiffster/program-y
So can it be used as an AIML interpretor?
|
|
|
|
|
Posted: Sep 10, 2018 |
[ # 5 ]
|
|
Administrator
Total posts: 2048
Joined: Jun 25, 2010
|
I haven’t used Program Y but yes, it’s an interpreter for AIML 2.0.
I prefer Program AB as it was created by Dr Richard Wallace who invented AIML.
|
|
|
|
|
Posted: Sep 10, 2018 |
[ # 6 ]
|
|
Member
Total posts: 6
Joined: Sep 7, 2018
|
Steve Worswick - Sep 10, 2018: I haven’t used Program Y but yes, it’s an interpreter for AIML 2.0.
I prefer Program AB as it was created by Dr Richard Wallace who invented AIML.
Program AB is Java based and I am creating using python. For python I could only find program-y. But going through the repo it is unclear as to how to use the interpreter to create my own bots. I also posted a stackoverflow question regarding this : https://stackoverflow.com/questions/52251421/aiml-2-0-with-python
Can you please have a look at the repo and please tell me if you can see anything which tells us how to use the interpreter ?
|
|
|
|
|
Posted: Sep 10, 2018 |
[ # 7 ]
|
|
Administrator
Total posts: 2048
Joined: Jun 25, 2010
|
Did you check the documentation?
https://github.com/keiffster/program-y/wiki
There are some support email addresses you can contact.
|
|
|
|
|
Posted: Sep 10, 2018 |
[ # 8 ]
|
|
Experienced member
Total posts: 36
Joined: Nov 24, 2016
|
Hi Ahmed
All you’ve done is ask about how to get prOgramy to work and I pointed you at the wiki and also the light weight client
You have not raised any problems or errors, but if you did I would be more than happy to help
K
|
|
|
|
|
Posted: Dec 19, 2018 |
[ # 9 ]
|
|
Member
Total posts: 5
Joined: Dec 12, 2018
|
Hi,
I have installed programy and working on it for a while now but am not able to make the learnf and regex template tags to work on my bot.
Thanks in advance
|
|
|
|
|
Posted: Dec 19, 2018 |
[ # 10 ]
|
|
Guru
Total posts: 1297
Joined: Nov 3, 2009
|
Here is a short sample Python script, I wrote for another Chatbots.org thread, that may apply to this topic:
https://chatbots.org/ai_zone/viewreply/26799/
It may be useful to try adding the regular expressions module to this sample Python script.
...
Sam John - Dec 19, 2018: I have installed programy and working on it for a while now but am not able to make the learnf and regex template tags to work on my bot.
For the sake of discussion, the “learnf and regex template tags” seem to be working in their demo:
https://www.servus.ai - Dec 19, 2018:
https://www.servus.ai
Chat Window
Bot: Hi, how can I help you today?
You: learn the sun is hot
Bot: OK, i’ll remember the sun is hot.
You: what is the sun?
Bot: Hot. You are wise.
...
One place to start may be whether Python has the regular expressions module available. https://docs.python.org/3.3/howto/regex.html - Dec 19, 2018:
Regular expressions (called REs, or regexes, or regex patterns) are essentially a tiny, highly specialized programming language embedded inside Python and made available through the re module.
>>> import re
...
A paid chatbot product from an A.I. company could be much easier and smarter than a hobby chatbot, I think.
Hobbyists in the A.I. community should think about trying a chatbot product from their preferred A.I. company.
|
|
|
|
|
Posted: Dec 19, 2018 |
[ # 11 ]
|
|
Experienced member
Total posts: 36
Joined: Nov 24, 2016
|
Hi everyone, this is Keith the author and owner of Program-Y, the number 1 Python 3.x AIML 2.0 compliant chatbot ( yeah yeah self-promotion, but someone has too ). Apologies for the lack of replies, work commitments mean hobbyist chatbot developer like me is not always able to respond as quickly as I would like.
The version of servus.ai, that was running had a small bug in it I introduced in the last release around a new sentence splitter I added. This has now been fixed and deployed both to the GitHub repo (https://github.com/keiffster/program-y) and to the website (https://servus.ai)
@sam, what problem are you having with the regex template. This is a Program-Y specific feature, not part of the AIML spec or any other bot, commercial or otherwise. Send me an example and I’ll see what is up.
Keith
(Support the Hobbyists - We care)
|
|
|
|
|
Posted: Dec 19, 2018 |
[ # 12 ]
|
|
Experienced member
Total posts: 36
Joined: Nov 24, 2016
|
Steve Worswick - Sep 10, 2018: I am unaware to any python interpreters for AIML 2.0 but Program AB supports it and was recently used to win the Loebner Prize.
https://code.google.com/archive/p/program-ab/
Also http://www.pandorabots.com support AIML 2.0 and is where Mitsuku is hosted.
If you are not aware of Python AIML 2.0 bot then check out Program-y ( https://github.com/keiffster/program-y ), its been alive for a few years now and also suports the latest Rich Media tags in AIML 2.1 and beyond, but you knew that
|
|
|
|
|
Posted: Dec 19, 2018 |
[ # 13 ]
|
|
Experienced member
Total posts: 36
Joined: Nov 24, 2016
|
Sam John - Dec 19, 2018: Hi,
I have installed programy and working on it for a while now but am not able to make the learnf and regex template tags to work on my bot.
Thanks in advance
What problems are you having, do you have any errors in your log files, or any other error message you can share ?
|
|
|
|
|
Posted: Dec 20, 2018 |
[ # 14 ]
|
|
Member
Total posts: 5
Joined: Dec 12, 2018
|
Hi Keith,
I have created a regex-templates.txt file on regex folder (storage) of my template-y bot. The screenshot of files have been attached with this. I am not able get the output for the same.
Image Attachments
Click thumbnail to see full-size image
|
|
|
|
|
Posted: Dec 20, 2018 |
[ # 15 ]
|
|
Member
Total posts: 5
Joined: Dec 12, 2018
|
Screenshot for the above post
Image Attachments
Click thumbnail to see full-size image
|
|
|
|