Skip to content

Commit fcb9984

Browse files
Fix the programming language zones
1 parent 4dbe05c commit fcb9984

4 files changed

Lines changed: 20 additions & 54 deletions

File tree

semantic-kernel/concepts/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
href: enterprise-readiness/TOC.yml
77
- name: Memory (Vector Stores)
88
href: vector-store-connectors/TOC.yml
9-
- name: Prompt Engineering
9+
- name: Prompts
1010
href: prompts/TOC.yml
1111
- name: Plugins
1212
href: plugins/TOC.yml

semantic-kernel/concepts/prompts/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
- name: Prompts
1+
- name: Prompt Engineering with Semantic Kernel
22
href: index.md
33
- name: Semantic Kernel Prompt Templates
44
href: prompt-template-syntax.md

semantic-kernel/concepts/prompts/handlebars-prompt-templates.md

Lines changed: 16 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,8 @@ Install the [Microsoft.SemanticKernel.PromptTemplates.Handlebars](https://www.nu
2525
dotnet add package Microsoft.SemanticKernel.PromptTemplates.Handlebars
2626
```
2727

28-
::: zone-end
29-
::: zone pivot="programming-language-python"
30-
31-
::: zone-end
32-
::: zone pivot="programming-language-java"
33-
34-
## Coming soon
35-
36-
More coming soon.
37-
38-
::: zone-end
39-
4028
## How to use Handlebars templates programmatically
4129

42-
::: zone pivot="programming-language-csharp"
4330
The example below demonstrates a chat prompt template that utilizes Handlebars syntax. The template contains Handlebars expressions, which are denoted by `{{` and `}}`. When the template is executed, these expressions are replaced with values from an input object.
4431

4532
In this example, there are two input objects:
@@ -157,18 +144,6 @@ The output will look something like this:
157144
Hey, John! 👋 Your current membership level is Gold. 🏆 Enjoy all the perks that come with it! If you have any questions, feel free to ask. 😊
158145
```
159146

160-
::: zone-end
161-
::: zone pivot="programming-language-python"
162-
163-
More coming soon.
164-
165-
::: zone-end
166-
::: zone pivot="programming-language-java"
167-
168-
More coming soon.
169-
170-
::: zone-end
171-
172147
## How to use Handlebars templates in YAML prompts
173148

174149
You can create prompt functions from YAML files, allowing you to store your prompt templates alongside associated metadata and prompt execution settings. These files can be managed in version control, which is beneficial for tracking changes to complex prompts.
@@ -249,6 +224,22 @@ var response = await kernel.InvokeAsync(function, arguments);
249224
Console.WriteLine(response);
250225
```
251226

227+
::: zone-end
228+
::: zone pivot="programming-language-python"
229+
230+
## Coming soon for Python
231+
232+
More coming soon.
233+
234+
::: zone-end
235+
::: zone pivot="programming-language-java"
236+
237+
## Coming soon for Java
238+
239+
More coming soon.
240+
241+
::: zone-end
242+
252243
## Next steps
253244

254245
> [!div class="nextstepaction"]

semantic-kernel/concepts/prompts/liquid-prompt-templates.md

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
title: Using the Liquid prompt template language
33
description: Learn how to use the Liquid prompt template language with Semantic Kernel.
4-
zone_pivot_groups: programming-languages
54
author: markwallace
65
ms.topic: conceptual
76
ms.author: markwallace
@@ -15,7 +14,8 @@ Liquid is a straightforward templating language primarily used for generating HT
1514

1615
This article focuses on how to effectively use Liquid templates to generate prompts.
1716

18-
::: zone pivot="programming-language-csharp"
17+
> [!TIP]
18+
> Liquid prompt templates are only supported in .Net at this time. If you want a prompt template format that works across .Net, Python and Java use [Handlebars prompts](./handlebars-prompt-templates.md).
1919
2020
## Installing Liquid Prompt Template Support
2121

@@ -25,21 +25,8 @@ Install the [Microsoft.SemanticKernel.PromptTemplates.Liquid](https://www.nuget.
2525
dotnet add package Microsoft.SemanticKernel.PromptTemplates.Liquid
2626
```
2727

28-
::: zone-end
29-
::: zone pivot="programming-language-python"
30-
31-
::: zone-end
32-
::: zone pivot="programming-language-java"
33-
34-
## Coming soon
35-
36-
More coming soon.
37-
38-
::: zone-end
39-
4028
## How to use Liquid templates programmatically
4129

42-
::: zone pivot="programming-language-csharp"
4330
The example below demonstrates a chat prompt template that utilizes Liquid syntax. The template contains Liquid expressions, which are denoted by `{{` and `}}`. When the template is executed, these expressions are replaced with values from an input object.
4431

4532
In this example, there are two input objects:
@@ -157,18 +144,6 @@ The output will look something like this:
157144
Hey, John! 👋 Your current membership level is Gold. 🏆 Enjoy all the perks that come with it! If you have any questions, feel free to ask. 😊
158145
```
159146

160-
::: zone-end
161-
::: zone pivot="programming-language-python"
162-
163-
More coming soon.
164-
165-
::: zone-end
166-
::: zone pivot="programming-language-java"
167-
168-
More coming soon.
169-
170-
::: zone-end
171-
172147
## How to use Liquid templates in YAML prompts
173148

174149
You can create prompt functions from YAML files, allowing you to store your prompt templates alongside associated metadata and prompt execution settings. These files can be managed in version control, which is beneficial for tracking changes to complex prompts.

0 commit comments

Comments
 (0)