There are days when I really love Claude Code. Today might be one of them. It suddenly occurred to me this morning that while Open Golf Events is an 'AI' powered project, it has never provided AI powered search abilities. Well now it does. I asked Claude to look into it, and before doing anything, it pointed out a couple of bugs and some missing features on the existing event search page and suggested we get those fixed first.

Once those bugs were fixed, we cracked on with the natural language search process. This is a combination of AI and old-style computer logic. You see the job is to take some descriptive text and turn it into the correct search terms for the back-end search engine. This involves knowing certain things. For example, in the UK, you need to know that Bucks is short for Buckinghamshire, BB&O is Bucks, Berks & Oxon, North Wales is both Gwynedd and Clwyd. And so on. Some of this is handled by the AI, but much of it is controlled in more typical computer fashion with mapping tables because, well, you can't always trust the AI!

So what can you do now? Try things like this:

  • events in costa del sol in December
  • scratch events in BB&O

Hopefully that gives you the basic idea. I'm sure it's not perfect yet, but it will get better the more it is used as Claude can analyse what went wrong if no results are returned etc.