The case is a part of a wave of lawsuits against OpenAI over data used to train generative AI systems.