{"id":57,"date":"2023-03-17T06:00:23","date_gmt":"2023-03-17T13:00:23","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/semantic-kernel\/?p=57"},"modified":"2023-03-17T06:57:33","modified_gmt":"2023-03-17T13:57:33","slug":"hello-world","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/agent-framework\/hello-world\/","title":{"rendered":"Hello, Semantic Kernel!"},"content":{"rendered":"<p><a href=\"https:\/\/aka.ms\/sk\/learn\"><img decoding=\"async\" class=\"alignnone wp-image-89 size-full\" src=\"https:\/\/devblogs.microsoft.com\/semantic-kernel\/wp-content\/uploads\/sites\/78\/2023\/03\/skpatternlarge.png\" alt=\"Pattern of spinning semicircles\" width=\"1638\" height=\"136\" srcset=\"https:\/\/devblogs.microsoft.com\/agent-framework\/wp-content\/uploads\/sites\/78\/2023\/03\/skpatternlarge.png 1638w, https:\/\/devblogs.microsoft.com\/agent-framework\/wp-content\/uploads\/sites\/78\/2023\/03\/skpatternlarge-300x25.png 300w, https:\/\/devblogs.microsoft.com\/agent-framework\/wp-content\/uploads\/sites\/78\/2023\/03\/skpatternlarge-1024x85.png 1024w, https:\/\/devblogs.microsoft.com\/agent-framework\/wp-content\/uploads\/sites\/78\/2023\/03\/skpatternlarge-768x64.png 768w, https:\/\/devblogs.microsoft.com\/agent-framework\/wp-content\/uploads\/sites\/78\/2023\/03\/skpatternlarge-1536x128.png 1536w\" sizes=\"(max-width: 1638px) 100vw, 1638px\" \/><\/a><\/p>\n<p>Artificial intelligence (AI) and Large Language Models (LLM) are helping to transform the way we develop and interact with software. From chatbots to code generators, natural language is the future of user interaction, delivering delightful and intelligent &#8220;copilot&#8221; experiences. As these AI models become more prevalent and accessible, organizations and developers are looking for ways to quickly and easily integrate these capabilities into applications without needing to train or fine-tune a model from scratch.<\/p>\n<h2>Hello, Semantic Kernel!<\/h2>\n<p>Semantic Kernel (SK) is a lightweight SDK that lets you mix conventional programming languages, like C# and Python, with the latest in Large Language Model (LLM) AI &#8220;prompts&#8221; with prompt templating, chaining, and planning capabilities. This enables you to build new experiences into your apps to bring unparalleled productivity for your users: like summarizing a lengthy chat exchange, flagging an important \u201cnext step\u201d that\u2019s added to your to-do list via Microsoft Graph, or planning a full vacation instead of just reserving a seat on a plane.<\/p>\n<p>SK is <a href=\"https:\/\/aka.ms\/sk\/repo\">available on GitHub<\/a> as an open-source framework and is accompanied by example apps and notebooks that illustrate how to get going quickly with LLM AI. Central to Semantic Kernel\u2019s design are \u201cSkills\u201d that developers can build as semantic or native code. The design of Skills has prioritized maximum flexibility for the developer to be both lightweight and extensible, and to work seamlessly with SK\u2019s Memories (for context) and Connectors (for live data and actions). Lastly, SK\u2019s \u201cPlanner\u201d facilitates complex tasks by taking a user\u2019s \u201cask\u201d and translates it into the Skills, Memories, and Connectors needed to achieve their goal.<\/p>\n<p>SK supports models from OpenAI, including the newly released GPT-4, and Azure OpenAI Service, and we hope to add more model support in the future. We designed SK to take advantage of emerging capabilities of next generation models like GPT-4. For example, both the Planner and Skills architectures were built for achieving outcomes instead of just outputs \u2014 in a more goal-oriented approach to programming that\u2019s embodied by SK\u2019s underlying architecture.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/semantic-kernel\/wp-content\/uploads\/sites\/78\/2023\/03\/fullview.png\"><img decoding=\"async\" class=\"size-full wp-image-80\" src=\"https:\/\/devblogs.microsoft.com\/semantic-kernel\/wp-content\/uploads\/sites\/78\/2023\/03\/fullview.png\" alt=\"SK takes a user's ask, creates a plan as a series of steps, and then gathers the Skills, Memory, Connectors it needs to get the user's ask fulfilled.\" width=\"1200\" height=\"291\" srcset=\"https:\/\/devblogs.microsoft.com\/agent-framework\/wp-content\/uploads\/sites\/78\/2023\/03\/fullview.png 1200w, https:\/\/devblogs.microsoft.com\/agent-framework\/wp-content\/uploads\/sites\/78\/2023\/03\/fullview-300x73.png 300w, https:\/\/devblogs.microsoft.com\/agent-framework\/wp-content\/uploads\/sites\/78\/2023\/03\/fullview-1024x248.png 1024w, https:\/\/devblogs.microsoft.com\/agent-framework\/wp-content\/uploads\/sites\/78\/2023\/03\/fullview-768x186.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/a><\/p>\n<p>With SK, you can now build AI-first apps faster by design while also having a front-row peek at how the SDK is being built. SK was built as an internal incubation project at Microsoft to offer flexibility to a developer adding AI capability into their app. It is being shared as an open-source project to further the world\u2019s shared understanding of how to develop software that incorporates LLM AI. We\u2019re inviting developers around the world to collaborate with us through GitHub Issues, Discussions, and <a href=\"https:\/\/aka.ms\/sk\/discord\">our Discord channel<\/a>.<\/p>\n<p>Key benefits of SK include the following:<\/p>\n<ul>\n<li><strong>Fast integration:<\/strong> SK is designed to be embedded in any kind of application, making it easy for you to test and get running with LLM AI.<\/li>\n<li><strong>Extensibility:<\/strong> With SK, you can connect with external data sources and services \u2014 giving their apps the ability to use natural language processing in conjunction with live information.<\/li>\n<li><strong>Better prompting:<\/strong> SK\u2019s templated prompts let you quickly design semantic functions with useful abstractions and machinery to unlock LLM AI\u2019s potential.<\/li>\n<li><strong>Novel-But-Familiar:<\/strong> Native code is always available to you as a first-class partner on your prompt engineering quest. You get the best of both worlds.<\/li>\n<\/ul>\n<p>Python has been central to this landmark year in AI, and it\u2019s available in the experimental branch <a href=\"https:\/\/aka.ms\/sk\/python\">in preview form<\/a> on the GitHub repo. At launch we support C# as the fastest way to get started, with our preview support for Python will be active in parallel. We also are looking carefully at TypeScript and other languages, and we will add language support based upon what we learn from the community.<\/p>\n<h2>Learn Semantic Kernel<\/h2>\n<p><a href=\"https:\/\/aka.ms\/sk\/li\/introducing-semantic-kernel\"><img decoding=\"async\" class=\"alignnone size-full wp-image-88\" src=\"https:\/\/devblogs.microsoft.com\/semantic-kernel\/wp-content\/uploads\/sites\/78\/2023\/03\/samjohnli.jpg\" alt=\"Two people talking with each other\" width=\"1920\" height=\"1080\" srcset=\"https:\/\/devblogs.microsoft.com\/agent-framework\/wp-content\/uploads\/sites\/78\/2023\/03\/samjohnli.jpg 1920w, https:\/\/devblogs.microsoft.com\/agent-framework\/wp-content\/uploads\/sites\/78\/2023\/03\/samjohnli-300x169.jpg 300w, https:\/\/devblogs.microsoft.com\/agent-framework\/wp-content\/uploads\/sites\/78\/2023\/03\/samjohnli-1024x576.jpg 1024w, https:\/\/devblogs.microsoft.com\/agent-framework\/wp-content\/uploads\/sites\/78\/2023\/03\/samjohnli-768x432.jpg 768w, https:\/\/devblogs.microsoft.com\/agent-framework\/wp-content\/uploads\/sites\/78\/2023\/03\/samjohnli-1536x864.jpg 1536w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p>Starting today, LinkedIn Learning has <a href=\"https:\/\/aka.ms\/sk\/li\/introducing-semantic-kernel\">a new course available on Semantic Kernel<\/a> <strong>for free<\/strong> to kickstart your learning journey. You can also learn more about Semantic Kernel from our <a href=\"https:\/\/aka.ms\/sk\/learn\">developer learning hub<\/a>\u00a0as SK evolves in the open. We\u2019re actively looking forward to getting feedback and input as we further evolve SK with the developer community.<\/p>\n<p><a href=\"https:\/\/aka.ms\/sk\/learn\"><img decoding=\"async\" class=\"alignnone wp-image-92 size-full\" src=\"https:\/\/devblogs.microsoft.com\/semantic-kernel\/wp-content\/uploads\/sites\/78\/2023\/03\/skpatternsmallbw.png\" alt=\"Pattern of spinning circle segments\" width=\"1211\" height=\"137\" srcset=\"https:\/\/devblogs.microsoft.com\/agent-framework\/wp-content\/uploads\/sites\/78\/2023\/03\/skpatternsmallbw.png 1211w, https:\/\/devblogs.microsoft.com\/agent-framework\/wp-content\/uploads\/sites\/78\/2023\/03\/skpatternsmallbw-300x34.png 300w, https:\/\/devblogs.microsoft.com\/agent-framework\/wp-content\/uploads\/sites\/78\/2023\/03\/skpatternsmallbw-1024x116.png 1024w, https:\/\/devblogs.microsoft.com\/agent-framework\/wp-content\/uploads\/sites\/78\/2023\/03\/skpatternsmallbw-768x87.png 768w\" sizes=\"(max-width: 1211px) 100vw, 1211px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Artificial intelligence (AI) and Large Language Models (LLM) are helping to transform the way we develop and interact with software. From chatbots to code generators, natural language is the future of user interaction, delivering delightful and intelligent &#8220;copilot&#8221; experiences. As these AI models become more prevalent and accessible, organizations and developers are looking for ways [&hellip;]<\/p>\n","protected":false},"author":111267,"featured_media":73,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[4,3],"class_list":["post-57","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-semantic-kernel","tag-beginner","tag-courses"],"acf":[],"blog_post_summary":"<p>Artificial intelligence (AI) and Large Language Models (LLM) are helping to transform the way we develop and interact with software. From chatbots to code generators, natural language is the future of user interaction, delivering delightful and intelligent &#8220;copilot&#8221; experiences. As these AI models become more prevalent and accessible, organizations and developers are looking for ways [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/agent-framework\/wp-json\/wp\/v2\/posts\/57","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/agent-framework\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/agent-framework\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/agent-framework\/wp-json\/wp\/v2\/users\/111267"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/agent-framework\/wp-json\/wp\/v2\/comments?post=57"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/agent-framework\/wp-json\/wp\/v2\/posts\/57\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/agent-framework\/wp-json\/wp\/v2\/media\/73"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/agent-framework\/wp-json\/wp\/v2\/media?parent=57"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/agent-framework\/wp-json\/wp\/v2\/categories?post=57"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/agent-framework\/wp-json\/wp\/v2\/tags?post=57"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}