Microsoft Agent Framework
The latest news from the Microsoft Agent Framework team for developers
Latest posts
Introducing Azure AI Inference Connector for Azure AI Studio Models
Introduction With the latest launch of the Azure AI Inference SDK for Azure AI Studio Models Catalog, we are happy to announce that we have also made available our dedicated Azure AI Inference Semantic Kernel Connector. This connector is specially designed on top of the published Azure AI Inference SDK and is targeted to allow easy access to a comprehensive suite of AI models in the Azure AI Model Catalog for inferencing for use in your Semantic Kernel projects. What is the Azure AI Model Catalog? The Model Catalog in Azure AI Studio is a one-stop shop for exploring and deploying AI models. Model...
Guest Blog: Vision Buddy – Empowering the Visually Impaired with AI and .NET Semantic Kernel
Today we're featuring a guest author, Jonathan David. He’s written an article we’re sharing below, focused on how to create Vision Buddy to empower visually impaired individuals using .NET and Semantic Kernel. We’ll turn it over to Jonathan to share more! Discover how this proof-of-concept leverages AI using .NET Semantic Kernel to provide visually impaired users with real-time audio descriptions of their surroundings. This web app showcases the potential power of AI in Assistive Technology. Introduction Today’s technological landscape is evolving at an unprecedented pace, with AI and machine learn...
Guest Blog: Bring your AI Copilots to the edge with Phi-3 and Semantic Kernel
Bring your AI Copilots to the edge with Phi-3 and Semantic Kernel Today we're featuring a guest author, Arafat Tehsin, who's a Microsoft Most Valuable Professional (MVP) for AI. He's written an article we're sharing below, focused on how to Bring your AI Copilots to the edge with Phi-3 and Semantic Kernel. We'll turn it over to Arafat to share more! It’s true that not every challenge can be distilled into a straightforward solution. However, as someone who has always believed in the power of simplicity, I think a deeper understanding of the problem often paves the way for more elegant and effective solu...
Protecting against Prompt Injection Attacks in Chat Prompts
Semantic Kernel allows prompts to be automatically converted to ChatHistory instances. Developers can create prompts which include <message> tags and these will be parsed (using an XML parser) and converted into instances of ChatMessageContent. See mapping of prompt syntax to completion service model for more information. Currently it is possible to use variables and function calls to insert <message> tags into a prompt as shown here: This is problematic if the input variable contains user or indirect input and that content contains XML elements. Indirect input could come from an email. It is...
Step-by-Step Guide to Building a Powerful AI Monitoring Dashboard with Semantic Kernel and Azure Monitor
Today we're featuring a guest author, Akshay Kokane, who's a Software Engineer at Microsoft within the Azure CxP team. He's written an article we're sharing below, focused on a Step-by-Step Guide to Building a Powerful AI Monitoring Dashboard with Semantic Kernel and Azure Monitor: Master TokenUsage Metrics and Custom Metrics using SK Filters. We'll turn it over to Akshay to share more! Semantic Kernel is one of the best AI Framework for enterprise application. It provides cool and useful out of box features. In this blog we will look into how you can integrate Semantic Kernel with Azure Monitors, ...
Diving into Function Calling and its JSON Schema in Semantic Kernel Python
One of the most exciting features available in certain Large Language Models (LLMs) is function-calling. In Semantic Kernel, we handle the heavy lifting so that you can bring your own code or utilize built-in plugins that cater to your use case. Our goal is to make it easy for you to incorporate function calling into your application. Today, we'll dive into how we create the function-calling JSON schema. This schema is a core piece of functionality that the model requires to decide which function to call for a given context. For those unfamiliar, function calling refers to executing local code, typically on a ...
Customer Case Study: KPMG Clara AI and Microsoft’s Semantic Kernel
Today we're featuring KPMG on our Semantic Kernel blog for their work on Clara AI in KPMG. You can learn more about the solution here: KPMG Partnership with Microsoft's Semantic Kernel Here's a quote from KPMG on the partnership, "Microsoft and KPMG entered a strategic alliance to modernize the work of KPMG professionals. KPMG Clara AI demonstrates the impact of that alliance. Built on Azure AI, KPMG Clara AI provides the latest in AI advancements to KPMG audit professionals in a responsible manner. By using Microsoft's Semantic Kernel, our development team quickly delivered complex, agentic AI workflow...
Customer Case Study: Orion Innovation’s usage of Kernel Arguments
Today we're featuring Vyshag Vadakara and Prasanth Thekkelthody from Orion Innovation and a recent article Vyshag published focused on Orion's usage of Microsoft Semantic Kernel. The article is linked here: Discover the Magic of Microsoft’s Semantic Kernel Arguments. Getting Started The article highlights the benefits of using Semantic Kernel and the best way to learn through exploring the samples provided in the repository. The article highlights the key benefits of Kernel Arguments. As Vyshag details in the article, "One of the features of the Semantic Kernel is its Kernel Arguments. These argume...
Support for Azure.AI.OpenAI and OpenAI v2 is here
Update: We have released a new NuGet Gallery | Microsoft.SemanticKernel 1.18.1-rc release candidate which has been updated to depend on NuGet Gallery | OpenAI 2.0.0-beta.10 and NuGet Gallery | Azure.AI.OpenAI 2.0.0-beta.3. Today we are announcing that support for Azure.AI.OpenAI and OpenAI v2 .NET SDK is available in the Semantic Kernel v1.18.0-rc release candidate. This release supports the official OpenAI library for .NET which Microsoft announced at the Build 2024 conference. This new SDK ensures that .NET developers have parity with other programming language libraries when accessing Azure OpenAI models. T...