Search code examples
jsonwatson-conversationwatson

IBM Watson: How do I add a hyperlink to Watson Responses?


I've tried other responses mentioned on other forums but I'm still not able to get the right result.

As of this moment, this is what the layout looks like

Any help would be much appreciated!


Solution

  • Add in your Watson response the HTML tag, the browser will render:

    The link to go to google is: click <a  target="_blank" href="https://google.com.br">Google</a>.<br/><br/>
    

    Add inside Watson response:

    enter image description here Tested hyperlink:

    enter image description here

    Obs.: Check inside Try it out, this does not work, but inside your Web application, all will works fine. This is valid for other <html> tag, for example: <button>, etc

    I Answer the same question here. Answer with more details and images here.