You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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`
10 months ago
..
cli cli[patch]: unicode issue (#14672) 10 months ago
community Update kendra.py to avoid Kendra query ValidationException (#14866) 10 months ago
core docstrings `core` update (#14871) 10 months ago
experimental Improve prompt injection detection (#14842) 10 months ago
langchain docstrings `langchain` update (#14870) 10 months ago
partners [Documentation] Updates to NVIDIA Playground/Foundation Model naming.… (#14770) 10 months ago