Oh dear. Lewis Jones's Cwmardy is not in fact written in Welsh, and while the author had some limited Welsh-language ability, he certainly wasn't fluent. ChatGPT may be coherent but it's certainly not factually reliable.