Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Would you trust an LLM to recognize a credit card number more reliably than a regular expression can?


You're not forced to use only an LLM for data loss prevention! You can combine it with regex. You can also feed the output of the regex matches to the LLM as extra "context".

Similarly, I was just flipping through the SQL Server 2025 docs on vector indexes. One of their demos was a "hybrid" search that combined exact text match with semantic vector embedding proximity match.


A combined approach seems pretty promising. Thanks, my original comment was quite flippant.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: