use case for LUIS (Microsoft Cognitive Service)

瘦欲@ 提交于 2019-12-12 06:49:37

问题


we want to use LUIS to get the entities and intent from a user question and identify the entities that belong to our domain, so what we're doing is training LUIS with a lot of entities that comes from our context domain. Is this a valid and "correct" use of LUIS?

Thanks


回答1:


I'm creating a search engine to find in medical documents with a very specific terms. For this I'm training LUIS with this kind of words or tags as "entities".

Yes you are right. The medical term you are referring to are suppose to be entities.

But this approach implies a big bulk of terms in LUIS

If there is a difference only in the term i.e if your utterances are like

  • search for a
  • search for b

Then you can add a and b as a phrase list in LUIS, in this way you don't have to keep repeating the utterance for each term. You can check out how to add phrase list. If you look at the 3rd point there you can see that for the name City many city values are being entered. You can do the same with the medical terms you need to search.

In this way you can get the medical terms at your server side by inspecting the entity value.




回答2:


Yes you can the intents and entities fro the user question with LUIS. You have to provide training examples accordingly. There are many features in LUIS to label entities which follow a specific pattern using Patterns feature (pattern.any) and provide phrase lists for synonyms. You have to use them based on the scenario. Hope that helps!!



来源:https://stackoverflow.com/questions/50464648/use-case-for-luis-microsoft-cognitive-service

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