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 for Converge360.

comments powered by Disqus

Featured

  • See Prompts Microsoft Engineers Use for Bleeding-Edge Multimodal RAG AI Research

    Vision-centric queries show how front-line experts are prompting LLMs these days.

  • AI Explains Expressions in Update to Java on VS Code

    "The Spring Tools now show code lenses above these expressions that allow you to quickly let GitHub Copilot explain those statements for you."

  • Microsoft Eases Integration with Semantic Kernel AI SDK

    The basic idea is to provide unified API abstractions, especially for idiomatic C# code, to help platform developers and others work with any provider with standard implementations for caching, telemetry, tool calling and other common tasks.

  • Final .NET 9 Preview Ships with Go-Live License

    Visual Studio developers can now download the SDK for .NET 9 Release Candidate 2 with a go-live license, meaning devs get Microsoft support for production applications even before the framework reaches general availability next month.

Subscribe on YouTube