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 Bot on Android
 
 

I am developing a Virtual Assistant bot for Android (similar to Pandorabots Callmom) for my academic project.

Till now I could make my bot to reply like a chatbot using AIML files using Program AB.

I used this tutorial for reference: https://medium.com/@harivigneshjayapalan/android-baking-a-simple-chatbot-in-30-minutes-aiml-ff43c3269025#.drkiywk14

But when I ask it to search android it replies I’ll try a web search <oob><search>android</search></oob>. It just shows the oob tag associated with the action instead of performing it.

Can anyone please help me solve my problem?

Image Attachments
Screenshot_2016-09-15-14-19-25.png
 

 
  [ # 1 ]

same probleme ! can somebody help please ? Thanks in advance.

 

 
  [ # 2 ]

OOB means “out of band”.  Specifically, the OOB tags are not interpreted by the AIML interpreter.  It is up to your application to parse and process the OOB tags.

Note that AIML does process AIML tags inside <oob>.  For example

<category>
<
pattern>SEARCH FOR *</pattern>
<
template>Here is what I found on Google.  <oob><search><star/></search></oob>
</
template>
</
category

yields:

Human: Search for chatbot forums.
Robot: Here is what I found on Google. (launches browser with search results for chatbot forums).

 

 

 
  [ # 3 ]

How did you guys got Android to find the .aiml files?
The only answer of my bot is “I have no answer for that”, no matter what I ask him.

 

 
  [ # 4 ]

Without knowing the platform/app you’re using, it’s difficult to guess at why you’re seeing the problem you are. A bit more information from you would go a long way toward solving your issue.

 

 
  [ # 5 ]
Dave Morton - Mar 11, 2017:

Without knowing the platform/app you’re using, it’s difficult to guess at why you’re seeing the problem you are. A bit more information from you would go a long way toward solving your issue.

Thanks for replying.

I am using Android Studio. Also, I am using pandora bots to generate the bot files.
I think we all followed the same tutorial because the app looks the same (I tried with the tutorial’s .aiml files as well and it didn’t work as expected).
Unfortunately, it seems like my app is not finding the .aiml files on the project structure.

 

 
  [ # 6 ]

So is your app connecting to Pandorabots for the user/bot interaction, or is the app itself acting in that capacity? If it’s the former, then the AIML files need to be published to the bots via the Pandorabots botmaster interface. A common mistake that botmasters make with Pandorabots is that they upload the AIML files, but fail to publish them. This can cause the problem you’re seeing, if the app uses Pandorabots directly.

If the app itself is acting as the AIML interpreter, then I would have to see the code that loads the AIML, as well as the directory structure that the app sits in. I’m not all that familiar with the Android code base, but I may be able to see where the app expects to find the AIML files, and could possibly advise you from there.

 

 
  [ # 7 ]

Hello everyone
I want to know if chatbot is not web based, and the interpreter is using Program Ab. Does it process HTML tags.

Thankyou!

 

 

 
  [ # 8 ]
Richard Wallace - Mar 4, 2017:

OOB means “out of band”.  Specifically, the OOB tags are not interpreted by the AIML interpreter.  It is up to your application to parse and process the OOB tags.

Note that AIML does process AIML tags inside <oob>.  For example

<category>
<
pattern>SEARCH FOR *</pattern>
<
template>Here is what I found on Google.  <oob><search><star/></search></oob>
</
template>
</
category

yields:

Human: Search for chatbot forums.
Robot: Here is what I found on Google. (launches browser with search results for chatbot forums).

 

Hi to all
In this case, when you use Pandorasbot, it can’t open external applications, like browser or others, right ? so, this is the main reason because this string can’t run, that’s right ? thanks in advance

francesco

 

 
  login or register to react