-1

How to use pandorabots emoji.set and emojinormal.txt to support emoji in aiml?

<category>
<pattern><set>emoji</set></pattern>
<template></template>
</category>

Whats wrong with it?

Paulo Evan
  • 15
  • 4

1 Answers1

0

I figured out how to do this you have to put emoji in hex code instead of raw emoji inside template like this.

<category>
   <pattern>_ watch # movies # pc #</pattern>
   <template>Sometimes &#x1F601;.</template>
</category>

It will generate output like this

Human: do u watch movies in ur pc
Robot: Sometimes .
Paulo Evan
  • 15
  • 4