botframework

Typing indicator for bot framework in C#

时光怂恿深爱的人放手 提交于 2020-08-27 06:29:40
问题 I have a bot in Bot framework. Once user responds to the bot and bot is processing it, I want to show the typing indicator to the user in the meanwhile. It is possible in Nodejs here - https://docs.microsoft.com/en-us/bot-framework/nodejs/bot-builder-nodejs-send-typing-indicator But how can I implement it in C#? 回答1: You have to send an activity of type Typing . You can do it like that: // Send "typing" information Activity reply = activity.CreateReply(); reply.Type = ActivityTypes.Typing;

Error Connecting Skill to Virtual Assistant Using Botskills Connect

牧云@^-^@ 提交于 2020-08-10 18:57:27
问题 I am running into multiple errors when trying to connect a sample skill to a sample virtual assistant. Both are in typescript and run correctly on their own, but when I run botskills connect I encounter the following errors: I first run botskills connect with the --localManifest parameter ( -l ): botskills connect -l "C:\VA\latest-skill\src\manifest\manifest-1.1.json" --ts This returns an error saying to include a path to the Luis Folder: Updating Dispatch Adding skill to Dispatch node.exe :

botframework web chat V4 build and generate custom CSS and JS File

放肆的年华 提交于 2020-08-09 14:54:01
问题 I've cloned the repository from https://github.com/microsoft/BotFramework-WebChat and was able to build the project after some changes with the below npm command npm run build However, this build has not generated the botchat.css and botchat.js files that the earlier versions of web chat used to generate. The reason for my custom build is that I need to be able to display HTML formatting on the web chat. Any steps on how to get the .css and .js files would be really helpful. 回答1: Web Chat no

botframework web chat V4 build and generate custom CSS and JS File

混江龙づ霸主 提交于 2020-08-09 14:53:49
问题 I've cloned the repository from https://github.com/microsoft/BotFramework-WebChat and was able to build the project after some changes with the below npm command npm run build However, this build has not generated the botchat.css and botchat.js files that the earlier versions of web chat used to generate. The reason for my custom build is that I need to be able to display HTML formatting on the web chat. Any steps on how to get the .css and .js files would be really helpful. 回答1: Web Chat no

Changing the service url for a direct line activity that is sent to our bot

纵饮孤独 提交于 2020-08-09 11:02:30
问题 We are trying to send a message into our bot using the direct line api and then send a message out from our bot without using the direct line api. In order to do this, we need a different service url than the default direct line api service url. We have tried putting a different service url in the activity we send the direct line api but then when the activity is sent to the bot the direct line api service url is populated instead. We have also tried changing the service url in the activity

Changing the service url for a direct line activity that is sent to our bot

冷暖自知 提交于 2020-08-09 11:02:05
问题 We are trying to send a message into our bot using the direct line api and then send a message out from our bot without using the direct line api. In order to do this, we need a different service url than the default direct line api service url. We have tried putting a different service url in the activity we send the direct line api but then when the activity is sent to the bot the direct line api service url is populated instead. We have also tried changing the service url in the activity

Bot Framework Maintaining User State

戏子无情 提交于 2020-08-09 09:46:28
问题 Previously i was using Microsoft state service to maintain user state in my bot. Now that Microsoft has stopped supporting state service, i have written a static object to store user data as shown below. Just wanted to know is this a right approach to maintain user state because at once around 8000 user might be using the application. I am just worried if it will cause some concurrent. Please suggest if there is a better way to maintain user state in bot framework private static object

Bot framework v4 Node.js: how to go to next waterfall step based on external trigger (post request)

社会主义新天地 提交于 2020-08-03 05:49:50
问题 Short question: I need a way to go the next waterfall step based on an external trigger (a post request). Long question I need to build an integration with a Payment Service Provider. I have most bits and peaces now, but am not able to tie them all together. The process I have in mind is straightforward and involves: Component Dialog A A waterfall dialog with three high level steps that take care of: -1 Collecting of user details -2 Waiting for payment -> start Component Dialog B -3