langchain/libs
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
..
cli cli[patch]: unicode issue (#14672) 2023-12-13 11:14:51 -08:00
community Update kendra.py to avoid Kendra query ValidationException (#14866) 2023-12-18 17:46:18 -08:00
core docstrings core update (#14871) 2023-12-18 17:13:35 -08:00
experimental Improve prompt injection detection (#14842) 2023-12-18 17:50:21 -08:00
langchain docstrings langchain update (#14870) 2023-12-18 17:16:08 -08:00
partners [Documentation] Updates to NVIDIA Playground/Foundation Model naming.… (#14770) 2023-12-15 12:21:59 -08:00