News

OpenAI-Specific Code Nixed from Semantic Kernel AI SDK

Microsoft shipped the first beta of its Semantic Kernel SDK for AI development, in the process making it service-agnostic by removing OpenAI-specific code.

Semantic Kernel acts like an AI orchestration layer in Microsoft' stack of AI models and Copilot AI assistants, providing interaction services for those constructs to work with underlying foundation models and AI infrastructure.

Officially the company's "What is Semantic Kernel?" documentation says: "Semantic Kernel is an open-source SDK that lets you easily combine AI services like OpenAI, Azure OpenAI, and Hugging Face with conventional programming languages like C# and Python. By doing so, you can create AI apps that combine the best of both worlds."

Notice the emphasis on OpenAI, the Microsoft partner that created ChatGPT and the tech powering Microsoft's AI-powered Copilot assistants being infused throughout its products and services via AI plugins.

[Click on image for larger view.] Semantic Kernel in the Microsoft Ecosystem (source: Microsoft).

While that partnership -- based on a Microsoft investment north of $10 billion -- gave Redmond a lead in the enterprise AI races, the company sought to lessen OpenAI tie-ins with the new v1.0.0 Beta1 for the .NET Semantic Kernel SDK published this week.

The beta introduces several breaking changes necessary to get the SDK into shape so the team can lock the API down for v1.0.0, one of which relates to OpenAI-specific code.

"We are changing Semantic Kernel core to be AI service agnostic," Microsoft said. "A few of the Semantic Kernel abstractions were very OpenAI specific. We have fixed this to make the Semantic Kernel AI provider agnostic."

Microsoft's Oct. 10 announcement lists some 24 breaking changes in total, requiring developers to update a large number of NuGet packages presented in a list that, for example, reflects the dev team's switch to use the term "Plugins" to replace the term "Skills" in its library names. So the list of breaking changes shows the previous name:

Microsoft.SemanticKernel.Skills.Core

the new name: Microsoft.SemanticKernel.Plugins.Core

and any notes: "Rename from Skills to Plugins."

[Click on image for larger view.] Semantic Kernel Breaking Name Changes (source: Microsoft).

"We are moving away from using the term 'Skills' and standardizing on the term 'Plugins' instead," Microsoft explained. "To avoid confusion in the future we have renamed packages and classes that used the term 'Skill' to now use 'Plugin.' Functions and properties that use 'Skill' in their names have been marked as obsolete and new equivalents provided. To learn more about our reasoning, check out the Skills to Plugins blog post."

The post also provides a list of things for developers to do in order to update their code, such as renaming functions and performing various merges and refactorings.

Further describing what's new in the first beta, Microsoft said: "We have consolidated our planner implementations into a single package and introduced more code sharing. This will make it easier for developer to create their own custom planner implementations."

The company said the purpose of the post was to outline all the changes and how to resolve them when devs uptake the initial release candidate.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • IDE Irony: Coding Errors Cause 'Critical' Vulnerability in Visual Studio

    In a larger-than-normal Patch Tuesday, Microsoft warned of a "critical" vulnerability in Visual Studio that should be fixed immediately if automatic patching isn't enabled, ironically caused by coding errors.

  • Building Blazor Applications

    A trio of Blazor experts will conduct a full-day workshop for devs to learn everything about the tech a a March developer conference in Las Vegas keynoted by Microsoft execs and featuring many Microsoft devs.

  • Gradient Boosting Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the gradient boosting regression technique, where the goal is to predict a single numeric value. Compared to existing library implementations of gradient boosting regression, a from-scratch implementation allows much easier customization and integration with other .NET systems.

  • Microsoft Execs to Tackle AI and Cloud in Dev Conference Keynotes

    AI unsurprisingly is all over keynotes that Microsoft execs will helm to kick off the Visual Studio Live! developer conference in Las Vegas, March 10-14, which the company described as "a must-attend event."

  • Copilot Agentic AI Dev Environment Opens Up to All

    Microsoft removed waitlist restrictions for some of its most advanced GenAI tech, Copilot Workspace, recently made available as a technical preview.

Subscribe on YouTube