medium10 pts · first answer countsllm-safetyprompt-injectionstructured-output
A classifier that can only say five words
A ticket router reads untrusted customer emails, but its output is forced into a JSON enum of five queue names. Why does this help against injection?
Discussion 0
Join free to post in the discussion.
Related questions
- Prefilling the responsePrompt Engineer
- Jailbreak or prompt injectionPrompt Engineer
- Customer data in promptsPrompt Engineer
- Tracking broken JSONPrompt Engineer
- Top risk in the OWASP LLM listPrompt Engineer
- What "guardrails" meansPrompt Engineer
- Checking before and after the modelPrompt Engineer
- Tool access for an FAQ botPrompt Engineer