22 KiB
What's new
The Bot Framework SDK v4 is an Open Source SDK that enable developers to model and build sophisticated conversation using their favorite programming language. Click here to learn more about Microsoft Bot Framework.
This page summarizes key new features and improvements in Bot Framework and Azure Bot Service.
November 2019 (Ignite)
Bot Framework SDK v4
The November release includes a new SDK version - 4.6.
C# | JS | Python | Java | |
---|---|---|---|---|
Release | 4.6 GA | 4.6 GA | Beta 4 | Preview 3 |
Docs | docs | docs | ||
Samples | .NET Core, WebAPI | Node.js, TypeScript, es6 |
Bot Framework SDK for Microsoft Teams (GA)
The Bot Framework SDK v4.6 release fully integrates support for building Teams bots allowing users to use them in channel or group chat conversations. By adding a bot to a team or chat, all users of the conversation can take advantage of the bot functionality right in the conversation. [Docs]
Bot Framework for Power Virtual Agent (Preview)
Power Virtual Agent is designed to enable business users to create bots within a UI-based bot building SaaS experience, without having to code or manage specific AI services. Power Virtual Agents can be extended with the Microsoft Bot Framework through Skills, allowing developers and business users to collaborate in building bots for their organizations. [Docs]
Bot Framework SDK for Skills (Preview)
-
Skills for bots: Create reusable conversational skills to add functionality to a bot. Leverage pre-built skills, such as Calendar, Email, Task, Point of Interest, Automotive, Weather and News skills. Skills include language models, dialogs, QnA, and integration code delivered to customize and extend as required. [Docs]
-
Skills for Power Virtual Agent - Coming!: For bots built with Power Virtual Agents, you can build new skills for these bots using Bot Framework and Azure Cognitive Services without needing to build a new bot from scratch.
Adaptive Dialogs (Preview)
Adaptive Dialogs enable developers to dynamically update conversation flow based on context and events. This is especially handy when dealing with conversation context switches and interruptions in the middle of a conversation. [Docs | C# samples]
Language Generation (Preview)
Language Generation enables developers to separate logic used to generate bot's respones including the ability to define multiple variations on a phrase, execute simple expressions based on context, refer to conversational memory. [Docs | C# samples]
Common Expression Language (Preview)
Common Expression Language allows you to evaluate the outcome of a condition-based logic at runtime. Common language can be used across the Bot Framework SDK and conversational AI components, such as Adaptive Dialogs and Language Generation. [Docs | API]
Bot Framework Composer (Preview)
Bot Framework Composer is an integrated development tool for developers and multi-disciplinary teams to build bots and conversational experiences with the Microsoft Bot Framework. Within this tool, you'll find everything you need to build a sophisticated conversational experience. [Docs]
Azure Bot Service
-
Direct Line Speech (GA): Bot Framework and Microsoft's Speech Services provide a channel that enables streamed speech and text bi-directionally from the client to the bot application using WebSockets on Azure Bot Service. [Docs]
-
Direct Line App Service Extension (Preview): A version of Direct Line App Service Extension that isolates your bot from other traffic on the Bot Service by running Direct Line on your dedicated Azure App Service. This also allows bots to participate in Azure VNET configurations. A VNET lets developers create your own private space in Azure and is crucial to your cloud network as it offers isolation, segmentation, and other key benefits. [Docs]
Bot Framework Solutions
Virtual Assistant Core
Virtual Assistant Core : Provides a set of templates, solution accelerators and skills to help build sophisticated conversational experiences.
New for Ignite:
- Bot Framework 4.6 support. Language Generation support enabling more natural, flexible responses.
- Context switching, Speech support, New documentation site, Teams support, Multi-turn QnAMaker,
- Android Virtual Assistant cient integrating Speech, Bot Framework and Adaptive Cards.
Enterprise Assistant (Preview)
Many organizations are looking to provide a centralized conversational experience across many conversational canvases for employees. This concept allows for a consolidation of many disparate bots across the organization to a more centralized solution where a master bot handles finding the right bot to handle the conversation, thus avoiding bot explosion through parent bot / skills approach. This in turn gets employees more productive and allows for a true Enterprise Virtual Assistant Experience.
The Enterprise Assistant Sampleis an example of a Virtual Assistant that helps conceptualize and demonstrate how an assistant could be used in common enterprise scenarios. It also provides a starting point for those interested in creating an assistant customized for this scenario including Enterprise knowledgebase templates, productivity skills and an experimental IT Service Management (Servicenow) skill.
Bot Framework Web Chat (GA)
Bot Framework Web Chat component is a highly customizable web-based client for the Bot Framework V4 SDK. Updates include: React upgrade to 16.8.6 to support React Hooks and stateful function components, uploaded image attachments can now include a thumbnail, and UI improvements and customizability include bubble nub, timestamp format, and customizable user and bot icons. [Docs]
Bot Framework CLI (GA)
BF CLI aggregates the collection of cross-platform tools into one cohesive and consistent interface. For the 4.6 release, we've ported Chatdown, QnAMaker, LuDown, and LuisGen. [Docs]
Related Services
Language Understanding
Language Understanding (LUIS) is an Azure service for building natural language experiences. You can quickly create enterprise-ready, custom models that continuously improve. Updates include: sophisticated hierarchical language models, import and export .lu files for an effective CI/CD process, and basic support for Arabic and Hindi (public preview). [Docs]
QnA Maker
QnA Maker is an Azure service that can be used to find the most appropriate answer from your custom knowledge base (KB). Updates include: multi-turn Q&A conversations, new set of languages supported for chit-chat dataset, US Government cloud support, and the ability to set the KB language for your service. [Docs]
Speech
Speech Services on Azure converts speech <-> text and integrates into your bot. You can use the Direct Line Speech channel in the Azure Bot Service to stream speech, create transcipt files from audio files, and neural-text-to-speech which can make the voice of your bot nearly indistinguishable from voices of the people. [Docs]
July 2019
The Bot Framework SDK v4 is an Open Source SDK that enable developers to model and build sophisticated conversation using their favorite programming language. Click here to learn more about Microsoft Bot Framework.
This page summarizes key new features and improvements in Bot Framework and Azure Bot Service.
C# | JS | Python | |
---|---|---|---|
SDK | 4.5 | 4.5 | 4.4.0b2 (preview) |
Docs | docs | docs | |
Samples | .NET Core, WebAPI | Node.js , TypeScript, es6 | Python |
Bot Framework Channels
-
Direct Line Speech (public preview) | docs: Bot Framework and Microsoft's Speech Services provide a channel that enables streamed speech and text bi-directionally from the client to the bot application using WebSockets.
-
Better isolation for your bot: Direct Line VNet (public preview) | docs: A version of Direct Line that allows bots to participate in Azure VNet. A VNet lets you create your own private space in Azure and is crucial to your cloud network as it offers isolation, segmentation, and other key benefits.
Bot Framework SDK
-
Adaptive Dialog (SDK v4.6 preview) | docs | C# samples: Adaptive Dialog now allow developers to dynamically update conversation flow based on context and events. This is especially useful when dealing with conversation context switches and interruptions in the middle of a conversation.
-
Bot Framework Python SDK (preview 2) | samples: The Python SDK now supports OAuth, Prompts, CosmosDB, and includes all major functionality in SDK 4.5. Plus, samples to help you learn about the new features in the SDK.
Bot Framework Testing
-
Unit Testing | docs | C# sample | JS sample: Addressing customers’ and developers’ ask for better testing tools, the July version of the SDK introduces a new unit testing capability. The Microsoft.Bot.Builder.testing package simplifies the process of unit testing dialogs in your bot.
-
Channel Testing: Introduced at Microsoft Build 2019, the Bot Inspector is a new feature in the Bot Framework Emulator which lets you debug and test bots on channels like Microsoft Teams, Slack, Cortana, and more. As you use the bot on specific channels, messages will be mirrored to the Bot Framework Emulator where you can inspect the message data that the bot received. Additionally, a snapshot of the bot memory state for any given turn between the channel and the bot is rendered as well.
Web Chat
Based on enterprise customers asks, we've added a web chat sample that shows how to authorize a user to access resources on an enterprise app with a bot. Two types of resources are used to demonstrate the interoperability of OAuth with Microsoft Graph and GitHub API.
Solutions
-
Dynamics 365 Virtual Agent for Customer Service (public preview): With the public preview, you can provide exceptional customer service with intelligent, adaptable virtual agents. Customer service experts can easily create and enhance bots with AI-driven insights.
-
Chat for Dynamics 365: Chat for Dynamics 365 offers several capabilities to ensure the support agents and end users can interact effectively and remain highly productive. Live chat and track conversations from visitors on your website within Microsoft Dynamics 365.
May 2019
Sessions
- Vision Keynote by Satya Nadella, Microsoft CEO.
- Microsoft Azure by Scott Guthrie, EVP, CLOUD & ENTERPRISE
- The Microsoft Office 365 Platform by Rajesh Jha, EVP, EXPERIENCES + DEVICES
- How to use Azure Conversational AI to scale your business for the next generation - A deep dive into La Liga’s story by Tulasi Menon, Nayer Wanas, Jesus Serrano Castro
- Your App, Your Device, Your Assistant - How to build a branded, voice-first Virtual Assistant by Darren Jefford, Travis Wilson, Khuram Shahid.
- Microsoft Research APIs – Project Personality Chat in action, by Tulasi Menon
- Designing for Speech by Jessica Engström
What's new
-
-
Adaptive Dialog | docs | C# samples :: Simplify the development of sophisticated dialogs by dynamically updating as the conversation unfolds. This is especially useful when the context of conversation is switched or if there are interruptions in the middle of a conversation.
-
Language Generation | docs | C# samples :: Streamlines the creation of smart and dynamic bot responses by constructing meaningful, variable and grammatically correct responses that a bot can send back to the user.
-
Common Expression Language | api :: Both Adaptive dialogs and Language Generation rely on and use a common expression language to power bot conversations.
-
Botkit :: Major version update with support for Bot Framework Emulator, Azure Bot Service. New model for handling interruptions and composable dialogs.
-
-
-
Enhanced Speech capabilities, Direct Line Speech Channel – (private preview) Streamlined integration of the Bot Framework and Microsoft's Speech Services in Azure Bot Service as a new channel, with support for custom wake words and bi-directional speech and text. To sign up, add the Direct Line Speech channel to your Azure Bot Service.
-
SDK Channel adapters available here - New platform adapters for Web chat, Slack, Webex, Facebook, Google Hangouts and Twilio SMS. Work with Bot Framework V4 SDK (JS only). Additional new adapters put together by the BotBuilderCommunity
-
-
- Skills include language models, dialogs, and cards that can be reusable across bots. Examples include productivity (calendar, email and task productivity- powered by Microsoft Graph), industry (point of interest, and automotive), and custom.
-
- This template incorporates the previous Enterprise Template and brings together all of the best practices and supporting components identified through building advanced assistant-like conversational experiences. It greatly simplifies the creation of a new bot project including: basic conversational intents, Dispatch integration, QnA Maker, Application Insights and an automated deployment.
-
- Bot Inspector, a new ability to debug live conversations in your bots on any channel or adapter - Microsoft Teams, Slack, Cortana, Facebook Messenger, Skype, etc.
-
- Roles, External Entities and Dynamic Entities :: Extract more detailed information from text and build more intelligent solutions with less effort.
- Entity Roles are now available for all entity types which enables you to identify subtypes based on context, such as from and to which are both types of location.
- External entities gives you the ability to use external context for more accurate understanding of user intent.
- Dynamic lists help append synonyms to list entities, at prediction time enabling dynamic, user-specific information to get matched exactly.
- Analytics dashboard :: Provides insight into your models’ quality and potential data problems. Gives guidance to help solve issues and adopt best practices.
- Roles, External Entities and Dynamic Entities :: Extract more detailed information from text and build more intelligent solutions with less effort.
-
QnA Maker Multi-turn Conversations (Public Preview): Extract information from URL or .pdf, .docx files to create multi-turn conversational flows. You can edit and author your own multi-turn flows and test them using the new contextual ranker. See this sample to create a multi-turn QnA Maker bot.