Questions tagged [botframework]

The Microsoft Bot Framework is used for building intelligent chat bots and deploying them to multiple messaging platforms or channels at once. This includes utilizing various Bot Builder SDK features, creating bots of various types and using the Bot Directory or the Azure Bot Service.

Overview

The Microsoft Bot Framework provides just what you need to build and connect intelligent bots that interact naturally wherever your users are talking, from text/sms to Skype, Slack, MS Teams, Kik, Office 365 mail and other popular services.

The Bot Framework has a number of components including the Bot Connector, Bot Builder SDK, and the Bot Directory.

Bot Builder v4 SDK builds on the feedback and learnings from the prior Bot Builder SDKs.


SDK main versions history

Date of availability of NuGet packages. The dates may vary for npm packages for Node.js

  • 11/12/2018: 4.2.0
  • 05/11/2018: 4.1.5
  • 31/10/2018: 4.1.0
  • 22/09/2018: 4.0.6 (1st stable v4)
  • 26/07/2017: 3.9.0 (minimum working version due to security reasons)
  • 10/05/2017: 3.8.0
  • 05/01/2017: 3.5.0
  • 08/07/2016: 3.0.0
  • 30/03/2016: 1.0.0

Resources

Documentation and main SDK

Related SDKs and tooling

Samples

9280 questions
57
votes
5 answers

Bot Framework without Azure possible?

If i'm building a bot with the Microsoft Bot Framework, do i need to deploy my bot to Azure in order to register my bot HERE in order to configure the channels for the bot? Or can i simply deploy my bot to a normal (for example) IIS Server? I…
Reaper
  • 740
  • 1
  • 7
  • 18
49
votes
5 answers

date.toLocaleDateString is not a function

Have simple function which returns an error: ERROR: date.toLocaleDateString is not a function TypeError: date.toLocaleDateString is not a function at FormatTime (../Src/rootdialog.js:87:58) Function definition: function FormatTime(time,…
Aleksey Kontsevich
  • 4,671
  • 4
  • 46
  • 101
39
votes
2 answers

MS Bot Builder: how to set session data to proactive message?

I first send a proactive message to the user via sms channel inside OAuthCallback method var connector = new ConnectorClient(); Message message = new Message(); message.From = new ChannelAccount { Id = Constants.botId, Address = "+12312311",…
user299709
  • 4,922
  • 10
  • 56
  • 88
29
votes
5 answers

Terminate all dialogs and exit conversation in MS Bot Framework when the user types "exit", "quit" etc

I can't figure out how to do the a very simple thing in MS Bot Framework: allow the user to break out of any conversation, leave the current dialogs and return to the main menu by typing "quit", "exit" or "start over". Here's the way my main…
user6269864
20
votes
3 answers

How to avoid "Sorry, my bot code is having an issue" in Microsoft Bot Framework

I have a bot that runs on Azure + Bot Framework + LUIS (via LuisDialog). If the user happens to send two messages in a quick succession (before the bot has a chance to answer), they see this error message on their Facebook Messenger or web embed:…
user6269864
17
votes
2 answers

Bot returning error "payment required"

I am running a bot deployed to an azure webapp. The bot runs fine in local debugging, and it runs fine in the web test client in the Azure portal. I can connect to the bot from the bot framework emulator, and I can access its default html front…
Robert Sim
  • 1,428
  • 11
  • 22
16
votes
3 answers

Bot Framework messes up dialog state

I'm currently making a chatbot with Microsoft's Bot Framework. In my flow I have a final dialog that lets the user know, that they are participating in the competition. There is also an error-handling method for unknown input. The two methods are…
Frederik Hansen
  • 506
  • 4
  • 21
15
votes
3 answers

Handling multiple dialogs in Microsoft bot framework

I am creating a bot using Microsoft bot framework , the bot will be receiving orders for a restaurant , I want to know how can I handle multiple dialogs , like for example the customer makes the first order , then i want the bot to ask do you want…
Mazen Abu Taweelih
  • 637
  • 1
  • 9
  • 24
15
votes
7 answers

How to get started with Microsoft Bot Framework?

I got introduced to BOTBUILDER from one of the links shared in hacker-news. What are the developer resources to get started with Bot Framework? Do I need to be aware of C#? Do I need to have azure account in-order to use them? What are the current…
a3.14_Infinity
  • 5,653
  • 7
  • 42
  • 66
14
votes
6 answers

Bot Framework V4 - TypeError: Cannot perform 'get' on a proxy that has been revoked

I am trying to make a rest query against a database that stores knowledge articles for users and returns an array of results based on what the user has searched for. Whenever I try to search I get: "TypeError: Cannot perform 'get' on a proxy that…
Mark Weir
  • 349
  • 1
  • 3
  • 14
14
votes
3 answers

How can I get my bot to post a message to a Microsoft Teams channel?

I have a bot that is identical to the one demonstrated in the docs quickstart. It repeats back whatever the user says (for now). It is currently running locally and exposed with ngrok. I've registered the bot with the Microsoft Bot Framework. I have…
andydavies
  • 3,081
  • 4
  • 29
  • 35
14
votes
7 answers

Bot Framework Emulator gives error as "Couldn't Send"

I have created my first bot application, but it's giving an error while running in the Bot Framework Emulator. it shows status of message I sent like "Couldn't send". Please suggest me what could be the reason.
Vaijinath Harbak
  • 149
  • 3
  • 10
14
votes
2 answers

Initiate a message from bot to user on BotFramework

I have a bot built on BotFramework 3.5 and hosted on Azure as a WebApp. I didn't face any problems with implementation of scenarios where the bot needs to respond to user's input. However there is a need to teach him to start conversations by some…
Artem
  • 2,084
  • 2
  • 21
  • 29
13
votes
1 answer

How to disable attachment in botframework

We're using the Web Chat Channel in Microsoft's Bot Framework,and we don't want to use the attachment icon. How can we hide and disable attachments so end users don't accidentally click it or get confused?
KyleMit
  • 30,350
  • 66
  • 462
  • 664
13
votes
2 answers

"Cannot post activity. Unauthorized" When testing from Bot Emulator

While testing the EchoBot template from Azure in Bot Emulator I keep getting "Cannot post activity. Unauthorized." How can I protect against this? I am new to .NET, so don't understand the how authentication is working here. I can see the…
Mohit
  • 131
  • 1
  • 5
1
2 3
99 100