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

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