From the course: Semantic Kernel in Action: Fundamentals
Unlock the full course today
Join today to access over 24,400 courses taught by industry experts.
Using prompt templates
From the course: Semantic Kernel in Action: Fundamentals
Using prompt templates
- [Instructor] Ever wonder how AI-powered applications can be so dynamic and responsive, adapting to a wide range of complex tasks and different kinds of usage? Today, we are unlocking one of the secrets behind this versatility: prompt templates. These templates are crucial for adding flexibility and streamlining your AI applications. Let's start by diving into Semantic Kernel Templating language. Imagine being able to dynamically alter your AI prompts, automatically replacing them with input variables, or functions, or even nesting functions. That's not bad, but we wanted more. How about enabling some advanced logic in the model, like conditionals and loops? With the risk of Semantic Kernel 1.0, we have embraced the power of Handlebars. Handlebars, it's a templating language and engine that brings variables, conditionals, and loops, and much, much more to the table. As it has many functionalities still getting baked into it, like partials and helpers, it makes it a primary choice for…
Contents
-
-
-
-
-
(Locked)
Introduction to plug-ins3m 6s
-
(Locked)
Developing prompt functions5m 40s
-
(Locked)
Practice: Developing prompt functions12m 12s
-
(Locked)
Developing native functions2m 8s
-
(Locked)
Practice: Developing native functions8m 53s
-
(Locked)
Using out-of-the-box plug-ins2m 46s
-
(Locked)
Using prompt templates4m 26s
-
(Locked)
Practice: Using prompt templates6m 54s
-
(Locked)
Invoking and chaining functions2m 57s
-
(Locked)
Practice: Invoking and chaining functions8m 8s
-
(Locked)
-
-
-
-
-