If the data is public domain it should be attributed but thats a perfunctory gesture. Having ChatGPT troll all of Stack Overflow and ingest the data and then present it after being processed is an issue. Not sure your question addresses that.