简体   繁体   English

IBM Watson Assistant:我如何包含作为锚链接的超链接作为响应?

[英]IBM Watson Assistant: How do I include a hyperlink that is an anchor link as a response?

I want to use the chatbot to display a link to a specific location on a webpage using an anchor link, but the # sign seems to mess this up.我想使用聊天机器人使用锚链接显示指向网页上特定位置的链接,但 # 符号似乎把它搞砸了。 Here is what I have right now,这是我现在所拥有的

You can see the clip mode in action here: Clip Mode您可以在此处查看正在运行的剪辑模式:剪辑模式

The chatbot changes the link to https://us.support.fl-ux.run-edge.com/scenes/false in the response.聊天机器人将响应中的链接更改为https://us.support.fl-ux.run-edge.com/scenes/false

since # is a special token in Watson Assistant you will have to prefix it with \\由于#是 Watson Assistant 中的特殊标记,因此您必须在它前面加上\\

here is more info: @ character is not displayed in Watson Conversation Service response string这是更多信息: @ 字符未显示在 Watson Conversation Service 响应字符串中

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM