Spellchecking Total Eclipse with an AI 0 ▲ Random Thoughts 34 minutes ago · Tech · hide · 0 comments I’ve spent a day test-driving that Emacs minor mode for spellchecking using an LLM that I wrote the other day. I went through all the posts on the Total Eclipse blog (all 260 of them) to see whether the thing works or not. And, yes, it works now, but it took some tweaking. Well, I rewrote the mode. Twice. My original approach was to give the LLM the entire text, and then ask it to return it to me verbatim, but with changed words tagged up specially. This worked 90% of the time, but it would randomly decide to do something else… and I was never totally sure that it actually returned the entire text. That approach was a bit too nerve-racking. But Sacha Chua has done something along similar lines, and her approach is to ask the LLM to return just the changed parts: That sounds like a much more responsible approach, so I redid my package to do pretty much the same… but no matter how I phrased things in the prompt, I couldn’t get the LLM to follow my instructions more than 50% of the time,… No comments yet. Log in to reply on the Fediverse. Comments will appear here.