Hacker News new | ask | show | jobs
by unsupp0rted 1020 days ago
> I spent an entire afternoon writing string-matching heuristics, regular expressions, and even implementing Levenshtein distance to answer the simple question, "is this address the same as that one?"

> But then, on a lark, I replaced all that code – 50+ lines in all – with a single call to GPT. And within ten minutes and just a few lines of code, I hit 100% accuracy against my test suite!

They could write an extra layer or two to preprocess and match obvious easy ones, and also to sanity-check the LLM's output for hard ones.