In this video we are having a look at Kong's AI Prompt Decorator plugin. This plugin has some similarities with Kong's AI Template Plugin in the sense that we provide a structure to perform our requests. The difference is that, where with the Kong's AI Prompt Template plugin, we would define a set of parameters to fill in or implicit playload to send to our LLM mode via our AI gateway, in this case, we are adding a form of decoration. Decoration in this case is very much analogous to the way we use the Decorator pattern in object oriented programming, where we can enrich our methods and classes with some extra decoupled properties. That is the principle in this case, because with the decoration, we are creating a context to perform every question we want to make to AI. In this video we will see an example where I am asking some questions about a band. In the example I am asking about Metallica and we'll the response of the LLM Model, in this case with Mistral, and have fun with it. I hope you enjoy the video and have fun with it, and as always, remember to stay tech, keep programming, be kind and have a good one everyone! Cheers! 
 
--- 
Chapters: 
00:00:00 Start 
00:00:20 Introduction 
00:00:48 Revisiting Kong's AI Prompt Template plugin 
- https://www.youtube.com/watch?v=KODGfEqLUg0 
00:01:26 Revisiting Kong's AI Proxy plugin 
- https://www.youtube.com/watch?v=6Z8wWX-liBs 
00:03:04 Introduction to Kong's AI Prompt Decorator plugin 
00:05:01 Using Mistral's API Key in a nutshell 
00:05:48 Deep dive into AI Prompt Decorator plugin 
00:10:11 Making tests with the Decorator plugin 
00:14:31 End notes 
00:16:13 See you in the next video 
00:16:57 End Credits 
00:17:27 Disclaimer 
--- 
Soundtrack: 
- https://soundcloud.com/joaoesperancinha/slow-guitar-12-jesprotech 
--- 
Source code: 
- https://github.com/jesperancinha/kong-test-drives 
--- 
References: 
- https://docs.konghq.com/hub/kong-inc/ai-prompt-decorator/ 
--- 
Related videos: 
- https://youtu.be/Kw5GZnMnVhw 
- https://youtu.be/rJKbAzjb5lQ 
- https://youtu.be/z3Y4NQgjGLE 
- https://youtu.be/KE3VTYtLvnI 
- https://youtu.be/6Z8wWX-liBs 
--- 
As a short disclaimer, I'd like to mention that I'm not associated or affiliated with any of the brands eventually shown, displayed, or mentioned in this video. 
--- 
All my work and personal interests are also discoverable on other different sites: 
- My Website - https://joaofilipesabinoesperancinha.nl/ 
- Reddit - https://www.reddit.com/user/jesperancinha 
- Credly - https://www.credly.com/users/joao-esperancinha/badges 
- Pinterest - https://nl.pinterest.com/jesperancinha/ 
- Facebook -  https://www.facebook.com/joaofisaes/ 
- Spotify -  https://open.spotify.com/user/jlnozkcomrxgsaip7yvffpqqm 
- Daily Motion - https://www.dailymotion.com/jofisaes 
- Bluesky - https://bsky.app/profile/jesperancinha.bsky.social