Thank you for your replies. It turned out that I had to create Web App Bot and provide its name in JSON message when deploying the chatbot
Issue when deploying chatbot from Bot Framework Compose
Could you please help me with deploying a chatbot created in Bot Framework Composer into Azure?
I have already Resource Group, App Service and Bot Channels Registration in Azure. This is why I do not want to provision any new resource in Azure.
I have just edited the below json in Bot Framework Composer Publish section – in CAPITAL strings which I edited:
However I have an error when deploying the chatbot.
{
"accessToken": "TEMPORARY ACCESS TOKEN",
"name": "RESOURCE GROUP NAME FROM AZURE ACCOUNT",
"environment": "DEV",
"settings": {
"applicationInsights": {
"InstrumentationKey": "<Instrumentation Key>"
},
"cosmosDb": {
"cosmosDBEndpoint": "<endpoint url>",
"authKey": "<auth key>",
"databaseId": "botstate-db",
"collectionId": "botstate-collection",
"containerId": "botstate-container"
},
"blobStorage": {
"connectionString": "<connection string>",
"container": "<container>"
},
"luis": {
"authoringKey": "<authoring key>",
"authoringEndpoint": "",
"endpointKey": "<endpoint key>",
"endpoint": "",
"region": "westus"
},
"MicrosoftAppId": "APP ID FROM 'BOT CHANNELS REGISTRATION' FROM SETTINGS",
"MicrosoftAppPassword": "SECRET STRING FROM 'BOT CHANNELS REGISTRATION' FROM SETTINGS"
}
}
I found also another JSON :
{
"accessToken": "<your access token>",
"hostname": "<your web app name>",
"settings": {
"MicrosoftAppId": "<the appid of your bot channel registration>",
"MicrosoftAppPassword": "<the app password of your bot channel registration>"
}
}
In case of the second JSON, I am not sure what should be 'hostname' . I do not have web app- should I create it with the following link?
https://portal.azure.com/#create/Microsoft.WebSite
2 answers
Sort by: Most helpful
-
-
Ramr-msft 17,736 Reputation points
2020-11-01T11:52:53.113+00:00 @Edyta Barnas (EDYBA) Here are some video resources available to share:
5 minute intro: https://www.youtube.com/watch?v=g8ck1hcTTJk
20 minute getting started video: https://www.youtube.com/watch?v=r9WQPSaLnaU
20 minute advanced language modeling: https://www.youtube.com/watch?v=wG8emu4v6hk
Build an end to end Weather Bot (slightly outdated): https://www.youtube.com/watch?v=ZNcfIgO8biwhttps://learn.microsoft.com/en-us/composer/how-to-publish-bot
As far as interop between v4 waterfall dialogs, custom code, and Composer built dialogs, see this document describing the process to achieve this: