Files
langchain/docs
Oleksandr Yaremchuk d82a3828f2 Improve prompt injection detection (#14842)
- **Description:** This is addition to [my previous
PR](https://github.com/langchain-ai/langchain/pull/13930) with
improvements to flexibility allowing different models and notebook to
use ONNX runtime for faster speed. Since the last PR, [our
model](https://huggingface.co/laiyer/deberta-v3-base-prompt-injection)
got more than 660k downloads, and with the [public
benchmark](https://huggingface.co/spaces/laiyer/prompt-injection-benchmark)
showed much fewer false-positives than the previous one from deepset.
Additionally, on the ONNX runtime, it can be running 3x faster on the
CPU, which might be handy for builders using Langchain.
 **Issue:** N/A
 - **Dependencies:** N/A
 - **Tag maintainer:** N/A 
- **Twitter handle:** `@laiyer_ai`
2023-12-18 17:50:21 -08:00
..
2023-12-15 17:46:12 -08:00
2023-12-17 12:55:49 -08:00
2023-12-17 12:55:49 -08:00
2023-12-17 12:55:49 -08:00
2023-12-17 12:55:49 -08:00
2023-12-17 14:54:48 -08:00

LangChain Documentation

For more information on contributing to our documentation, see the Documentation Contributing Guide