LUIS(微软认知服务)用例

use case for LUIS (Microsoft Cognitive Service)

我们想使用 LUIS 从用户问题中获取实体和意图并识别属于我们域的实体,因此我们正在做的是使用来自上下文域的大量实体来训练 LUIS .这是对 LUIS 的有效 "correct" 使用吗?

谢谢

是的,您可以使用 LUIS 了解用户问题的意图和实体。您必须相应地提供培训示例。 LUIS 中有许多功能可以使用 Patterns feature (pattern.any) and provide phrase lists 作为同义词来标记遵循特定模式的实体。您必须根据场景使用它们。希望对您有所帮助!!

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".

是的,你是对的。您所指的医学术语应该是实体。

But this approach implies a big bulk of terms in LUIS

如果仅在术语上存在差异,即如果您的话语像

  • 搜索
  • 搜索 b

然后您可以在 LUIS 中将 a 和 b 添加为短语列表,这样您就不必为每个术语重复话语。您可以查看 how to add phrase list. 如果您查看第三点,您可以看到对于名称 City,输入了许多城市值。您可以对需要搜索的医学术语执行相同的操作。

通过这种方式,您可以通过检查实体值在您的服务器端获取医学术语。