Passing model and subscription key to a LuisDialog other than via an attribute

拟墨画扇 提交于 2019-12-06 11:53:36

You will have to register your LuisModelAttribute in the Autofac container. You can take a look here at how that was done in the AlarmBot sample from the BotBuilder repository

I solved the issue by slightly changing the approach. You can actually decorate the class with two or more LuisModel attributes and the bot framework will query all of them at the same time.

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