botframework

Connecting two bots on Microsoft Bot Framework

两盒软妹~` 提交于 2020-01-01 19:29:07
问题 How to connect to another deployed bot (may be by using it's botId and secret) from my bot? (Scenario: when my bot does not understand user's query, it has to then forward the query to another bot to check if it knows the answer) 回答1: You could try using Direct Line. The Direct Line API is a simple REST API for connecting directly to a single bot. This API is intended for developers writing their own client applications, web chat controls, mobile apps, or service-to-service applications that

Microsoft Bot Framework Example Speech to Text Bot - clientid and clientSecret

假如想象 提交于 2020-01-01 19:11:08
问题 UPDATE and GitHub Examples To see the code of the sample on Speech to Text see the Microsoft Bot Builder GitHub. I have some personal examples on my GitHub as well starting with myLUISBankingBot. Original Post Trouble getting started with the Example Speech to Text Bot. In the code snippet it asks for a clientid and clientSecret, but I am not sure where to find these. In my Free Subscriptions (Bing Search - Free in particular) I have only a Key 1 and Key 2 , not sure where the clientid and

Microsoft Bot Framework Example Speech to Text Bot - clientid and clientSecret

◇◆丶佛笑我妖孽 提交于 2020-01-01 19:10:07
问题 UPDATE and GitHub Examples To see the code of the sample on Speech to Text see the Microsoft Bot Builder GitHub. I have some personal examples on my GitHub as well starting with myLUISBankingBot. Original Post Trouble getting started with the Example Speech to Text Bot. In the code snippet it asks for a clientid and clientSecret, but I am not sure where to find these. In my Free Subscriptions (Bing Search - Free in particular) I have only a Key 1 and Key 2 , not sure where the clientid and

Integrating LUIS with FormFlow

瘦欲@ 提交于 2020-01-01 18:55:49
问题 I have created a bot, having a FormFlow in it. Now if you type I want to launch a product, LUIS will tell which dialog it has to go to : internal static IDialog<AssesmentHelper> CreateProduct() { return Chain.From(() => FormDialog.FromForm(AssesmentHelper.BuildForm)) .Do(async (context, profileForm) => { try { var completed = await profileForm; } catch (FormCanceledException<AssesmentHelper> e) { string reply; if (e.InnerException == null) { reply = $"You quit on {e.Last}--maybe you can

Microsoft bot works locally but not when published

£可爱£侵袭症+ 提交于 2020-01-01 15:56:51
问题 So I created a chatbot which works perfectly fine on the Microsoft Bot Framework Channel Emulator when run locally. However, after I publish it, when I test it on Telegram, I get Error 500: "POST to pbot2 failed: POST to the bot's endpoint failed with HTTP status 500". I have absolutely no clue as to where I might have gone wrong. Usually its a credentials issue if it works locally but not when published, but I tried testing connection to my bot on the Microsoft Bot website and it gives me:

Authorization for Microsoft App ID xxx failed with status code Forbidden and reason phrase 'Forbidden'

。_饼干妹妹 提交于 2019-12-31 05:34:11
问题 My bot keeps failing on the following line of code with the error in Skype, WebChat, and FB chat. I've tried entering the MS App ID and password via the app settings and the web.config. This works fine in the emulator without any errors. When I ran remote debugging I found that this fails on Webchat, Skype, and FB messenger at this line of code: await connector.Conversations.ReplyToActivityAsync(reply1); My bot is integrated with SmartThings so the smart accessories are turning on and off as

Can i modify Azure Bot at VS? [closed]

旧城冷巷雨未停 提交于 2019-12-31 05:22:22
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . I created a bot, using the Azure Bot Service and a dialog template. Then, I downloaded the code:here zip file Here's some of the code: [Serializable] public class BasicForm { [Prompt("Hi! What is your {&}?")] public string Name { get; set; } [Prompt("Please select your favorite car type {||}")] public CarOptions

JSON serializer error with BotFramework an LUIS

天涯浪子 提交于 2019-12-31 03:53:08
问题 StackOverflow Community! I have a chatbot, and integrated LUIS.ai to make it smarter. One of the dialogues is about to Book an appointment with a Supervisor (Teacher) Everything has been working fine, with literally the same code. A couple of hours ago I am experiencing some strange errors. Exception: Type 'Newtonsoft.Json.Linq.JArray' in Assembly 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' is not marked as serializable. How to reproduce the error? If

Is LUIS limited for use?

情到浓时终转凉″ 提交于 2019-12-31 03:00:12
问题 I have been receiving exception in my application saying Exception: Response status code does not indicate success: 403 (Quota Exceeded). Does this means we are only allowed 1000 hits per application per month on the LUIS? Anyother justification are welcomed around this exceptions. 回答1: There are several quotas on LUIS's keys usage: Free key: 5 calls / second 10 000 calls / month Standard key: 50 calls / second See Azure portal's capture below where the 5/second is visible for free plan: And

What's causing 500 Internal Server Error due to localhost:9000 being hit in bot framework?

故事扮演 提交于 2019-12-31 02:23:07
问题 Getting this error every time I try to send a message to my bot, or after it responds with 3 messages in a row. I put a try/catch around the code that's getting the exception (from a call to context.PostAsync ) and got this logged in my Application Insights instance: An error occurred while sending the request. Unable to connect to the remote server An attempt was made to access a socket in a way forbidden by its access permissions 127.0.0.1:9000 Certainly nothing in my code is hitting