Virtual Assistant部署脚本无法部署LUIS或知识库

时间:2019-11-22 10:47:35

标签: c# botframework luis qnamaker

我一直在使用Virtual Assistant Template尝试创建我的机器人所需的资源,但是我遇到了一些问题。在进入生成LUIS应用程序和QnA知识库的部分之前,部署脚本似乎运行良好。这是我在这些部分中遇到的问题;

> Deploying cognitive models ...
> Initializing dispatch model ...
> Parsing General LU file ...
> Deploying General LUIS app ...
! Could not deploy LUIS model. Review the log for more information.
! Log: C:\Users\mark.weir02\source\repos\Bari\Bari\Bari\Deployment\Scripts\..\deploy_cognitive_models_log.txt
> Setting LUIS subscription key ...
! Could not create LUIS app. Skipping dispatch add.
> Parsing Chitchat LU file ...
> Deploying Chitchat QnA kb ...
2
> Retrying ...
1
> Retrying ...
0
> Retrying ...
-1
! Unable to create QnA KB.
! Could not deploy knowledgebase. Review the log for more information.
! Log: C:\Users\mark.weir02\source\repos\Bari\Bari\Bari\Deployment\Scripts\..\deploy_cognitive_models_log.txt
! Could not create knowledgebase. Skipping dispatch add.

在生成的deploy_cogntivie_models_log.txt文件中,没有有关错误的信息,该文件只是空白,这使得很难对问题进行故障排除。这是我一直提供给脚本的详细信息;

Bot Name - UK-Bari (I've tried to use names of non-existing resource groups, existing groups and deleted groups)
Azure Resource Group Location - westeurope
Password for MSA app registration : <Password that meets requirements>
LUIS Authoring Region: westeurope
LUIS Authoring Key: <The Primary Key for my Starter Key>

当我登录LUIS时,收到以下错误消息,但是我不确定是否与之相关; enter image description here

脚本的所有其他方面似乎都可以正常运行并发布到Azure。有没有解决此问题的方法,还是我最好手动创建LUIS,QnA和Dispatch模型,然后将它们添加到我的代码中?

0 个答案:

没有答案