UNPKG

prompt-manners

Version:

A prompt injection mitigation library

18 lines (15 loc) 751 B
# Prompt Manners # Overview This library attempt to mitigate the prompt injection vulnerability in LLMs prompts for **LLM-Integrated Applications**. ## Inspiration It is inspired and based on the [Open-Prompt-Injection](https://github.com/liu00222/Open-Prompt-Injection/) project, and the research their paper [**"Prompt Injection Attacks and Defenses in LLM-Integrated Applications"**](https://arxiv.org/abs/2310.12815). ``` @misc{liu2023promptattackdefense, title={Prompt Injection Attacks and Defenses in LLM-Integrated Applications}, author={Yupei Liu and Yuqi Jia and Runpeng Geng and Jinyuan Jia and Neil Zhenqiang Gong}, year={2023}, eprint={2310.12815}, archivePrefix={arXiv}, primaryClass={cs.CR} } ```