aiml, response and oob action not possible?

In my aiml file I wanted a responding text to my pattern and in addition an oob tag to make some movements.

It looks like such a file is not considered valid as it does not get activated.

Other tags like <think> can be added into the template section - is this not true for the oob or do I have a syntax problem?

 <category><pattern>HALLO</pattern>
<template>yes i am ready
<oob><mrl>
  <service>python</service><method>exec</method><param>liftHead()</param>
</mrl></oob>
</template></category>

pedrosenarego's picture

it works ofc see this as an

it works ofc see this as an exemple

 

 <category>
      <pattern>REST</pattern>
      <template>
        <random>
          <li>Ah, relaxing.</li>
          <li>Taking a rest</li>
        </random>
        <oob>
          <mrl>
            <service>python</service>
            <method>exec</method>
            <param>rest()</param>
          </mrl>
        </oob>
      </template>
    </category>

 

its working for me altough i dotn find any mistake on your text

 

juerg's picture

can't see why but changing

can't see why but changing the sequence of text and oob to oob and text worked for me now too.

pedrosenarego's picture

nice :) let us see how it

nice :)

let us see how it works :) ive been also playing alot with the chatbot, as soon as i finish the jaw i will do some videos playing with it and some oob gestures during the chat