如何让LUIS使用不同用户的不同实体? [英] How can I make LUIS use different entities with different users?

查看:83
本文介绍了如何让LUIS使用不同用户的不同实体?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有列表实体,它们对不同的用户有不同的值。 Dialogflow提供了一种称为会话实体的功能,这意味着我们可以为每个特定用户提供不同的实体集。如何在LUIS中执行相同的操作?

I have list entities which will have different values for different users. Dialogflow offers a functionality called Session Entities, which means that we can give each specific user a different set of entities. How can I do the same in LUIS?

推荐答案

您好,

看起来会话实体不是直接的在LUIS中支持列表实体来确定每个用户会话。

It looks like session entities is not directly supported in LUIS for list entities to determine each user session.

但是你可以看一下
bot框架与LUIS的集成
 与
对bot服务的身份验证
 并为该用户识别正确的列表实体通过传递用户身份或用户角色。

However you can take a look at integration of bot framework with LUIS with authentication to your bot service and identify the correct list entity for that user or user role by passing the user identity.

您还可以使用预构建的实体
PersonName
 并将其与您的列表实体一起包装为
复合实体
。 

You can also use the prebuilt entity PersonName and wrap it with your list entity as a composite entity


这篇关于如何让LUIS使用不同用户的不同实体?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