microsoft / dsl-copilot

MIT License
29 stars 6 forks source link

Guardrails #31

Open Tyler-R-Kendrick opened 2 months ago

Tyler-R-Kendrick commented 2 months ago

We should add prompt and function filters to ensure that inputs and outputs are sanitized with configurable layers. Typical data hygiene best practices are able to be implemented with LLM usage while propagating information between users and the LLM.

Typechat seems to be a good candidate for a dotnet library that supports some of this. Otherwise, we can roll our own filters and use regex.