787
OpenAI now tries to hide that ChatGPT was trained on copyrighted books, including J.K. Rowling's Harry Potter series
(www.businessinsider.com)
This is a most excellent place for technology news and articles.
Again that is dependent on how similar the two books are. If I just change the names of the characters and change the grammatical structure and then try to sell the book as my own work, I am infringing the copyright. If my book has a different story but the themes are influenced by another book, then I don't believe that is copyright infringement. Now where the line between infringement and no infringement lies is not something I can say and is a topic for another discussion
I.e. change form. Copyright protect form, thus in coutries that judge either by spirit or letter of law instead of size of moneybags this is ok.