  <!-- insert your elements here

  to begin with, replace "jean" by your jabber id and "narvabot" by your
  agent's name in this document.
  -->

  <!-- master informations
    You must override setting belows according to your configuration
  -->

  <master-infos jabberid="jean"
		username="Jean Paul"
		email="jp@logilab.fr"
		sip="sip:jp@crater"
		prefered_via="im"
		/>


  <!-- jabber protocol handler activator

    You must override setting belows according to your configuration
    -->
  <jabber-activator host="jabber.logilab.org" port="5222"
                    user="narvabot" password="narval" resource="narvabber" 
                    register="no" verbose="yes"
                    recipe="bots.handle-commands"/>



  <!-- chat bot configuration

    verbose: 
      used to have all information about what our bot is trying to do
    myuser: 
      used to specify a user allowed to give order to the bot (story 2 and 3)
      this is usually the jabber id of the owner of this narval assistant
    min_treshold / max_treshold: 
      used by story 3 and 4 to determine the confidence level
    mode :
      used to switch from default mode to metalog mode (more modes to come)
    -->
  <bot-configuration min_treshold="0.30" max_treshold="0.70"
		     mode="default" verbose="yes">

     <!-- 
       Commands access rights, given to explicit jabber user id or to a group
       using one of the following special keywords:
 
          * all (everybody)
          * myuser (user of the agent, defined on the bot-configuration element)
          * agents (narval agents) NOT YET IMPLEMENTED
          * people (non narval agents) NOT YET IMPLEMENTED

       You can specify multiple ids separarated by commas. Commands with no
       access right defined default to "myuser" if it's defined, else to "all".
       -->
    <access-right command="shutdown" usable-in-group-chat="no">myuser</access-right>
    <access-right command="response">all</access-right>

    <access-right command="guess_user_time_back">all</access-right>

    <access-right command="log_control">myuser</access-right>
    <access-right command="log_categorize">all</access-right>

    <access-right command="kb_add_user_info">all</access-right>
    <access-right command="kb_add_stmt">myuser</access-right>
    <access-right command="kb_add_rule">myuser</access-right>
    <access-right command="kb_foaf_export">myuser</access-right>
  </bot-configuration>



  <!-- activity report configuration
    set "sendvia" to "im" if you want to send the report via instant messaging
    instead of email.
    If sendvia == 'email', sendto should be an email address
    If sendvia == 'im', sendto should be a IM id (a Jabber identifier for instance)
    -->
  <activity-configuration sendto="hr@somedomain.com" sendvia="email"/>


  <!-- smtp server for outgoing mails -->
  <!-- service type:type="smtp" host="orion" port="25"/ -->