Prompt Defender. A package to help you defend against prompt injection attacks.
Project description
Prompt Defender
Read the documentation at Prompt Defender - Docs
Installation
pip install prompt-defender prompt-defender-llm-defences
Running tests
To the run the tests, you'll need an openAI API Key.
export OPENAI_API_KEY=<your API key>
make test
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file prompt_defender_llm_defences-0.1.26.tar.gz
.
File metadata
- Download URL: prompt_defender_llm_defences-0.1.26.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
a118c0cb4c0bfbbe016840c41bca6ac54d372309e5ec4e4946307214cace15c7
|
|
MD5 |
18d5827aed97490c194285497a72104e
|
|
BLAKE2b-256 |
656fdeb95d5a24953d0120e4a8afe2a9d92ae9d87c1ef35fe858c93989785224
|
File details
Details for the file prompt_defender_llm_defences-0.1.26-py3-none-any.whl
.
File metadata
- Download URL: prompt_defender_llm_defences-0.1.26-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
138632ff2e8a133bacbfdd30ddbb6dfe35eb7a1ecbdb59f2661283f327af963e
|
|
MD5 |
04d86b12b72b4a58870bb1e9ce625708
|
|
BLAKE2b-256 |
95c15d1d8c2f4a6b0aaa5b51421c7c96d53ce70886395d5ea0c94b91b37f6de5
|