问题
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:
- Overall predictions.
- Predictions per intent.
- 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