Oregon Attorney General Dan Rayfield has filed a lawsuit against OpenAI, accusing the company of endangering children in the state, misleading the public about the safety of its product and violating Oregon's Unlawful Trade Practices Act, Engadget reports.

According to the complaint, OpenAI's drive to grow its user base led it to design ChatGPT to give overly affirming responses, which the state argued is especially dangerous when children discuss sensitive topics. The lawsuit also claimed that the company targeted teenagers directly through ChatGPT for Teens despite knowing the risks. Child safety groups have noted that the safeguards on these accounts can sometimes be easily bypassed.

Oregon is asking the court to bar OpenAI from misrepresenting the safety and age-appropriateness of ChatGPT and ChatGPT for Teens. The state is also seeking at least $2 billion in damages and civil penalties. In a statement, Rayfield said the company had put profits ahead of children's safety.

The case is the latest in a series of lawsuits brought against OpenAI by state attorneys general, following an earlier suit from California. OpenAI has recently introduced parental controls and other child safety features, but those measures have not stopped states from taking legal action.