AI Zone Admin Forum Add your forum

NEWS: Chatbots.org survey on 3000 US and UK consumers shows it is time for chatbot integration in customer service!read more..

AIML 2.0 install using python
 
 

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.

 

 
  [ # 1 ]

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.

 

 
  [ # 2 ]
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?

 

 
  [ # 3 ]

Program AB

 

 
  [ # 4 ]
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?

 

 
  [ # 5 ]

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.

 

 
  [ # 6 ]
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 ?

 

 
  [ # 7 ]

Did you check the documentation?
https://github.com/keiffster/program-y/wiki

There are some support email addresses you can contact.

 

 
  [ # 8 ]

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

 

 
  [ # 9 ]

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

 

 
  [ # 10 ]

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.

 

 

 
  [ # 11 ]

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)

 

 
  [ # 12 ]
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 wink

 

 

 
  [ # 13 ]
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 ?

 

 
  [ # 14 ]

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
ScreenshotRegex.JPG
 

 
  [ # 15 ]

Screenshot for the above post

Image Attachments
ScreenshotRegex.JPG
 

 1 2 > 
1 of 2
 
  login or register to react