botframework

Microsoft Bot Framework with LUIS not detecting all intents

非 Y 不嫁゛ 提交于 2019-12-25 05:09:35
问题 I'm creating a chatbot using the MS Bot Framework with LUIS in node js. I have created a couple of intents called "Book" and "Pending" and an entity called "Annual Leave" in LUIS. I have added the LUIS URL to my chatbot code and when I test it in my console, I see that certain utterances get a response while some don't. For example when I say "How do I check my remaining annual leave?", I get a response saying "You can find your remaining A/L here". But when I say "How can I check my pending

Skype for Business channel doesn't pass authentication credentials correctly

筅森魡賤 提交于 2019-12-25 05:04:54
问题 I have a .NET Bot Framework bot created using the template and tested on other channels and in the dashboard. I've added the Skype for Business channel and performed the PowerShell cmdlets for my tenant. However, I constantly get the reply "Error happened in contacting target user". I looked in the Bot Framework Dashboard for issues, and the problem is that the Bot Framework is getting back a 401 Unauthorized from my code. Remember that this works fine in other channels. Suspecting a problem

What scope should we use to sent messages to skype bot

大兔子大兔子 提交于 2019-12-25 04:13:25
问题 Using https://azure.microsoft.com/en-us/documentation/articles/active-directory-v2-protocols-oauth-code/, i was able to generate access token. But when i try to sent a message to skype bot using the access token generated using scopes defined in above url, i get a "401: The provided 'OAuth' ticket failed authentication." error. What scopes should i use while i generate a code or access token to sent a message to skype bot via API (https://docs.botframework.com/en-us/skype/chat/#rest-api ) .

MS Bot framework doesn't remember authentication

十年热恋 提交于 2019-12-25 03:29:38
问题 I'm developing a MS Bot with the v4 framework and I'm trying to set up authentication. The problem is that I can authenticate but if I want to recapture the user authentication token by reprompting the dialog (found here) then I do get a new loginprompt instead of just retrieving the token. This is what tried: using Azure AD v1 and v2 searching for documentation (but is always deprecated or the same as found at the link) My code (if you need something else feel free to ask): // Register the

Where to set Value for Microsoft.Bot.Builder.Azure.Utils.GetAppSetting on local machine?

点点圈 提交于 2019-12-25 03:24:50
问题 I downloaded the sample code from azure's bot app, and there is a line which i'm not sure where is the config value should be store. i try not to change the code as later i need publish back into azure server. So for this line var qnaKBId = Utils.GetAppSetting("QnAKnowledgebaseId"); Where should i create the variable for above when i need to code on my local machine ? I tried create the variable in web.config but it getting null. and the document not specify any detail. 回答1: In documentation,

ArgumentNullException in CreateDirectConversation/CreateDirectConversationAsync Bot Framework 4

走远了吗. 提交于 2019-12-25 02:59:40
问题 I'm migrating a bot from MS Botframework 3 to 4. We had a function that would email various individuals daily. Moving the code to v4 appears valid, but the call returns an error from inside the framework. The exception is thrown in the Microsoft.Bot.Connector.Authentication namespace, in the method MicrosoftAppCredentials(string appId, string password, HttpClient customHttpClient) . The error is System.ArgumentNullException: 'Value cannot be null. Parameter name: clientId' . customHttpClient

azure chatbot SDK4 - live(human) agent chat REST API integration not working issue

浪子不回头ぞ 提交于 2019-12-25 02:58:43
问题 I stuck with azure chat-bot framework SDK4 integration with live agent(human) chat through REST API using Node.js. I have an REST API, which needs to execute in the certain interval for getting information about human agent chat and status, and i need to send to user as an chat message. One more REST API, which will send chat message again again to live agent from user. I am trying to implement this in azure chat-bot SDK V4 waterfall method getting failed. async liveAgentMsg(step) { var

Alternative for having LUIS Intent

瘦欲@ 提交于 2019-12-25 02:58:00
问题 The requirement is to capture the keywords from the user input given in chat window and make a web api call to get a file link. I have four different categories into which the user input query can be classified: --Operating Group --Technology --Geography --Themes I have configured a LUIS intent and listed these four categories as entitites. However, the issue now is that the entity list cannot be predefined since there can be any number of search keywords which can be passed to web api. I am

botbuilder-python dialogs and conversation flow

大兔子大兔子 提交于 2019-12-25 02:44:55
问题 I cannot find any docs or examples to create a dialog\waterfall conversations in botbuilder-python. Is it not possible yet? I know it is in preview. Has anyone tried to create bots with it? 回答1: The BotFramework Python SDK is still in Preview, and, unfortunately, does not currently support Waterfall Dialogs. I have heard that the development team might be expanding the Python SDK in the near future, so be sure to check the BotBuilder-Python repo for updates! 来源: https://stackoverflow.com

Save conversation history from MS bot to cosmos db

放肆的年华 提交于 2019-12-25 02:44:35
问题 The bot I'm developing is a replacement for a contact form for potential clients that want to be contacted by a company, so the user inputs have to be saved in a database. I have successfully connected a Cosmos DB to my bot which collect the state data when the bot is used. I have a dialog stack with one dialog per user input (Name, email and the message the user want to leave). I can't find any helpful documentation on how to save conversation history for bots written in C#. Can anyone help