A simple idea can go a long way, and templating for our AI gateways can take us very far. Kong API gateway provides a free and open source plugin that allow us to do just that. In this particular way, we can use exactly the same endpoint to send messages in the standar normal way of sending requests to a chat bot, but we can also send customized payloads where we specify the template we want to use, and also the value of the different fields it requires. That is all what this video is about and I provide three different examples to understand how a chat bot with AI behaves with direct questions, subjective questions and questions where it knows nothing about, so come along wiht me to learn more about Kong's AI Prompt Template plugin! And as usual, stay tech, keep programming, be kind, and have a good one everyone!
---
Chapters:
00:00:00
---
Source code:
- https://github.com/jesperancinha/kong-test-drives
---
Soundtrack:
- https://soundcloud.com/joaoesperancinha/slow-guitar-8-jesprotech
---
References:
- https://docs.konghq.com/hub/kong-inc/ai-prompt-template/
---
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
---
If you have any questions about this video please put a comment in the comment section below and I will be more than happy to help you or discuss any related topic you'd like to discuss.
If you want to discover more about my open-source work please visit me on GitHub at:
- GitHub - https://github.com/jesperancinha