Semantic Kernel
The latest news from the Semantic Kernel team for developers
Latest posts
Observability in Semantic Kernel
Many of you have asked similar questions: These are all excellent questions! They fundamentally belong to the same class of questions: How do I observe Semantic Kernel and, ultimately, my application? Introducing: Observability in Semantic Kernel Semantic Kernel is designed to be observable. It emits logs, metrics, and traces that are compatible to the OpenTelemetry standard. You can use your favorite observability tools to monitor and analyze the behavior of your services built on Semantic Kernel. Logging Semantic Kernel logs meaningful events and errors from the kernel, kernel plugins and f...
Semantic Kernel Content in Spanish: ¡Crea un ChatGPT en tu equipo sin la nube! Con Ollama, Microsoft PHI-3 y Semantic Kernel💥
Today we're highlighting Semantic Kernel content created in Spanish here: 💥¡Crea un ChatGPT en tu equipo sin la nube! Con Ollama, Microsoft PHI-3 y Semantic Kernel💥 (youtube.com) Estamos destacando a Rodrigo Ezequiel Liberoff Vazquez, quien es Arquitecto Senior de Software Cloud en Encamina y ha creado videos de Semantic Kernel en español enfocados en Modelos de Lenguaje Pequeños (SLMs). Aquí te dejamos uno de sus videos: 💥¡Crea un ChatGPT en tu equipo sin la nube! Con Ollama, Microsoft PHI-3 y Semantic Kernel💥 (youtube.com) ¡Están llegando los SLM! Y con ellos, la posibilidad de utilizar modelos de IA Gene...
Introducing new Ollama Connector for Local Models
Introducing new Ollama Connector for Local Models As a long-awaited feature we are happy to bring a dedicated Ollama Connector. In the core implementation of this connector, we are also using the Ollama Sharp library which allows you to manipulate some native Ollama APIs as well as using it with our connector for breaking glass scenarios (provide the Ollama Sharp client directly to the AddOllama(Service) extensions). This connector is currently in alpha pre-release and supports Chat Completion, Text Embeddings and Text Generation capable models. The biggest benefit of having a dedicated connector for Ol...
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 ...