Get id of all intent and utterances after import

喜夏-厌秋 提交于 2019-12-24 23:42:33

问题


So have created two applications on Luis and I wanted to import second application into first application. So I did the following:

  1. Export second Application
  2. Import into first application
  3. Train first application
  4. Publish first application

Now I want to get id's of trained intent and utterances but I am not able to find any Luis API to do so. Without any id's, I am not to do delete and update intent or utterances programatically.

How can I get complete LUIS application details(intent,entity,utterances) including id's and other metadata after importing from another application?


回答1:


The LUIS programmatic APIs have two endpoints you can query to get intents and utterances. You can access the LUIS APIs by clicking here, locate 'LUIS Programmatic APIs v2.0', and follow the link. I don't want to post the actual link as it's a bit complex and likely to change/break.

Once on the page, find the API menu on the left. Then:

  • Expand 'model' and look for 'Get version intent list', and
  • Expand 'example utterances' and look for 'Review labeled examples'

These each, respectively, should provide you with the lists you are looking for. Simply provide the necessary credentials.

Hope of help!



来源:https://stackoverflow.com/questions/56884634/get-id-of-all-intent-and-utterances-after-import

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