viget.com

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
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help