But we haven't done it yet, because of the lack of time, but will come
up with it in a view days.
There exist some working examples already though:
After you started the xOperator the first time, there is a new folder
like your jabber id. e.g. xOperator-0.1\kurzum_at_googlemail_dot_com and
in that there are some scripts which end on .groovy in the folder:
xOperator-0.1\kurzum_at_googlemail_dot_com\aiml\templates\
You can also find them in the SVN:
http://code.google.com/p/xoperator/source/browse/trunk/xOperator/src/net/sf/xoperator/ui/aiml/conf/templates/
I hope this helps a bit, I'll write another short mail after we updated
the Wiki Documentation page,
Sebastian
PS: this is the homepage of groovy: http://groovy.codehaus.org/
PPS: Please tell us about the outcome
Pedro Ferreira schrieb:
Hi Pedro,
after you created a new groovy script, you have change the file
default.aiml and create or change a category according to your groovy
script
-> ./sebastian_at_dietzold_dot_de/aiml/templates/default.aiml
<category>
<pattern>WHERE IS * NOW</pattern>
<template><external name="groovy" param="foo.groovy"/></template>
</category>
./sebastian_at_dietzold_dot_de/aiml/templates/foo.groovy
regards
SD
--
Sebastian Dietzold - Department of Computer Science; University of Leipzig
Tel/Fax: +49 341 97 323-66/-29 http://bis.uni-leipzig.de/SebastianDietzold
> I was wondering if it is possible to send messages to other users, in
> order to do stuff like: "describe FUBAR to m...@friend.com". I haven't
> found any support for this in the Context object, so I guess it's not
> possible for now (?).
For now, only the autodiscovery of neighbouring xmpp agents works but
SPARQL over XMPP is a litte bit buggy so this feature is disabled in
version 0.1 - we will release this in 0.2
> And what about roster management? Is there any command to force the bot
> to add a particular Jabber contact?
Such a feature is not implemented but we have a workaround. You can login
with a standard jabber client as your agent and manage the roster there.
regards
SD
Hi Pedro,
i've created two issues for that.
If you have more ideas, feel free to add them too :-)
Allow xOperator to communicate in a MultiUser Chat
http://code.google.com/p/xoperator/issues/detail?id=30
Administration commands for roster management
http://code.google.com/p/xoperator/issues/detail?id=31
SD
--