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.
Practice: Using prompt templates
From the course: Semantic Kernel in Action: Fundamentals
Practice: Using prompt templates
- [Instructor] Next we are going to practice prompt template creation. We're going to start with our base project. Add references, plugins, then create a handlebars template and a prompt function, wrapping it to provide some input to work, and then try it. We'll open our Codespaces, right click, open new tab. All right, we are now in 03_08B chapter three, video eight at the beginning. We have nothing here, so we will need to add something, but first, to check where we are and move to where we should be. (keyboard keys clacking) All right. (keyboard keys clacking) We installed the handlebars. Good. One thing here to do is we're going to create a folder and create a new file. And here, (keyboard keys clacking) semantic kernel. Let's check it. Yeah, 083, perfect. And here I will create a native function that we will need later. So as done before here have a kernel function, get the current time, and time provides now to string. Yep, and we don't have any parameter. That's basically it…
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)
-
-
-
-
-