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
277 stars 33 forks source link

Pydantic for dispatch.Manager response #16

Closed deadbits closed 10 months ago

deadbits commented 10 months ago

dispatch.Manager.response is a dict but we should enforce types. Less room for dumb bugs 🐛

deadbits commented 10 months ago

https://github.com/deadbits/vigil-llm/commit/fecb2ac30c41142458cac2b8d35c014108bf4e33