Program-o 不认识我的名字
Program-o doesn't recognise my name
我在 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>
如果我写 Call me John 那么聊天机器人会这样回答:很高兴见到你,John。如果我问聊天机器人 What is my name? 那么聊天机器人回答:You said your name is Seeker?
有什么问题?
好的,我现在知道问题出在哪里了。
使用 aiml 和 program-o 没有问题。
我使用 https://byet.host/ first and after I tried https://www.hostinger.co.uk 并且 program-o 无法正常工作。所以我尝试使用 localhost,使用 xampp 并且效果很好。
没想到免费主机不支持program-o on 100%.
我在 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>
如果我写 Call me John 那么聊天机器人会这样回答:很高兴见到你,John。如果我问聊天机器人 What is my name? 那么聊天机器人回答:You said your name is Seeker?
有什么问题?
好的,我现在知道问题出在哪里了。 使用 aiml 和 program-o 没有问题。 我使用 https://byet.host/ first and after I tried https://www.hostinger.co.uk 并且 program-o 无法正常工作。所以我尝试使用 localhost,使用 xampp 并且效果很好。 没想到免费主机不支持program-o on 100%.