Skip to content

Commit 76914c1

Browse files
authored
Merge pull request #48803 from wwlpublish/f45950ca294d0e1a0783c6be78e8c348475ad2ca4e63a690b80256917b5163e1-live
Modules/M01-build-your-kernel
2 parents 55052e3 + 92e9e2f commit 76914c1

18 files changed

+83
-80
lines changed

learn-pr/wwl-azure/build-your-kernel/1-introduction.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Introduction
44
metadata:
55
title: Introduction
66
description: "Introduction"
7-
ms.date: 06/11/2024
7+
ms.date: 01/23/2025
88
author: wwlpublish
99
ms.author: buzahid
1010
ms.topic: unit

learn-pr/wwl-azure/build-your-kernel/2-what-semantic-kernel.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: What is semantic kernel
44
metadata:
55
title: What is semantic kernel
66
description: "What is semantic kernel"
7-
ms.date: 06/11/2024
7+
ms.date: 01/23/2025
88
author: wwlpublish
99
ms.author: buzahid
1010
ms.topic: unit

learn-pr/wwl-azure/build-your-kernel/3-why-use-semantic-kernel.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Why use semantic kernel
44
metadata:
55
title: Why use semantic kernel
66
description: "Why use semantic kernel"
7-
ms.date: 06/11/2024
7+
ms.date: 01/23/2025
88
author: wwlpublish
99
ms.author: buzahid
1010
ms.topic: unit

learn-pr/wwl-azure/build-your-kernel/4-how-build-your-kernel.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: How to build your kernel
44
metadata:
55
title: How to build your kernel
66
description: "How to build your kernel"
7-
ms.date: 06/11/2024
7+
ms.date: 01/23/2025
88
author: wwlpublish
99
ms.author: buzahid
1010
ms.topic: unit

learn-pr/wwl-azure/build-your-kernel/5-exercise-create-your-endpoint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Exercise - Create your endpoint
44
metadata:
55
title: Exercise - Create your endpoint
66
description: "Exercise - Create your endpoint"
7-
ms.date: 06/11/2024
7+
ms.date: 01/23/2025
88
author: wwlpublish
99
ms.author: buzahid
1010
ms.topic: unit

learn-pr/wwl-azure/build-your-kernel/6-exercise-build-kernel-object.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Exercise - Build a kernel object
44
metadata:
55
title: Exercise - Build a kernel object
66
description: "Exercise - Build a kernel object"
7-
ms.date: 06/11/2024
7+
ms.date: 01/23/2025
88
author: wwlpublish
99
ms.author: buzahid
1010
ms.topic: unit

learn-pr/wwl-azure/build-your-kernel/7-knowledge-check.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Knowledge check
44
metadata:
55
title: Knowledge check
66
description: "Check your knowledge"
7-
ms.date: 06/11/2024
7+
ms.date: 01/23/2025
88
author: wwlpublish
99
ms.author: buzahid
1010
ms.topic: unit
@@ -19,23 +19,12 @@ quiz:
1919
- content: "Semantic Kernel SDK primarily functions as a standalone AI application."
2020
isCorrect: false
2121
explanation: "Incorrect. The Semantic Kernel SDK isn't a standalone AI application."
22-
- content: "Semantic Kernel SDK acts as an AI orchestration layer between code and large language models."
23-
isCorrect: true
24-
explanation: "Correct. Semantic Kernel provides a layer for seamless integration with large language models."
2522
- content: "Semantic Kernel SDK is exclusively designed for gaming applications."
2623
isCorrect: false
2724
explanation: "Incorrect. The Semantic Kernel SDK isn't exclusively designed for gaming applications."
28-
- content: "What are connectors in the Semantic Kernel SDK?"
29-
choices:
30-
- content: "Connectors in the Semantic Kernel SDK refer to electrical components."
31-
isCorrect: false
32-
explanation: "Incorrect. Connectors in the Semantic Kernel SDK are not electrical components."
33-
- content: "Connectors connect the application code to the internet."
34-
isCorrect: false
35-
explanation: "Incorrect. Connectors in the Semantic Kernel SDK aren't responsible for connecting the application code to the internet."
36-
- content: "Connectors serve as the bridge between application code and AI models."
25+
- content: "Semantic Kernel SDK acts as a bridge between code and large language models."
3726
isCorrect: true
38-
explanation: "Correct. Connectors facilitate the integration process."
27+
explanation: "Correct. Semantic Kernel provides a layer for seamless integration with large language models."
3928
- content: "Which of the following statements is true about the Semantic Kernel SDK?"
4029
choices:
4130
- content: "Semantic Kernel SDK adds unnecessary complexity and developers should avoid it."
@@ -46,4 +35,15 @@ quiz:
4635
explanation: "Correct. Semantic Kernel SDK eases AI integration by providing abstraction and orchestration."
4736
- content: "Semantic Kernel SDK is only suitable for advanced AI developers."
4837
isCorrect: false
49-
explanation: "Incorrect. The Semantic Kernel SDK is suitable for developers of all levels."
38+
explanation: "Incorrect. The Semantic Kernel SDK is suitable for developers of all levels."
39+
- content: "How does the Semantic Kernel handle prompts sent to an AI service?"
40+
choices:
41+
- content: "It builds the prompt using a provided template and processes the response."
42+
isCorrect: true
43+
explanation: "Correct. The kernel builds the prompt, sends it to the AI service, receives the response, and parses it before returning it to the application."
44+
- content: "It selects multiple AI services simultaneously to run the prompt."
45+
isCorrect: false
46+
explanation: "Incorrect. The kernel selects the best single AI service to run the prompt."
47+
- content: "It bypasses the use of templates to streamline the workflow."
48+
isCorrect: false
49+
explanation: "Incorrect. The kernel uses provided prompt templates as part of the process."

