Automation 如何使用使用使用watson开发的botium asserter for chatbot使用超链接断言?

Automation 如何使用使用使用watson开发的botium asserter for chatbot使用超链接断言?,automation,chatbot,Automation,Chatbot,我有机器人文本响应,包括超链接。我想使用botium Binding和botium asserter为该超链接添加断言。我如何实现它 e、 g.watson对话框中设置的机器人响应(文本响应) “当然,我可以帮你。请点击这里 在上面的例子中,我想为谷歌链接断言 安装 npm安装--保存botium asserter basiclink 调整您的botium.json 在您的CONVA文件中使用asserter 请参阅Github上的 { "botium": {

我有机器人文本响应,包括超链接。我想使用botium Binding和botium asserter为该超链接添加断言。我如何实现它

e、 g.watson对话框中设置的机器人响应(文本响应) “当然,我可以帮你。请点击这里

在上面的例子中,我想为谷歌链接断言

  • 安装

    npm安装--保存botium asserter basiclink

  • 调整您的botium.json

  • 在您的CONVA文件中使用asserter
  • 请参阅Github上的

        {
          "botium": {
            "Capabilities": {
              ....
              "ASSERTERS": [
                {
                  "ref": "HASLINK",
                  "src": "botium-asserter-basiclink"
                }
              ]
            }
          }
        }
    
    ...
    #bot
    HASLINK www.google.com
    ...