Skip to main content

How to Prevent Prompt Injection in RAG Pipelines

Scan retrieved documents at index time where possible, and always scan assembled context at inference time through a gateway that normalizes obfuscated instructions.

Scan retrieved documents at index time where possible, and always scan assembled context at inference time through a gateway that normalizes obfuscated instructions.