我对聊天机器人完全陌生,我已经开始研究AIML和Pandorabots,并将其API集成到我的应用程序中。
看了一些书后,我不确定这是否是最好的选择。我想做的是这样的事情(就像我的应用程序是一家书店一样):
Human: Show me the latests books.
Bot: Ok, here you can find the latest books.作为回应,我想在这里得到的是动作“显示”和“最新”,所以应用程序将知道该做什么:显示最新的书籍列表。
这有可能吗?
发布于 2017-04-06 11:57:20
有这样做的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
https://stackoverflow.com/questions/43214682
复制相似问题