Repository navigation
Replies: 1 comment
Possibility Have to check. I am thinking having Something like: from larch.railguards import BasicRailGuard
railguard = BasicRailGuard(patterns=[...])
response = SearchEngine(...)(query=..., top_k=...)
response = raiguard(response)Either this pattern or we can pass the railguard object to each SearchEngine constructor and if available, use that. |
Uh oh!
There was an error while loading. Please reload this page.
LLM responses are sometimes inconsistent and we need a way to railguard those responses to prevent unwanted text from being thrown in response to ensure the responses are appropriate & accurate.
This might involve safeguarding against inappropriate content, user privacy and so on.
All reactions