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

  • GitHub Previews Agentic AI in VS Code Copilot

    GitHub announced a raft of improvements to its Copilot AI in the Visual Studio Code editor, including a new "agent mode" in preview that lets developers use the AI technology to write code faster and more accurately.

  • Copilot Engineering in the Cloud with Azure and GitHub

    Who better to lead a full-day deep dive into this tech than two experts from GitHub, which introduced the original "AI pair programmer" and spawned the ubiquitous Copilot moniker?

  • Uno Platform Wants Microsoft to Improve .NET WebAssembly in Two Ways

    Uno Platform, a third-party dev tooling specialist that caters to .NET developers, published a report on the state of WebAssembly, addressing some shortcomings in the .NET implementation it would like to see Microsoft address.

  • Random Neighborhoods Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the random neighborhoods regression technique, where the goal is to predict a single numeric value. Compared to other ML regression techniques, advantages are that it can handle both large and small datasets, and the results are highly interpretable.

  • As Some Orgs Restrict DeepSeek AI Usage, Microsoft Offers Models and Dev Guidance

    While some organizations are restricting employee usage of the new open source DeepSeek AI from a Chinese company due to data collection concerns, Microsoft has taken a different approach.

Subscribe on YouTube

Upcoming Training Events