Is Hugging Face's security guidance better than prompt engineering for LLM firewalls?
We are building an internal AI tool and are worried about prompt injection. Is there any guidance better than prompt engineering for using Hugging Face models to build a "security firewall" around our main LLM? I've heard about using smaller models to scan inputs for malicious intent, but is that actually effective compared to just writing a very strict system prompt?
Write a Comment
Your email address will not be published. Required fields are marked (*)