Luis Dashboard api calls

人盡茶涼 提交于 2021-02-08 06:28:12

问题


I'm developing an app to create conversations outside of luis portal. This means that most of the info I get related to my luis app comes from api calls. The issue I have is that I can't find the api calls to get information from the Dashboard

I know i can get raw information from other api calls, digested and then display it in charts graphs, etc. However some of the api calls have to much payload.

The reason I want api calls to the dashboard is to retrieve all the data already digested. Any place I can find this api calls?

  • A small list of things I want to retrieve is:
    1. Overall predictions.
    2. Predictions per intent.
    3. Intent with prediction errors.

回答1:


There is no "official" method provided in the APIs, but if you look at the Network tab of the Developer tools of your navigator, you can see several calls done when loading the dashboard page.

One of them is:

GET https://LUIS_REGION.api.cognitive.microsoft.com/luis/webapi/v2.0/apps/APP_ID/versions/APP_VERSION/statsmetadata

You need to add your Ocp-Apim-Subscription-Key in the request headers.

Result:

It looks like you have what you are looking for in this call



来源:https://stackoverflow.com/questions/56137500/luis-dashboard-api-calls

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!