AI Semantic Prompt Guard

AI License Required

Only deny messages about a specific topic.v3.8+

Only deny messages about a specific topic. For example, only deny messages about exploiting vulnerabilities.

For a detailed walkthrough, see Use AI Semantic Prompt Guard plugin to govern your LLM traffic.

Prerequisites

Environment variables

  • OPENAI_API_KEY: Your OpenAI API key

  • REDIS_HOST: The host where your Redis instance runs

Set up the plugin

Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!