本文介绍了如何获得所有问题与解答使用单一API的QnA Maker V4.0的答案?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有用于获取所有问题的API?我在QnA Maker V4中创建的答案.目前,我能够看到有一个api,它将根据我提出的问题返回适当的答案.

Is there any API for getting all the Questions & Answers that I have created in QnA Maker V4. Currently I am able to see there is an api that will return the appropriate answer based on the question that I have raised.

我已经验证了以下Microsoft文档,但找不到正确的API.

I have verified the following microsoft documents and unable to find the proper API.

根据适当的问题获得答案的终点:

QNA Maker API文档:

推荐答案

您可以通过下载知识库获得所有问题.使用此API: https://westus.dev.cognitive.microsoft.com/docs/services/5a93fcf85b4ccd136866eb37/operations/knowledgebases_download

You can get all questions by downloading the knowledgebase. Use this API:https://westus.dev.cognitive.microsoft.com/docs/services/5a93fcf85b4ccd136866eb37/operations/knowledgebases_download

您可以在此处进行测试,但请确保使用Azure QnA资源中的密钥,而不是QnA门户中的 Authorization:EndpointKey .

You can test here, but make sure you use the key from your Azure QnA resource and not the Authorization: EndpointKey from the QnA portal.

这篇关于如何获得所有问题与解答使用单一API的QnA Maker V4.0的答案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-29 00:30