简体   繁体   English

Azure QnA 在 facebook 聊天中显示 URL

[英]Azure QnA shows URL on facebook chat

After making sure the training of the QnA chatbot is done, I tested it on the QnA website and this is how it looks there:在确保 QnA 聊天机器人的训练完成后,我在 QnA 网站上对其进行了测试,它看起来是这样的: QnA 测试聊天机器人

However, when I create the chatbot app on facebook and tested it this is how it looks like:但是,当我在 facebook 上创建聊天机器人应用程序并对其进行测试时,它是这样的: 脸书聊天机器人

Is there a way to embed the link in the word the same way as it was embedded in the QnA without making the url appear.有没有办法将链接嵌入到单词中,就像它嵌入 QnA 中一样,而不会出现 url。 It's the same thing for inserting an image.插入图像也是一样的。

QnAMaker makes use of markdowns to store answer text. QnAMaker 利用降价来存储答案文本。 The rendering links will depend on what formats are supported for the channel.渲染链接将取决于通道支持的格式。 Different channels support different rendering formats and a specific format might work in a particular channel and might not in another.不同的通道支持不同的渲染格式,并且特定格式可能在特定通道中有效,而在另一个通道中可能无效。

Example:例子:

在此处输入图像描述

Similarly, for rendering images, you can add images to a QnAMaker answer by adding the URl via markdowns.同样,对于渲染图像,您可以通过降价添加 URl 将图像添加到 QnAMaker 答案。

在此处输入图像描述

The knowledge base supports Markdown.知识库支持 Markdown。 However, the auto-extraction from URLs has limited HTML-to-Markdown conversion capability.但是,从 URL 中自动提取限制了 HTML 到 Markdown 的转换能力。 If you want to use full-fledged Markdown, you can modify your content directly in the table, or upload a knowledge base with the rich content.如果您想使用成熟的Markdown,您可以直接在表格中修改您的内容,或者上传一个内容丰富的知识库。 Multimedia, such as images and videos, is not supported at this time.目前不支持多媒体,例如图像和视频。

Also, QnA Maker doesn't process the image in any way.此外, QnA Maker 不会以任何方式处理图像。 It is the client application's role to render the image.渲染图像是客户端应用程序的角色。

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

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