News

Microsoft Bot Framework Boosts Python SDK for Conversational AI Apps

Updated Python functionality heads a list of enhancements to Microsoft's Bot Framework SDK, facilitating conversational artificial intelligence in a number of application channels.

The Microsoft Bot Framework features open source SDKs, developer tools and services to help coders build, test and connect conversational AI bots for apps like Skype, Microsoft Teams, Slack, Facebook Messenger and so on.

In a July update, Microsoft released Bot Framework SDK 4.5 and a preview of v4.6, along with updated tools and Azure Bot Service channels for building intelligent, enterprise-grade bots. The update includes an enhanced Bot Framework SDK for Python, which the company said it offers as part of its initiative to let developers code in their favorite languages. The Python SDK update features:

  • OAuth support
  • Prompts support
  • CosmosDB support
  • Major functionality in SDK 4.5
  • New samples

Beyond the Python SDK update, many other new features were announced for the general framework SDK and the overall Bot Framework, which is illustrated here:

Microsoft Bot Framework
[Click on image for larger view.] Microsoft Bot Framework (source: Microsoft).

"Addressing customers' and developers' ask for better testing tools, the July version of the SDK introduces a new unit testing capability," said Yochay Kiriaty, principal program manager, Azure Platform," in a July 18 blog post. "The Microsoft.Bot.Builder.testing package simplifies the process of unit testing dialogs in your bot. Check out the documentation and samples."

The Bot Framework SDK 4.6 preview updates Adaptive Dialog, helping developers 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," Kiriaty said.

For Bot Framework channels, a new Direct Line Speech preview has been added to the 13 supported channels (the aforementioned Skype, Microsoft Teams, Slack and so on).

"This is a new channel designed for voice-first experiences for your Bot Framework utilizing Microsoft's Speech Services technologies," Kiriaty said. "The Direct Line Speech channel is a native implementation of speech for mobile applications and IoT devices, with support for Text-to-speech, Speech-to-text, and custom wake words. We're happy to share that we're now opening the preview to all Bot Framework customers."

Microsoft also announced many other enhancements, affecting the Virtual Assistant family of services, including a Virtual Assistant Solution Accelerator, a public preview of Dynamics 365 Virtual Agent for Customer Service, Chat for Dynamics 365 and more.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Hands On: New VS Code Insiders Build Creates Web Page from Image in Seconds

    New Vision support with GitHub Copilot in the latest Visual Studio Code Insiders build takes a user-supplied mockup image and creates a web page from it in seconds, handling all the HTML and CSS.

  • Naive Bayes Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the naive Bayes regression technique, where the goal is to predict a single numeric value. Compared to other machine learning regression techniques, naive Bayes regression is usually less accurate, but is simple, easy to implement and customize, works on both large and small datasets, is highly interpretable, and doesn't require tuning any hyperparameters.

  • VS Code Copilot Previews New GPT-4o AI Code Completion Model

    The 4o upgrade includes additional training on more than 275,000 high-quality public repositories in over 30 popular programming languages, said Microsoft-owned GitHub, which created the original "AI pair programmer" years ago.

  • Microsoft's Rust Embrace Continues with Azure SDK Beta

    "Rust's strong type system and ownership model help prevent common programming errors such as null pointer dereferencing and buffer overflows, leading to more secure and stable code."

  • Xcode IDE from Microsoft Archrival Apple Gets Copilot AI

    Just after expanding the reach of its Copilot AI coding assistant to the open-source Eclipse IDE, Microsoft showcased how it's going even further, providing details about a preview version for the Xcode IDE from archrival Apple.

Subscribe on YouTube

Upcoming Training Events