Legal Knowledge Bases on Premise: Compression, Tokens, and RAG Without Leaking DataIf you are an engineer asked to build "a searchable legal knowledge base" for a law firm or an in-house legal team, the easy part is the search UI. The hard part is everything underneath: hundreds of Oct 22 · 18 min readuglypeardata.hashnode.dev
Local-First File Organization: Why On-Device Semantics Beat Filename SearchMost file-search advice is still stuck in the 1990s mental model: name your files well, put them in the right folder, and your future self will thank you. That model quietly assumes two things that arOct 21 · 11 min readuglypeardata.hashnode.dev
The Quiet Failure of Public-Sector Knowledge Bases - and What Actually WorksI used to think the problem with public-sector knowledge was a lack of information. It isn't. The information is everywhere. The problem is that the right person cannot reach the right page at the rigOct 19 · 8 min readuglypeardata.hashnode.dev
Building a Private RAG Pipeline That Doesn't Leak Patient Data If you have ever wired up a retrieval-augmented generation system for a normal company, the healthcare version will feel familiar and then suddenly will not. The retrieval math is the same. The constrOct 16 · 7 min readuglypeardata.hashnode.dev
My AI assistant kept choking on huge PDFs. Here's what actually helped.Maybe this is obvious to some of you but it drove me up the wall for weeks, so posting in case it helps someone else. I do a lot of contract and document work. My setup is basically an AI assistant thOct 15 · 6 min readuglypeardata.hashnode.dev