{"id":3403,"date":"2024-09-25T07:30:34","date_gmt":"2024-09-25T14:30:34","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/semantic-kernel\/?p=3403"},"modified":"2024-09-25T07:30:34","modified_gmt":"2024-09-25T14:30:34","slug":"integrating-ai-into-business-processes-with-the-process-framework","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/agent-framework\/integrating-ai-into-business-processes-with-the-process-framework\/","title":{"rendered":"Integrating AI into Business Processes with the Process Framework"},"content":{"rendered":"<p>As organizations look to enhance efficiency and decision-making, the integration of AI into business processes has become increasingly important. The new\u00a0<strong>Process Framework<\/strong> for Microsoft Semantic Kernel\u00a0empowers developers to seamlessly embed AI into their workflows, providing a structured approach to optimizing daily operations.<\/p>\n<p>Not sure what a business process is? A Process is a structured sequence of activities or tasks that deliver a service or product, adding value in alignment with specific business goals for customers.<\/p>\n<p>The Process Framework enables the fusion of AI directly into various business processes. It allows developers to create intelligent workflows that can adapt and learn, significantly enhancing operations such as customer support, project management, and more.\u00a0 Let&#8217;s learn about the core concepts.<\/p>\n<p>&nbsp;<\/p>\n<h4><u>Core Concepts<\/u><\/h4>\n<p>Understanding the three foundational components of the Process Framework is essential:<\/p>\n<ul>\n<li><strong>Process<\/strong>: A structured collection of steps designed to achieve a specific business goal. For example, the process of customer onboarding can aggregate various tasks such as account creation, credit checks, and welcome communications.<\/li>\n<li><strong>Step<\/strong>: An individual task within the process that has defined inputs and outputs. Each step performs specific functions, such as invoking user-defined Kernel Functions to carry out its work.\u00a0 This means a step can be code-only, call APIs, leverage AI Agents (via the SK Agent Framework [<a href=\"https:\/\/github.com\/microsoft\/semantic-kernel\/tree\/main\/dotnet\/samples\/GettingStartedWithAgents\">.NET<\/a> | <a href=\"https:\/\/github.com\/microsoft\/semantic-kernel\/tree\/main\/python\/samples\/getting_started_with_agents\">Python<\/a>]) and even be Human-in-the-loop or a mix of any\/all of these!<\/li>\n<li><strong>Pattern<\/strong>: The sequence type that dictates how steps are executed. Patterns can standardize common workflows, making it easier to implement frequent operations. Examples include Fan In, Fan Out, Cycle and Map Reduce which help manage input and output flows effectively.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/semantic-kernel\/wp-content\/uploads\/sites\/78\/2024\/09\/ProcessPic1-1.png\"><img decoding=\"async\" class=\"wp-image-3408 aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/semantic-kernel\/wp-content\/uploads\/sites\/78\/2024\/09\/ProcessPic1-1-993x1024.png\" alt=\"Image ProcessPic1\" width=\"485\" height=\"500\" srcset=\"https:\/\/devblogs.microsoft.com\/agent-framework\/wp-content\/uploads\/sites\/78\/2024\/09\/ProcessPic1-1-993x1024.png 993w, https:\/\/devblogs.microsoft.com\/agent-framework\/wp-content\/uploads\/sites\/78\/2024\/09\/ProcessPic1-1-291x300.png 291w, https:\/\/devblogs.microsoft.com\/agent-framework\/wp-content\/uploads\/sites\/78\/2024\/09\/ProcessPic1-1-768x792.png 768w, https:\/\/devblogs.microsoft.com\/agent-framework\/wp-content\/uploads\/sites\/78\/2024\/09\/ProcessPic1-1-1489x1536.png 1489w, https:\/\/devblogs.microsoft.com\/agent-framework\/wp-content\/uploads\/sites\/78\/2024\/09\/ProcessPic1-1-24x24.png 24w, https:\/\/devblogs.microsoft.com\/agent-framework\/wp-content\/uploads\/sites\/78\/2024\/09\/ProcessPic1-1-48x48.png 48w, https:\/\/devblogs.microsoft.com\/agent-framework\/wp-content\/uploads\/sites\/78\/2024\/09\/ProcessPic1-1.png 1776w\" sizes=\"(max-width: 485px) 100vw, 485px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h4><u>Key Features<\/u><\/h4>\n<p>A significant advantage of the Process Framework is its foundation on Semantic Kernel. Organizations already invested in Semantic Kernel can utilize their existing functions within new processes, leading to enhanced capabilities without the need for substantial redevelopment efforts. The Process Framework is designed for scalability, whether deployed on-premises or in the cloud. It supports both local development environments and robust cloud infrastructure.<\/p>\n<p>Process Framework leveraging runtimes like <a href=\"https:\/\/learn.microsoft.com\/en-us\/dotnet\/orleans\/overview\">Microsoft Orleans<\/a> and <a href=\"https:\/\/dapr.io\/\">Dapr<\/a> and allows organizations to manage workloads effectively while ensuring high availability and responsiveness. With its event-driven architecture, the framework can handle complex workflows, such as customer support ticket resolution that involves multiple subprocesses.<\/p>\n<p>Process and Steps are both stateful leveraging the runtimes above to enable long running tasks and both can be reused across multiple Processes.\u00a0 Because this is built for enterprises &#8211; you have Open Telemetry throughout, and the Process can be auditable as needed.<\/p>\n<p>&nbsp;<\/p>\n<h4><u>Real-World Examples<\/u><\/h4>\n<p>To illustrate how the Process Framework can be effectively deployed, consider these scenarios:<\/p>\n<ol>\n<li><strong>Account Opening<\/strong>: The process could include steps like conducting a credit check, creating the account in core systems, and sending a welcome email to the customer. Each of these tasks can be represented as steps within the overarching process.<\/li>\n<li><strong>Food Delivery<\/strong>: Involves steps such as receiving the order from various platforms (phone, website, app), preparing food items, conducting quality control, and managing driver assignments. By integrating AI, these steps can improve logistics and delivery response times.<\/li>\n<li><strong>Support Ticket Resolution<\/strong>: This process can be dynamic, adapted based on customer requirements and business goals, utilizing steps to efficiently track and resolve issues while ensuring customer satisfaction.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h4><u>Get Started<\/u><\/h4>\n<p>To begin utilizing the Process Framework, explore the <a href=\"https:\/\/aka.ms\/sk\/process\/dotnet\">.NET samples<\/a> available on GitHub. These samples serve as a foundational resource for understanding how to implement the framework into your applications. You can also learn more by checking out the <a href=\"https:\/\/aka.ms\/sk\/process\/learn\">P<\/a><a href=\"https:\/\/aka.ms\/sk\/process\/learn\">rocess Framework learning content<\/a>.<\/p>\n<p>We can&#8217;t wait to hear about the business value you can bring by using the framework!\u00a0 Embrace this opportunity to redefine your workflows and discover what\u2019s possible with AI-driven processes.<\/p>\n<p>Please reach out if you have any questions or feedback through our\u00a0<a href=\"https:\/\/github.com\/microsoft\/semantic-kernel\/discussions\/categories\/general\" target=\"_blank\" rel=\"noopener\">Semantic Kernel GitHub Discussion Channel<\/a>. We look forward to hearing from you!\u00a0We would also love your support, if you\u2019ve enjoyed using Semantic Kernel, give us a star on\u00a0<a href=\"https:\/\/github.com\/microsoft\/semantic-kernel\" target=\"_blank\" rel=\"noopener\">GitHub<\/a>.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As organizations look to enhance efficiency and decision-making, the integration of AI into business processes has become increasingly important. The new\u00a0Process Framework for Microsoft Semantic Kernel\u00a0empowers developers to seamlessly embed AI into their workflows, providing a structured approach to optimizing daily operations. Not sure what a business process is? A Process is a structured sequence [&hellip;]<\/p>\n","protected":false},"author":111479,"featured_media":73,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[47,17,96,1],"tags":[79,48,82,97],"class_list":["post-3403","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-announcement","category-announcements","category-process-framework","category-semantic-kernel","tag-net","tag-ai","tag-announcement","tag-process-framework"],"acf":[],"blog_post_summary":"<p>As organizations look to enhance efficiency and decision-making, the integration of AI into business processes has become increasingly important. The new\u00a0Process Framework for Microsoft Semantic Kernel\u00a0empowers developers to seamlessly embed AI into their workflows, providing a structured approach to optimizing daily operations. Not sure what a business process is? A Process is a structured sequence [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/agent-framework\/wp-json\/wp\/v2\/posts\/3403","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\/111479"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/agent-framework\/wp-json\/wp\/v2\/comments?post=3403"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/agent-framework\/wp-json\/wp\/v2\/posts\/3403\/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=3403"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/agent-framework\/wp-json\/wp\/v2\/categories?post=3403"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/agent-framework\/wp-json\/wp\/v2\/tags?post=3403"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}