Skip to playerSkip to main contentSkip to footer
  • 3/13/2025
We can consider this video to be a follow-up of the previous I did about the AI Proxy plugin for the Kong API gateway (https://youtu.be/6Z8wWX-liBs). This video, however is more about how can we filter out the good from the bad in terms of questions we want to make available to the users of a certain AI that we want to control. Mind you, LLM providers have their own regulations in place, but sometimes, we may want to have even more fine grain control over it. This video isn't so much about the different strategies on how to do it, but more about how to use a tool at our disposal from the selection of the Kong AI plugins for our gateway. Here, we are only using Regular Expressions to control which questions we allow (by denying everything that not matches), and the questions we do NOT allow. The latter are forbidden expressions that we may NOT want to use in our AI gateway. With this video you'll know some basics, some quirks, and some perks of using the AI Prompt Guard plugin for Kong API gateways. Remember to stay tech, keep programming, be kind, and have a good one!

---

Chapters:

00:00:00

---

Source code:

- https://github.com/jesperancinha/kong-test-drives

---

Soundtrack:

- https://soundcloud.com/joaoesperancinha/slow-guitar-7-jesprotech

---

References:

- https://docs.konghq.com/hub/kong-inc/ai-prompt-guard/

---

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

Recommended