PII filtering for RubyLLM with Top Secret
24-Apr-2026 210
Automatically filter sensitive information from your RubyLLM conversations before it reaches third-party providers.If you’re building LLM-powered features in a regulated industry, sending unfiltered PII to a third-party provider isn’t just risky, it may violate compliance requirements like HIPAA or GDPR.
That’s why we originally built Top Secret. However, when we first released it, RubyLLM was still in its early days, and I found I was working with provider APIs directly, such as Ruby OpenAI or OpenAI Ruby. This meant I needed to manually orchestrate the filtering and restoration process, which looked something like this:.
PII filtering for RubyLLM with Top Secret #ruby #rubydeveloper #rubyonrails #filtering #RubyLLM #Secret https://www.rubyonrails.ba/link/pii-filtering-for-rubyllm-with-top-secret