I’ve been working on upgrading my Android app to AIML 2.0 so Program AB seemed the logical route of action.
Since it seems to be something people are fairly interested in I was considering creating a library using Program AB, that would allow people who develop for the Android platform to easily create a personal assistant, Voice recognition and TTS included.
I was just curious if anyone would be interested in such a thing.
Hi Sara,
I am also working on Program AB and I implement it successfully on my device, may be this will helpful to you.
Here I give you step vise instruction to create simple chat bot application with program AB.
• Creating bot on local machine
1. Download program AB from https://drive.google.com/file/d/0B5AG2LEv3EnHTExPWVB5SVlQREE/edit?pli=1
2. Create your bot named “mybot” into folder named “bots”. (To know about bot directory structure and how to create bot read https://code.google.com/p/program-ab/wiki/RunningAB )
3. Now edit run.bat file and change property “bot=****” to “bot=mybot”
4. Open run.bat file and check that your bot working properly or not. If it working properly then write “wq” in chat mode. It will quit and create AIMLIF file. Which is latter used by Android application.
• Creating Android application
1. Copy folder created in above steps “mybot” to the “asset” folder of your project, and don’t forget to copy Ab.jar file “lib” folder.
2. Write program which copy all files present in asset folder in to device’s external storage. Path should be “Any_Folder_Name/bots/mybot” (This is required because Program AB prefer to look in “bots” folder for yout bot. Any_Folder_Name work as a working directory for Program AB.
3. Start chatting with your bot!!! ENJOY!!!
Please remember some points…
1. If you make changes to the aiml file then delete “Any_Folder_Name” created by previous application.
2. If you change aiml files and it will reply “I have no answer for that” then create bots again on local machine
3. Never try to update AIML and AIMLIF file at a time.
4. Run your application on real device, in built emulator may have different file structure.
Your kind download contained all the jar files needed to compile. I’m going to try and make an Android app with eclipse. Are you using eclipse or netbeans? Or just the command line tools?
I’ve been working on upgrading my Android app to AIML 2.0 so Program AB seemed the logical route of action.
Since it seems to be something people are fairly interested in I was considering creating a library using Program AB, that would allow people who develop for the Android platform to easily create a personal assistant, Voice recognition and TTS included.
I was just curious if anyone would be interested in such a thing.
Hi Joseph,
I am interested in such a thing. I am new to Android programming, your library would be a welcome thing.
Your kind download contained all the jar files needed to compile. I’m going to try and make an Android app with eclipse. Are you using eclipse or netbeans? Or just the command line tools?
Yes, I am using eclipse. I create bot using command line tools and then use created file in eclipse.
I cloned this https://github.com/Hariofspades/ChatBot and it work fine but it didn’t process the <oob> tags and html tags. What additional functions do i need to add in order to make it work.Could you please take a check at this and if you know something ,please tell me how to do.
Use our Chat Match Tool to get started with Chatbots for Business
Compare features, pricing, and reviews from award-winning providers based on best
fit for your business.
Your request has been received. A dedicated specialist will contact you shortly to provide you with free pricing information. For an immediate call back, please email [email protected].