This commit is contained in:
Georgi Gerganov 2024-04-03 20:47:19 +03:00 committed by GitHub
parent 418d50d9f8
commit 0614a58439
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,7 +31,7 @@ For maximum security when handling untrusted inputs, you may need to employ the
* Validation: Enforce strict rules on allowed characters and data types. * Validation: Enforce strict rules on allowed characters and data types.
* Filtering: Remove potentially malicious scripts or code fragments. * Filtering: Remove potentially malicious scripts or code fragments.
* Encoding: Convert special characters into safe representations. * Encoding: Convert special characters into safe representations.
* Verification: Run tooling that identifies potential script injections (e.g. [models that detect prompt injection attempts](https://python.langchain.com/docs/guides/safety/hugging_face_prompt_injection)). * Verification: Run tooling that identifies potential script injections (e.g. [models that detect prompt injection attempts](https://python.langchain.com/docs/guides/safety/hugging_face_prompt_injection)).
### Data privacy ### Data privacy