- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我的 QnA maker 知识库目前由 pdf 文件 (http://download.microsoft.com/download/2/9/B/29B20383-302C-4517-A006-B0186F04BE28/surface-pro-4-user-guide-EN.pdf) 训练。测试时,QnA bot 不显示给定输入的表格格式。
下图显示了它当前在 QnA maker 测试页面中的显示方式。
我应该怎么做才能使聊天结果中的表格格式(具有所有行和列边框)与输入 pdf 文件中的格式相同。
最佳答案
根据 learn.microsoft.com 上的 QnA Maker 文档:
After importing a file or URL, QnA Maker converts and stores your content in the markdown format. The conversion process adds new lines in the text, such as \n\n. A knowledge of the markdown format helps you to understand the converted content and manage your knowledge base content.
If you add or edit your content directly in your knowledge base, use markdown formatting to create rich text content or change the markdown format content that is already in the answer. QnA Maker supports much of the markdown format to bring rich text capabilities to your content. However, the client application, such as a chat bot may not support the same set of markdown formats. It is important to test the client application's display of answers.
表格是一种 html 结构,在 QnA 可以使用的 Markdown 格式的选项列表中不受支持。如果您正在寻找更像表格的结构,它们确实支持项目符号列表和嵌套列表:
电源按钮
触摸屏
要像这样渲染它,您可以像这样使用 markdown:
熟悉 Surface Pro 4 的内置功能。以下是 Surface Pro 4 功能的快速概述:\n * 电源按钮\n\t * 按电源按钮打开 Surface Pro 4。您可以也可以使用电源按钮使其进入休眠状态并在 你准备好重新开始工作了。\n * 触摸屏\n\t * 使用 12.3 英寸显示屏(纵横比为 3:2,分辨率为 2736 x 1824)观看高清电影、浏览网页和使用您喜爱的应用程序。新的 Surface G5 触摸处理器提供高达 Surface Pro 3 两倍的触摸精度,让您可以用手指选择项目、放大、 并四处移动东西。有关详细信息,请参阅 Surface.com 上的 Surface 触摸屏。
概述如何在 QnAMaker 上进行 Markdown 的页面是 here .
关于c# - QnA 机器人未正确显示表格格式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57590225/
我正在使用 QnA Maker 服务和主动学习功能,通过 explicit feedback其工作原理如下:查询 QnA Maker,查找模棱两可的问题/答案对,通过选择 创建英雄卡。第一个问题从每个
我正在尝试将 LUIS 和 QnA 服务集成到单个机器人中。我使用了 Github 上提供的示例代码以获得意图的响应。我尝试使用相同的代码 - var restify = require('resti
在 QnA Maker API 中,当没有找到结果时,它会返回一些默认消息,或者我们可以更改该消息,但我想在没有结果时运行一个函数/方法。下面是代码。 public QnaDialog(): base
我正在尝试制作一个充当 QnA 对话框的 FAQ 意图,它应该在进入意图后重新询问用户。 下面是我的代码,用于集成 luis 和 QnA: [LuisIntent("FAQ")] publi
我的 QnA maker 知识库目前由 pdf 文件 (http://download.microsoft.com/download/2/9/B/29B20383-302C-4517-A006-B01
我的 QnA Maker 服务目前接受了我上传的 excel 文件的培训。如果我通过 QnA 制造商设置选项卡更新我的知识库并上传此 excel 文件的新版本(删除旧版本),它会覆盖整个知识库吗?或者
我构建了一个聊天机器人,可以使用 QnA Maker 服务回答与可持续发展目标 (SDG) 相关的问题。作为其中的一部分,机器人的主要功能是回答不同的 SDG,例如什么是 SDG 1,什么是 SDG
我们已经使用 QnA Maker 几个月了,今天我们发现,从今天开始,也许是昨天,我们用于答案内链接的标记语言无法正常工作。 我们发现,当该对位于“Editorial”组内时不起作用,但如果它位于 X
我正在尝试通过 Azure 门户部署 Azure QnA 服务。当我填充所有字段并开始部署时,它失败并显示以下消息: 根据验证过程,模板部署“Microsoft.CognitiveServicesQn
我是第一次使用 QnA Maker 服务,我转到创建知识库。 在步骤 1“在 Microsoft Azure 中创建 QnA 服务”中,我创建了一个 Azure QnA 服务。这样就创建成功了。 在步
我正在生成一个大型 PDF,其中包含多轮问题。 我是通过浏览器执行此操作的,更新需要相当长的时间,最后它说它仍在后台运行。 为了检查它何时完成,我进行了 api 调用以获取操作的详细信息。最终这会返回
我正在 Microsoft Azure 环境中开发一个机器人,它能够用四种语言回答问题。总体方案如下:用户的输入提交到 Azure TextAnalytics,并使用推导的语言在认知服务(LUIS 和
我已经设置了一个链接到 QnA 服务的简单 QnA 机器人。在 QnA 服务中,我设置了一些带有后续提示的问题(家属),例如我如何通过公共(public)汽车、火车等到达校园。see image in
我在 QnA Maker 中有一个现有的知识库,我正在尝试更新,但出现以下错误:“您当前没有“知识库”,请使用“创建知识库”菜单项构建一个。学习更多的”当我尝试创建知识库时,找不到我现有的 Azure
如何将图像添加到 QnA Maker?我想将图片放入 qna maker(知识库)中。请提供任何帮助。 [Michael Szul's Twitter] (https://img.t
我正在 Microsoft Azure 环境中开发一个机器人,它能够用四种语言回答问题。总体方案如下:用户的输入提交到 Azure TextAnalytics,并使用推导的语言在认知服务(LUIS 和
我已经设置了一个链接到 QnA 服务的简单 QnA 机器人。在 QnA 服务中,我设置了一些带有后续提示的问题(家属),例如我如何通过公共(public)汽车、火车等到达校园。see image in
我在 QnA Maker 中有一个现有的知识库,我正在尝试更新,但出现以下错误:“您当前没有“知识库”,请使用“创建知识库”菜单项构建一个。学习更多的”当我尝试创建知识库时,找不到我现有的 Azure
如何将图像添加到 QnA Maker?我想将图片放入 qna maker(知识库)中。请提供任何帮助。 [Michael Szul's Twitter] (https://img.t
自从使用 Azure 搜索的 QnA Maker 发生结构变化后,我认识到为认知服务选择的唯一位置是“美国西部”。属于它的应用服务和搜索服务仍然可以位于任何地方。 这是否按预期工作?如果是,QnA M
我是一名优秀的程序员,十分优秀!