【问题标题】:Use AIML for Page Redirection使用 AIML 进行页面重定向
【发布时间】:2014-04-18 17:20:07
【问题描述】:

我正在使用 Program-O 开发一个 AIML 聊天机器人。有什么方法可以重定向到用户输入中提到的链接。我可以在 AIML 中使用 href 属性吗?例如:

<category>
    <pattern>Go To google.com</pattern>
    <template>Can i put something here to redirect to google.com?</template>
</category>

【问题讨论】:

    标签: chatbot aiml


    【解决方案1】:

    使用系统元素我们可以做到这一点。 假设您使用的是 windows...

    <category>
        <pattern>Go To google.com</pattern>
        <template><system>start "http://www.google.com"</system></template>
    </category>
    

    【讨论】:

      猜你喜欢
      • 2013-04-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-11
      • 2011-01-13
      • 2011-03-31
      相关资源
      最近更新 更多