[英]Publish Bot - Composer - Import from Existing Resources
I had few permission related issues due to my account being a one from organization.由于我的帐户是来自组织的帐户,因此我几乎没有与权限相关的问题。 So decided to make use of "Import using existing resources".
因此决定使用“使用现有资源导入”。 Please find the.json below that was used to create the publishing profile.
请在下方找到用于创建发布配置文件的 .json。
{ "name": "convAISubAuto", "environment": "dev", "tenantId": "TENANT_ID", "hostname": "subAutoConvAI", #Same as azure bot name "runtimeIdentifier": "win-x64", "resourceGroup": "chatbot", "botName": "subAutoConvAI", #Same as azure bot name "subscriptionId": "SUB_ID", "region": "westus", "appServiceOperatingSystem": "windows", "scmHostDomain": "", "luisResource": "convAIBoth", "settings": { "applicationInsights": { "InstrumentationKey": "", "connectionString": "" }, "cosmosDb": { "cosmosDBEndpoint": "", "authKey": "", "databaseId": "botstate-db", "containerId": "botstate-container" }, "blobStorage": { "connectionString": "", "container": "" }, "luis": { "authoringKey": "", "authoringEndpoint": "", "endpointKey": "", "endpoint": "", "region": "eastus" }, "qna": { "subscriptionKey": "", "endpoint": "" }, "MicrosoftAppId": "APP_ID", #Taken from Azure bot configurations screen "MicrosoftAppPassword": "***" { "name": "convAISubAuto", "environment": "dev", "tenantId": "TENANT_ID", "hostname": "subAutoConvAI", #Same as azure 机器人名称 "runtimeIdentifier": "win-x64", " resourceGroup": "chatbot", "botName": "subAutoConvAI", #Same as azure 机器人名称 "subscriptionId": "SUB_ID", "region": "westus", "appServiceOperatingSystem": "windows", "scmHostDomain": " ", "luisResource": "convAIBoth", "settings": { "applicationInsights": { "InstrumentationKey": "", "connectionString": "" }, "cosmosDb": { "cosmosDBEndpoint": "", "authKey" :“”,“databaseId”:“botstate-db”,“containerId”:“botstate-container”},“blobStorage”:{“connectionString”:“”,“container”:“”},“luis”:{ “authoringKey”:“”,“authoringEndpoint”:“”,“endpointKey”:“”,“endpoint”:“”,“region”:“eastus”},“qna”:{“subscriptionKey”:“”,“ endpoint": "" }, "MicrosoftAppId": "APP_ID", #Taken from Azure bot 配置屏幕 "MicrosoftAppPassword": "***" #Taken from secret generated during app registration } }
#取自应用注册过程中生成的秘密 } }
The bot is getting published successfully.该机器人正在成功发布。 However, when i click on "Test in Web Chat" option inside the Azure Bot Resource, i am getting blank screen.
但是,当我单击 Azure Bot 资源中的“在 Web 聊天中测试”选项时,我得到了空白屏幕。
Also, inside the configuration for Azure bot... The endpoint mentioned was https://host_name/api/messages.此外,在 Azure bot 的配置中......提到的端点是 https://host_name/api/messages。 I had to mention it as the field was blank.
我不得不提到它,因为该字段是空白的。
Is there any issue with my publishing profile's JSON file?我的发布配置文件的 JSON 文件有任何问题吗?
The solution is as follows.解决方法如下。
This solved the issue.这解决了这个问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.