learn-pr/wwl-azure/build-your-kernel/8-summary.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Summary
44
metadata:
55
title: Summary
66
description: "Summary"
7-
ms.date: 06/11/2024
7+
ms.date: 01/23/2025
88
author: wwlpublish
99
ms.author: buzahid
1010
ms.topic: unit

learn-pr/wwl-azure/build-your-kernel/includes/1-introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Semantic Kernel is an open source SDK that allows you to integrate large language models (LLMs) into your own code. Using the Semantic Kernel SDK, you can create intelligent applications that understand and respond to natural language prompts. The possibilities of artificially intelligent (AI) applications are endless, and the Semantic Kernel SDK can help you create AI agents that can automate tasks, provide personalized recommendations, and more.
1+
Semantic Kernel is an open source SDK that allows you to integrate large language models (LLMs) into your own code. Using the Semantic Kernel SDK, you can create intelligent applications respond and react to natural language prompts. The possibilities of artificially intelligent (AI) applications are endless, and the Semantic Kernel SDK can help you create AI agents that automate tasks, provide personalized recommendations, and more.
22

33
Suppose you're a developer for Margie's Travel, a global leader in the travel and hospitality industry. You're tasked with creating a personalized AI travel agent. Rather than creating your own language processing model from scratch, you can use the Semantic Kernel to interface with the language model of your choice and create an AI agent that can:
44

learn-pr/wwl-azure/build-your-kernel/includes/2-what-semantic-kernel.md

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,18 @@ An AI agent is a program that can achieve predetermined goals. AI agents are pow
1212

1313
## What's Semantic Kernel?
1414

15-
Semantic Kernel integrates LLMs like OpenAI, Azure OpenAI, and Hugging Face with conventional programming languages like C#, Python, and Java. Developers can create "plugins" to interface with the LLMs and perform various tasks. The Semantic Kernel SDK also provides built-in plugins that can quickly enhance an application. Developers can easily utilize LLMs in their own applications without having to learn the intricacies the model's API.
15+
Semantic Kernel integrates LLMs like OpenAI, Azure OpenAI, and Hugging Face with conventional programming languages like C#, Python, and Java. Using the SDK, developers can create "plugins" to interface with the LLMs and perform various tasks. The Semantic Kernel SDK acts as a bridge between AI capabilities and traditional code, which helps simplify the process of developing AI-powered applications. Developers can easily utilize LLMs in their own applications without having to learn the intricacies the model's API.
1616

17-
:::image type="content" source="../media/semantic-kernel-graphic.png" alt-text="Screenshot of a stack graphic representing the key components of the Semantic Kernel SDK.":::
17+
The kernel is the central component of the Semantic Kernel. The kernel acts as a dependency injection container that manages all of the services and plugins needed to run your AI application. This provides developers with a centralized location to configure and monitor their AI agents. For example, suppose you invoke a prompt from the kernel. The kernel will perform the following actions:
1818

19-
The key components of the Semantic Kernel SDK are:
19+
1. Select the best AI service to run the prompt.
20+
1. Build the prompt using the provided prompt template.
21+
1. Send the prompt to the AI service.
22+
1. Receive and parse the response.
23+
1. Return the response from the LLM to your application.
2024

21-
- AI Orchestration Layer
25+
Throughout this entire process, you can create events and middleware that are triggered at any of these steps. This means you can perform actions like logging, provide status updates to users, and implement responsible AI.
2226

23-
The core of the Semantic Kernel stack is an AI orchestration layer that allows the seamless integration of AI models and plugins. This layer is responsible for combining these components to craft innovative user interactions.
27+
:::image type="content" source="../media/kernel-graphic.png" alt-text="Screenshot of a stack graphic representing the key components of the Semantic Kernel SDK.":::
2428

25-
- Connectors
26-
27-
The Semantic Kernel SDK offers a set of connectors that enable developers to integrate LLMs into their existing applications. These connectors serve as the bridge between the application code and the AI models.
28-
29-
- Plugins
30-
31-
The Semantic Kernel SDK operates on plugins, essentially serving as the "body" of the AI app. Plugins consist of prompts that you want the AI model to respond to and functions that can complete specialized tasks. Developers can use built-in plugins, or create their own.
32-
33-
For developers eager to delve into AI development, the Semantic Kernel SDK opens the door to creating your own AI agent. The SDK seamlessly integrates models and custom plugins that enable you to create unique and impactful user experiences.
29+
For developers eager to delve into AI development, the Semantic Kernel SDK opens the door to creating your own AI agent. The SDK seamlessly integrates AI models and custom plugins that enable you to create unique and impactful user experiences.

0 commit comments

Comments
 (0)