Protecting Your RAG Agent | Viget (opens in new tab)
As part of a recent project, I built an API that sits in front of a RAG agent built for users to learn more about a hyper-specific subject. We specifically wanted this agent to be sure to always stay on subject and to not allow anything a user might do get it off subject, including users who maliciously attempt to use our bot for purposes it was not designed for. In order to prevent this sort of thing, I implemented a variety of solutions that, when combined, do a good job of keeping our agen...
Read the original article