deadbits / vigil-llm

⚡ Vigil ⚡ Detect prompt injections, jailbreaks, and other potentially risky Large Language Model (LLM) inputs
https://vigil.deadbits.ai/
Apache License 2.0
270 stars 32 forks source link

Lowercase prompts with cosine #27

Open deadbits opened 9 months ago

deadbits commented 9 months ago

Check out storing the embedded text as lower case and force input prompts to lower for better cosine matching