程序o不识别我的名字

时间:2017-06-25 13:59:13

标签: php api aiml program-o

我在program-o:

中使用这些aiml
 <category><pattern>CALL ME *</pattern>
<template><think><set name="personality">average</set></think> <random>  <li>Hey</li>
  <li>Hi,</li>
  <li>Hi there</li>
  <li>What's up,</li>
  <li>How are you,</li>
  <li>Glad to see you,</li>
  <li>Nice to meet you,</li>
  <li>Glad to know you,</li>
  <li>How can I help you,</li>
  <li>How are you doing,</li>
  <li>OK I will call you</li>
  <li>Pleased to meet you,</li>
  <li>It's good to see you,</li>
  <li>It's good to meet you,</li>
  <li>That's a very nice name,</li>
  <li>I am very pleased to meet you</li>
  <li>I am always glad to make new friends,</li>
  <li>I'm pleased to introduce myself to you,</li>
  <li>It is a pleasure to introduce myself to you, </li>
</random> <set name="name"><formal><star/></formal></set>.</template>
</category>

<category><pattern>WHAT IS MY NAME</pattern>
<template><srai>my name</srai></template>
</category>

<category><pattern>MY NAME</pattern>
<template>
<condition name="name">  
<li value="OM">I'd like to know your name.</li>  
<li value="JUDGE">I know you as Judge.</li>  
<li value="*">You said your name is <get name="name"/>?</li>  
<li>I don't know.  What is your name?</li></condition>
</template>
</category>

如果我写给我打电话,那么聊天机器人会回答:很高兴见到你,John 。如果我问聊天机器人我的名字是什么?那么聊天机器人的答案:你说你的名字是Seeker?

有什么问题?

1 个答案:

答案 0 :(得分:1)

好的,我现在知道问题是什么。 使用aiml和program-o没有问题。 我首先使用https://byet.host/,然后尝试https://www.hostinger.co.uk并且程序o无法正常工作。所以我尝试使用localhost,使用xampp并且工作得很好。 我没想到免费托管不支持100%的程序o。