【发布时间】:2016-08-18 06:27:28
【问题描述】:
我已经下载了 program-ab-0.0.4.3,以便我可以使用 AIML 2.0 的功能。
我想根据用户输入进行 API 调用。关于如何操作的任何指导?
我读到了 oob 标签和 sraix,program-ab-0.0.4.3 的 aiml 文件夹中有一些 oob 标签示例,但是当我运行它以了解它的工作原理时,它只是输出标签作为结果
Ex: Human: what is the weather like?
Sraix ‘WHAT+IS+THE+WEATHER+LIKE’ failed
Robot: I used my lifeline to ask another robot, but he didn’t know.
Perhaps we should try a web search.
<oob><search>what is the weather like</search></oob>
请帮助我了解如何根据用户输入调用任何 API,并根据 API 响应向用户提供自定义输出
谢谢
【问题讨论】: