It is all about intellectual contribution. If ChatGPT provided a new idea to the concept or a new way to process the data available, than ChatGPT deserves to be an author, but if it was a tool to expedite a process to find (publicly available