Detect Prompt Injection

This step is designed to detect prompt injections.

Configuration

  1. Maximum input length: defines how many words the query is allowed to be long.

  2. Fallback query: this is the fallback query if a prompt was detected