【问题标题】:Get actions/variables using a Bot with AIML使用带有 AIML 的 Bot 获取操作/变量
【发布时间】:2017-04-04 18:14:35
【问题描述】:

我对聊天机器人完全不熟悉,我开始研究 AIML 和 Pandorabots 的想法是将其 API 集成到我的应用程序中。

经过一番阅读,我不确定这是否是最佳选择。我想做的就是这样(把我的应用想象成一个书店):

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

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

这可能吗?

【问题讨论】:

    标签: chatbot aiml pandorabots


    【解决方案1】:

    有这样做的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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-07-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-01-20
      • 2015-08-14
      相关资源
      最近更新 更多