Chatbots definitely tend to do much better with general code but less well with OH rules in specific.
But I don’t mention this often but one place chatbots do seen to work well is “explain this code to me” or “this code is supposed to do x, what’s wrong with this code?”
It’s still not always right, but often it’s close enough to get you there.