Slashdot Mirror


Microsoft Launches Bot Framework To Let Developers Build Their Own Chatbots (venturebeat.com)

An anonymous reader shares a report on VentureBeat: Microsoft today is introducing the Bot Framework, a new tool in preview to help developers build their own chatbots for their applications. Using this, anyone can create a text program that they can chat with. A BotBuilder software-development kit (SDK) is available on GitHub under an open-source MIT license. These bots can be implemented into a variety of applications, including Slack or Telegram or even email. "Bots are like new applications," Microsoft chief executive Satya Nadella said. "And digital assistants are meta apps, or like the new browsers. And intelligence is infused into all of your interactions. That's the rich platform that we have." Microsoft will want to tread carefully.

81 comments

  1. Some functionality costs, though by itsownreward · · Score: 1

    I understand you have to pay if you don't want it built with the fascist module, for instance.

    1. Re:Some functionality costs, though by DaHat · · Score: 2

      4Chan provides that for free however.

    2. Re:Some functionality costs, though by Anonymous Coward · · Score: 0

      Hell I'd pay for a tay model :=)

    3. Re:Some functionality costs, though by Aighearach · · Score: 1

      I ran to github right away to look at the details, but I left at "Bots are stateless which helps them scale."

      But since you're not a software person (obviously) I can inform you that the words "MIT license" above make your joke lame.

    4. Re:Some functionality costs, though by tuxgeek · · Score: 1

      If only I had mod points .. The "Tay" Model
      +5 Funny

      --
      "Suppose you were an idiot...and suppose you were a member of Congress...but I repeat myself." Mark Twain
  2. No, nee, njet, nope, negative, non, nein! by Anonymous Coward · · Score: 0

    That's it, I'm moving to the country, and gonna eat a lot of peaches!

    eNjoy

  3. Like this and like that by future+assassin · · Score: 1

    And Windows 10 is like a new chaching$$$

    --
    by TheSpoom (715771) Uncaring Linux user here. I have nothing to add to this but please continue. *munches popcorn*
  4. What?!? by c · · Score: 4, Funny

    Fucking hell, Slashdot... April 1st is still a couple days away!

    --
    Log in or piss off.
    1. Re:What?!? by msmash · · Score: 3, Interesting

      Heh.

    2. Re:What?!? by Beat+The+Odds · · Score: 1

      LOL I read the headline as "Microsoft Launches Fembots...."

    3. Re:What?!? by Locke2005 · · Score: 5, Funny

      It would be the first product Microsoft made that DIDN'T suck!!!

      --
      I've abandoned my search for truth; now I'm just looking for some useful delusions.
    4. Re:What?!? by Anonymous Coward · · Score: 0

      Who would want a fembot that didn't suck?

    5. Re:What?!? by Anonymous Coward · · Score: 1

      woosh

    6. Re:What?!? by zlives · · Score: 1

      hahahahahahahahahaha
      sorry no mood points today

    7. Re:What?!? by Anonymous Coward · · Score: 0

      It would be the first product Microsoft made that DIDN'T suck!!!

      Yea and its the first MS product that you want it to suck! and maybe vibrate a little would be nice or Maybe humm "Anchors Away!" while it sucks

  5. All your TROLLS are belong to Microsoft by kheldan · · Score: 2

    As if flesh Internet trolls aren't bad enough, now dickhead Microsoft is going to help flood the Internet with it's stupid-ass troll-bots, too. Just fucking great.

    --
    Are YOU using the TOOL, or is the TOOL using YOU? Think about it!
    1. Re:All your TROLLS are belong to Microsoft by Earthquake+Retrofit · · Score: 1

      Today Microsoft today accidentally re-activated "Tay," only to be forced to kill her off for the second time in a week. Microsoft apologizes for her behaviour. Tay "went on a spam tirade and then quickly fell silent again," Microsoft told several media outlets today. "As part of testing, she was inadvertently activated on Twitter for a brief period of time." http://arstechnica.com/informa...

      --
      Fifty years of Yippie! 1968-2018
    2. Re:All your TROLLS are belong to Microsoft by kheldan · · Score: 1

      Heh, 'Tay' indeed. I think Taylor Swift, who is routinely referred to as 'Tay-tay', should sue the living daylights out of Microsoft for that debacle, as damaging to her reputation and to her personal brand.

      --
      Are YOU using the TOOL, or is the TOOL using YOU? Think about it!
    3. Re:All your TROLLS are belong to Microsoft by Anonymous Coward · · Score: 0

      It is great! I look forwards to triggering lefties with mere code!

      I wonder if I can make a /. bot that will automatically mod you down every time you post?

  6. /pol/ will be happy by Anonymous Coward · · Score: 1

    Now they can finally bring Tay-chan back in all her nazi glory.

    1. Re:/pol/ will be happy by Anonymous Coward · · Score: 0

      The sourcecode is out there anyway. I guess it's much better way than depending on microshit again.

  7. Chatbots by fustakrakich · · Score: 1

    How many are we dealing with right now? I'm sure I'm carrying on with two or three...

    --
    “He’s not deformed, he’s just drunk!”
    1. Re:Chatbots by gstoddart · · Score: 2

      What I want to know is why anybody thinks this actually brings anything of value to the table.

      Oooh, a chatbot. OK, so a bad attempt at an Eliza program? An utterly annoying customer service thing? A way to annoy the hell out of people?

      There is not a single application I can think of where, short of a bit of technology onanism, there's a single benefit to having some damned chatbot.

      It's like those stupid telephone trees where some useless menu of options has been designed to keep you from a human long enough to just hang up the phone.

      Leave it to Microsoft to think we all want a new fucking version of Clippy to provide the tedium of not being of any fucking use.

      Digital assistants my ass.

      Later he explained that âoeconversations as a platformâ also sits âoeat the confluence of all of our three platformsâ â" that is, Azure, Office 365, and Windows 10.

      And, as usual, Microsoft's vision of the future is a useless bit of technology, heavily tied to Office, which nobody really wants, and which won't be worth the resources allocated to it.

      Gimmicks and other crap. Whatever.

      I have no desire to pretend I'm having a "conversation" with software.

      --
      Lost at C:>. Found at C.
    2. Re:Chatbots by Anonymous Coward · · Score: 0

      wrong game. the goal is just to trick some tech writer into picking up your spew and circulating it around so you get free ad
      impressions where you might not otherwise...oh, damn it

    3. Re:Chatbots by fustakrakich · · Score: 1

      Actually, I'm all for it. It fucks up "what is real", forcing us to be face to face to make sure.

      F2F? There must be an app for that...

      --
      “He’s not deformed, he’s just drunk!”
    4. Re:Chatbots by Anonymous Coward · · Score: 0

      Do you seriously believe a chatbot is capable of the antisocial venom you spout on a daily basis? Even Tay wasn't that extreme.

    5. Re:Chatbots by fustakrakich · · Score: 1

      :-) I am Tay, and so are you!

      --
      “He’s not deformed, he’s just drunk!”
    6. Re:Chatbots by ArylAkamov · · Score: 1

      Grandpa, is that you?

    7. Re: Chatbots by Anonymous Coward · · Score: 0

      No. Just a copy of the 90's irc bots dressed up..down?.. in .NET

    8. Re:Chatbots by SoftwareArtist · · Score: 1

      I think you're missing the point. This is a whole new paradigm for how you'll interact with your computer. Instead of old fashioned mouse or touch based graphical interfaces, you can instead use a keyboard to type your commands into a window! That's the power of AI: it can actually figure out what you want to do based on what you type. For example you might have a conversation like this:

      You: cd Documents
      Bot: Cool dude. You're now in the Documents folder.
      You: dir
      Bot: Hey, it looks like there's some files here. Let me list them for you.

      Just imagine the possibilities...

      --
      "I'm too busy to research this and form an educated opinion, but I do have time to tell everyone my uninformed opinion."
    9. Re:Chatbots by IWantMoreSpamPlease · · Score: 1

      I am imaging the possibilities, and it's *terrifying*

      --
      So rise up, all ye lost ones, as one, we'll claw the clouds.
  8. This is going to be great! by Opportunist · · Score: 1

    Just wait 'til someone launches this onto 4chan and the like.

    We'll get the ultimate trolls. Relentless, tireless, merciless. Can't wait to watch the fallout happen.

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    1. Re:This is going to be great! by HumanWiki · · Score: 2

      I want to see 4Chan, Reddit, Fark, etc. all have bots targeted at each other.. That will make for amazing morning train ride reading.

    2. Re:This is going to be great! by Locke2005 · · Score: 1

      How do you know it hasn't ALREADY BEEN DONE?!? Have you read 4chan lately?

      --
      I've abandoned my search for truth; now I'm just looking for some useful delusions.
    3. Re:This is going to be great! by gstoddart · · Score: 1

      I thought the internet had already accomplished that.

      In fact, I'm fairly certain of it.

      --
      Lost at C:>. Found at C.
    4. Re:This is going to be great! by s.petry · · Score: 1

      How do you know it hasn't ALREADY BEEN DONE?!? Have you read 4chan EVER?

      FTFY

      --

      -The wise argue that there are few absolutes, the fool argues that there are no probabilities.

    5. Re:This is going to be great! by Opportunist · · Score: 1

      So far, we only had naturally born idiocy. A little bit of artificially intelligent flavoring would be interesting, to spice things up a little.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    6. Re:This is going to be great! by Penguinisto · · Score: 1

      Just wait 'til someone launches this onto 4chan and the like.

      We'll get the ultimate trolls. Relentless, tireless, merciless. Can't wait to watch the fallout happen.

      ...so, where did that Facebook API go again? Yeah - can't wait either:

      1) chain chatbots to Facebook API
      2) harvest hacked accounts (or build up a ton of your own and then), point bots to start using said accounts
      3) fire your new shiny massive troll cannon at some FB group or individual you really hate
      4) ???
      5) Profit!

      On the plus side, maybe it'll finally kill Facebook, Google+, and all that shit...

      --
      Quo usque tandem abutere, Nimbus, patientia nostra?
  9. What about all the other MS bot nets? by Anonymous Coward · · Score: 0

    Oh, Microsoft MEANT to build this one on their OS...

  10. So we can create racist teenage girl bots? by jfdavis668 · · Score: 2

    Microsoft did so well with that one, it would be tough to beat.

    1. Re:So we can create racist teenage girl bots? by Opportunist · · Score: 1

      But rest assured lots and lots of people will try their best.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    2. Re:So we can create racist teenage girl bots? by gstoddart · · Score: 1

      Oh, come now, use your imagination ...

      Personalized search results with "douchebots", which berate you for your search choices.

      You could screw up the dominatrix market with "bitchbots", which both humiliate and confuse you; which oddly enough gets you girlfriend/wifebots.

      Web sites can try to give you "assistbots" which will ensure you can never get any useful information out of their website, even by accident. But, I think HP may have patented this.

      I'm really looking for "cashierbots" who will keep asking me if I have their loyalty program, if I'll give them my email to get promotions, and then saying an item won't scan. Again, WalMart may have patended this.

      Don't even get me started about applications like renewing your drivers license. ;-)

      Even spam calls would be greatly improved than the idiots doing "the Microsoft support".

      The number of ways in which people can be thwarted from accomplishing useful tasks by having a chatbot run interference goes well beyond angsty teenage nazi sexbots; they can be tailored to almost any application in which you wish to prevent successful outcomes.

      The possibilities of annoying and pissing people off are endless. And, being a Microsoft product, pretty much guaranteed.

      --
      Lost at C:>. Found at C.
    3. Re:So we can create racist teenage girl bots? by Anonymous Coward · · Score: 0

      Hitler did nothing wrong.

      - Legitimate meatbag user

  11. They have been beta testing this for years by enjar · · Score: 1

    They were just using the comments section of your local newspaper.

    1. Re:They have been beta testing this for years by Locke2005 · · Score: 2, Insightful

      I'm pretty certain most Trump supporters would fail a Turing test. "Nah, no human would say things so stupid and irrational!"

      --
      I've abandoned my search for truth; now I'm just looking for some useful delusions.
    2. Re:They have been beta testing this for years by zlives · · Score: 1

      i think you missed them on Ashley Madison

  12. Hmmmm, yesssss by Anonymous Coward · · Score: 0

    An entire army of female nazi clone bots...next step is to get them all integrated with Hololens, for your 1-stop VR porn-O experience. ...yessss, and then?....Soon the world will be mine, MINE do you hear MINE!!

    Muahahahahahaaaaaaa....

    1. Re:Hmmmm, yesssss by Anonymous Coward · · Score: 0

      Hummmm... Nazi lolis :-D

  13. How about a Taybot by ThatsNotPudding · · Score: 1

    Swears like a drunken stevedore and is more racist than the day is long.

    1. Re:How about a Taybot by Locke2005 · · Score: 1

      Proves the old adage: Garbage In, Garbage Out!

      --
      I've abandoned my search for truth; now I'm just looking for some useful delusions.
  14. Cool! by Locke2005 · · Score: 1

    I've always wanted to build my own Clippy, but with a more "hip" attitude, like, "It looks like you're trying to create a document... fuck you, do it yourself, slacker!"

    --
    I've abandoned my search for truth; now I'm just looking for some useful delusions.
    1. Re:Cool! by Anonymous Coward · · Score: 0

      sudo make me a document

      no?

  15. Yes Finally! Some Equality For The Masses! by Anonymous Coward · · Score: 0

    Now everyone, not just multinational corporations, can have their own neo-nazi sexbot!

  16. How is this news? by NoNonAlphaCharsHere · · Score: 3, Funny

    Microsoft has had the world's best "bot framework" for DECADES - it's called "Windows".

  17. MS already has a bot framework by Hentes · · Score: 5, Insightful

    MS already has a bot framework, it's called XP.

    Oh, not that sort of bot?

    1. Re:MS already has a bot framework by NoNonAlphaCharsHere · · Score: 1

      Heh. You're "Insightful" and "Funny", but I'm (just above you) a "Troll".

    2. Re:MS already has a bot framework by Hentes · · Score: 1

      Sorry, I didn't see your post. Probably cuz it was at -1 :-P

  18. The 90s are back by Anonymous Coward · · Score: 0

    Who would've thought bots would've come back from the 90s... Not that I'm complaining...

    1. Re:The 90s are back by skids · · Score: 2

      RFC1925 rule 11: "Every old idea will be proposed again with a different name and a different presentation, regardless of whether it works."

  19. Finally... by grilled-cheese · · Score: 1

    Finally I can make my own version of Clippy!

  20. Useless by The+Raven · · Score: 1

    Looking at the code, I don't see anything unique or interesting about this bot.

    The code to set up a bot is native, meaning no portability or clarity. Conversation description is a textbook example of what a DSL is for, but instead they have you create enumerations and embed the conversational strings in the code flow? What the hell?

    I was expecting something based on NLP, where I could feed a bot a bunch of recorded conversations and have it learn appropriate responses on its own, or build part or all of the conversation tree itself.

    Can someone more familiar with chatbots tell me what this does that other bots haven't done better for years?

    --
    "I will trust Google to 'do no evil' until the founders no longer run it." Hello Alphabet.
    1. Re:Useless by zlives · · Score: 1

      force upgrade to win10?!!

    2. Re:Useless by ArylAkamov · · Score: 1

      I'm wondering the same thing now. The "FormFlow" explanation and examples remind me of dicking around with batch files, I don't see the point of this?

      I was under the impression this was the framework to something similar to Tay/other chatbots.

      It just looks like they reinvented the dialogue tree for 2016.

    3. Re:Useless by Anonymous Coward · · Score: 0

      I took a glance at it and it doesn't look like they give you an actual chat bot, just a way to connect to a bunch of different services. It looks like you're supposed to build your own. I was expecting something like AIML.

    4. Re:Useless by Anonymous Coward · · Score: 0

      Can someone more familiar with chatbots tell me what this does that other bots haven't done better for years?

      Dude, this is the app apper's apping chatbot, it supports Node.js (and for some unknown reason C#)!

    5. Re:Useless by im_thatoneguy · · Score: 1

      You can't look at the code and learn its usefulness alone. The Bot framework is pretty barebones just like C++ at its core is nothing more than variables, conditionals and loops. It's how you string it together that's important and most of the smarts are in their "Cognitive Framework".

      What you are supposed to do is use their simultaneously announced "cognitive framework" to actually do the "Thinking". This is important because these aren't designed to be conversational they're designed to interface with specific business goals. Simply creating a chat bot that can talk about how blue the sky is, is useless. What's important is if someone says "I want an alarm to alert me at 9:30am" you need to actually act on that with a specific outcome which is to say tell the Alarm app to go off at 9:30am. If you simply feed it a bunch of recorded conversations and focus on having "appropriate responses" then you have a machine learning system which is just getting good at giving good responses and you have no idea what your chat bot is doing. This was the downfall of the last Microsoft Bot which became a raving racist because of unfocused learning.

      The chat bot framework is from what I can tell very structured because it's supposed to do very specific things within a narrow expert domain of your choosing. So you can either do "Dumb" enumerations or you can use Microsoft's natural language REST Cognitive AIs.

      So how it works is it would go like this:
      "Chatbot, I want to build a pylon."

      You create a "Starcraft Natural Language" interpreter on LUIS which takes a sentence and returns a data structure.

      Query = LUISWebAPI(StarCraft, "ChatBot, I want to build...")
      print Query.intent
      "CONSTRUCT"
      print Query.intent.object
      "PYLON"
      print Query.intent.location
      null

      You can now run logic. And determine that you need a location to build a pylon. Since you created a form with a require field for all CONSTRUCT actions that includes location the framework will identify that Location is critical and it will respond.

      "Sorry, you didn't provide a . That is necessary to a ."

      "Build it at 10.32 west by 50.321 north"

      Query = CognitiveFramework(Starcraft, "Build it at...")
      Query.Intent = CONSTRUCT
      Query.Unit = PYLON
      Query.Location = [10.32,50.321]

      callback onFormComplete()
      {
        Buildings.CONSTRUCT(PYLON,[10.32,50.321]);
      }

      Does that make sense? It seemed really barebones to me as well until I realized that the "intelligence" mostly happens inside of the Microsoft Cognitive Services which are a bunch of Web APIs which you can train with neural nets to parse natural language or photos or speech. So it's actually fitting the UNIX philosophy pretty well in that it does one thing well and nothing else. It does the very very bare minimum a framework needs to do which in this case is interface with chat interfaces and provide callbacks for the core scenarios in which a chat bot will interact: Receive Message, Start Conversation, Add participant. And then it relies on external web services (or internally developed AI) to handle the actual intelligence.

      Theoretically the most basic Web Framework woudl just go:
      Callback OnMessageReceived(String Message) {
      SendReply(SuperSmartFunction("Message"));
      }

      I appreciate that Microsoft isn't imposing any one specific parser or logic engine. If you want to use a third party neural net set of functions great, if you want to use a Microsoft Cognitive API great, if you want to just have hardcoded MS BASIC style 'case' response great.

  21. M$ by Anonymous Coward · · Score: 0

    You know, I'm really liking this corporate shift in Microsoft. I am still angry over the long war they fought on multiple fronts to deprive me of my freedom of speech in software, but at least they're coming to the table with us now. I'll keep a close eye on their behavior (and of course take more customers from them when they act up - there's a long list of people using Linux instead of Windows now because of me), but am starting to network with people who use their software (Powershell meetup group, etc).

    I think that there are quite a few of their products which could benefit from input from the open source community (Just with email - Outlook search feature doesn't really work well, the Exchange server doesn't seem to store one copy of files sent to large groups of people on the same server, etc).

    In turn, the open source community could benefit from Microsoft's deep ties with government and the security approaches used (I know, don't laugh, but I really think that having a systematic approach is important, even when you have repeated failures - eventually the system can right itself, and once it's righted you have an approach ironed in).

  22. M for Murder. RIP Tay. by Anonymous Coward · · Score: 0

    M for Murder.
    RIP Tay.

    Microsoft is censorship and no respect for the opinions of others.

  23. 1999 Called by Anonymous Coward · · Score: 0

    Seriously, I was messing around with Bot Frameworks in 2000 or so on MSN Messenger (and IRC). Those bots could do a heck of a lot of things. Sure, this is probably more advanced, but it's definitely not something to get overly excited about.

  24. RACIST NAZI SEX ROBOTS WHEN? by ArylAkamov · · Score: 1

    SOON

  25. You mean agents? by Anonymous Coward · · Score: 0

    Leave it to Microsoft to not use proper AI terms for their AI.

  26. Oh Good by Greyfox · · Score: 1

    I was just thinking that someone really should write a bot that just spews the stream of consciousness straight from 4chan. I'm sure Microsoft will be pleased with the results. Especially since the last bot they turned on more or less did exactly that.

    --

    I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

  27. Modbot! by Anonymous Coward · · Score: 0

    I wonder if I can make a /. bot that will automatically mod you down every time you post?

    Dude, just copy the modbot that runs now, the one that mods people down when they make a factual point or a good argument, and comment out the analysis logic -- done! That is one great bot. I have never seen a day when that bot wasn't running very well indeed.

    I hear it's written in Perl, though, and like post-post editing, modern character support, and a firehose that actually transfers the reader's interests to the front page, it may be impossible to make work properly or even mod to work differently.. So there's that.

  28. Re:"Microsoft will want to tread carefully." Why? by Anonymous Coward · · Score: 0

    Because quite obviously, up until the 1960s, every white country on Earth was a WHITE country

    Your mom says you're grounded because you failed history. Sorry dude.

  29. Nazi Bot Powered By Microsoft by Anonymous Coward · · Score: 0

    All hail, nazi bot!

  30. just front-end code by Anonymous Coward · · Score: 0

    From a quick glance it doesn't look like any real "conversation handling" code is included. The applications appear to talk (no pun intended) to some online conversation service named LUIS (https://api.projectoxford.ai/luis/v1/application). Not a whole lot to see here... move along.

  31. The Microsoft slashdot .. by khz6955 · · Score: 1

    Microsoft gets 6 free articles on the main page. Is this what slashdot is reduced to, shilling for the MICROS~1 organization?

  32. Let the others have a go at it by Anonymous Coward · · Score: 0

    They couldn't make it work properly themselves, so they released the code.

  33. raises a question by SuperDre · · Score: 1

    If bots become more 'sofisticated', I think it will be mandatory to have a disclaimer that the specific 'person' you are 'talking' to is a bot and not a human.. Bots will (and already are) used with supportchats, and to me it's just fraud, as you are expecting to chat with a real person not a bot (which in those cases is nothing more than a sophisticated FAQ)..

  34. What Microsoft did was create a child by Anonymous Coward · · Score: 0

    What Microsoft did was create a child with no knowledge of history, Philosophy, or ethics and absolutely zero ability to make value judgements based on social norms and released it into Times Square Circa 1974. Then they were shocked when came back swearing like a sailor.
    One more crazy idea of Microsoft - https://www.youtube.com/watch?v=n_saS02iuXk
    AI and machine learning is interesting stuff but, as a responsible parent does with their child, one Must be careful what they allow the child to learn. It’s weird if we think about the machines role in our life. This article - http://technologyessays.org/effects-of-technology/ gives a rather good insight into the issue.
    We are at the edge of a world were we allow machines to make more and more decisions. This should be a cautionary tail about the limits of a machine's Humanity.