1

我对聊天机器人完全陌生,我已经开始研究 AIML 和 Pandorabots,并希望将其 API 集成到我的应用程序中。

经过一番阅读,我不确定这是否是最佳选择。我想做的是这样的(想像我的应用程序是书店):

Human: Show me the latests books.
Bot: Ok, here you can find the latest books.

我想在这里得到的回应也是“显示”和“最新”动作,因此应用程序将知道该做什么:显示最新书籍的列表。

那可能吗?

4

1 回答 1

0

这样做有 OOB 标签。

像这样:

<category>
    <pattern>SEARCH FOR *</pattern>
    <template>Here is what I found on Google. <oob><search><star/></search></oob></template>
</category>

欲了解更多信息:https ://medium.com/pandorabots-blog/using-oob-tags-in-aiml-part-i-21214b4d2fcd

于 2017-04-06T11:57:20.507 回答