Having said that, it's important to point out, at least as far as attorneys have advised me, that notebooks do not protect you from copyright claims if an LLM generates a section of your code that is a verbatim (or near verbatim) copy of already copyrighted code. So if you're using llm's to generate something similar to some open source project somewhere, tread lightly. I assume using llm's to generate something similar to some proprietary software package would be less of an issue since the llm would never have had access to that software's codebase in any case.
I guess both?
In this case, the "webpage" is ChatGTP and a trillion dollars of investor money or whatever, so I'm guess they won't be held responsible, but I might, even though I'm arguably guilty of a far lesser crime.
Thus in some sense it's like purchasing stolen goods in real life. Sure it's a lesser crime than stealing it yourself. But doing so knowingly is still a crime almost everywhere.
A pawn shop might be a better analogy. Potential to buy cheap goods that could be stolen.
That might actually be a good idea in the future:
Stay away from popular programming languages.
Which makes sense. I cannot translate Harry Potter to another language and claim it is an original work.
It would make it harder to prove perhaps.