Skip to content

Commit 27e027b

Browse files
authored
changed files by pdets auto publish service, publishid[596f7d69-7cff-422c-b174-788cea510062] and do [publish].
1 parent b77b2d4 commit 27e027b

19 files changed

+594
-235
lines changed

learn-pr/wwl-azure/combine-prompts-functions/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: 07/04/2024
7+
ms.date: 01/27/2025
88
author: wwlpublish
99
ms.author: buzahid
1010
ms.topic: unit

learn-pr/wwl-azure/combine-prompts-functions/2-call-functions-within-prompts.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.combine-prompts-functions.understand-prompt-injections
3+
title: Understand prompt injections
4+
metadata:
5+
title: Understand prompt injections
6+
description: "Understand prompt injections"
7+
ms.date: 01/27/2025
8+
author: wwlpublish
9+
ms.author: buzahid
10+
ms.topic: unit
11+
ms.custom:
12+
- N/A
13+
durationInMinutes: 10
14+
content: |
15+
[!include[](includes/2-understand-prompt-injections.md)]
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.combine-prompts-functions.exercise-apply-trust-filters
3+
title: Exercise - Apply trust filters
4+
metadata:
5+
title: Exercise - Apply trust filters
6+
description: "Exercise - Apply trust filters"
7+
ms.date: 01/27/2025
8+
author: wwlpublish
9+
ms.author: buzahid
10+
ms.topic: unit
11+
ms.custom:
12+
- N/A
13+
durationInMinutes: 10
14+
content: |
15+
[!include[](includes/3-exercise-apply-trust-filters.md)]

learn-pr/wwl-azure/combine-prompts-functions/3-exercise-use-nested-functions-song-suggestions.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.combine-prompts-functions.filter-invoked-functions
3+
title: Filter invoked functions
4+
metadata:
5+
title: Filter invoked functions
6+
description: "Filter invoked functions"
7+
ms.date: 01/27/2025
8+
author: wwlpublish
9+
ms.author: buzahid
10+
ms.topic: unit
11+
ms.custom:
12+
- N/A
13+
durationInMinutes: 10
14+
content: |
15+
[!include[](includes/4-filter-invoked-functions.md)]

learn-pr/wwl-azure/combine-prompts-functions/4-knowledge-check.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.combine-prompts-functions.exercise-add-filter-service-to-kernel
3+
title: Exercise - Add a filter service to the kernel
4+
metadata:
5+
title: Exercise - Add a filter service to the kernel
6+
description: "Exercise - Add a filter service to the kernel"
7+
ms.date: 01/27/2025
8+
author: wwlpublish
9+
ms.author: buzahid
10+
ms.topic: unit
11+
ms.custom:
12+
- N/A
13+
durationInMinutes: 8
14+
content: |
15+
[!include[](includes/5-exercise-add-filter-service-to-kernel.md)]
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.combine-prompts-functions.knowledge-check
3+
title: Knowledge check
4+
metadata:
5+
title: Knowledge check
6+
description: "Knowledge check"
7+
ms.date: 01/27/2025
8+
author: wwlpublish
9+
ms.author: buzahid
10+
ms.topic: unit
11+
ms.custom:
12+
- N/A
13+
durationInMinutes: 3
14+
quiz:
15+
title: "Check your knowledge"
16+
questions:
17+
- content: "What can an attacker achieve through prompt injection attacks?"
18+
choices:
19+
- content: "Attacker can increase the processing speed of the AI model."
20+
isCorrect: false
21+
explanation: "Incorrect. Prompt injection attacks exploit vulnerabilities in the input, not performance."
22+
- content: "Attacker can manipulate the AI’s behavior by altering input prompts and injecting malicious instructions."
23+
isCorrect: true
24+
explanation: "Correct. Prompt injections can cause the AI to perform unintended or harmful actions."
25+
- content: "Attacker can enhance the quality of the AI-generated content."
26+
isCorrect: false
27+
explanation: "Incorrect. Prompt injections compromise the integrity and accuracy of the AI’s output."
28+
- content: "How can developers control which content is trusted in the Semantic Kernel SDK?"
29+
choices:
30+
- content: "Developers must trust all content by default for the system to function."
31+
isCorrect: false
32+
explanation: "Incorrect. Developers can specify which content should be trusted."
33+
- content: "Developers can set AllowUnsafeContent = true to trust specific input variables or function call results."
34+
isCorrect: true
35+
explanation: "Correct. This allows developers to selectively trust certain elements while maintaining security."
36+
- content: "Developers cannot configure trusted content; the SDK automatically handles everything."
37+
isCorrect: false
38+
explanation: "Incorrect. Developers can configure the trust level of input variables or function results."
39+
- content: "Which of the following is a feature of the Function Invocation Filter in the Semantic Kernel SDK?"
40+
choices:
41+
- content: "It can modify prompts before submission to the AI model."
42+
isCorrect: false
43+
explanation: "Incorrect. This is the role of the Prompt Render Filter, not the Function Invocation Filter."
44+
- content: "It automatically terminates the function invocation process."
45+
isCorrect: false
46+
explanation: "Incorrect. This is the role of the Auto Function Invocation Filter."
47+
- content: "It can log function invocations and validate actions before and after execution."
48+
isCorrect: true
49+
explanation: "Correct. The Function Invocation Filter can log actions and validate them."

learn-pr/wwl-azure/combine-prompts-functions/5-summary.yml renamed to learn-pr/wwl-azure/combine-prompts-functions/7-summary.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ title: Summary
44
metadata:
55
title: Summary
66
description: "Summary"
7-
ms.date: 07/04/2024
7+
ms.date: 01/27/2025
88
author: wwlpublish
99
ms.author: buzahid
1010
ms.topic: unit
1111
ms.custom:
1212
- N/A
1313
durationInMinutes: 3
1414
content: |
15-
[!include[](includes/5-summary.md)]
15+
[!include[](includes/7-summary.md)]

0 commit comments

Comments
 (0)