4 ms·
Well you’re ahead of me! :D What platform are you building around? Is it self-hosted or are you using something like slack / telegram?
by chatmasta 8y ago
Well you’re ahead of me! :D
What platform are you building around? Is it self-hosted or are you using something like slack / telegram?
- mindcrime 8y agoWhat I have so far is written in Java, and I started out playing around with AIML[1] using the ProgramAB[2] library to start implementing some simple stuff. It's self-hosted and the bot connects to an XMPP server to communicate. The code is designed to be packaged as an OSGI bundle which can be deployed into something like Karaf or ServiceMix. The code[3] is on GitHub, but it really doesn't do anything useful yet. But feel free to take a look. Up to the last time I touched it, the main thing I was doing (as you can see in the commit messages) was playing around with some ideas involving the old "blackboard architecture"[4] approach. The one thing that's actually implemented is an @time command, which just prompts the bot to give you the current time. That bit is implemented here: https://github.com/mindcrime/AISandbox/blob/master/xmpp-aiml-osgi-blackboard-bot/src/org/example/fogbeam/aisubsystem/AtCommandSubsystem.java https://github.com/mindcrime/AISandbox/blob/master/xmpp-aiml... The AIML stuff is also wired up, although I'm not sure exactly what state I left this all in last time I touched it. But you can see the AIML stuff at https://github.com/mindcrime/AISandbox/blob/master/xmpp-aiml-osgi-blackboard-bot/src/org/example/fogbeam/aisubsystem/AtCommandSubsystem.java https://github.com/mindcrime/AISandbox/blob/master/xmpp-aiml... and there are some sample AIML files in the repo: https://github.com/mindcrime/AISandbox/tree/master/xmpp-aiml-osgi-blackboard-bot/bots/mybot https://github.com/mindcrime/AISandbox/tree/master/xmpp-aiml... [1]: https://en.wikipedia.org/wiki/AIML https://en.wikipedia.org/wiki/AIML [2]: https://github.com/fogbeam/program-f https://github.com/fogbeam/program-f [3]: https://github.com/mindcrime/AISandbox/tree/master/xmpp-aiml-osgi-blackboard-bot https://github.com/mindcrime/AISandbox/tree/master/xmpp-aiml... [4]: https://en.wikipedia.org/wiki/Blackboard_system https://en.wikipedia.org/wiki/Blackboard_system