We and our vendors use cookies and similar methods (“Cookies”) to recognize visitors and remember their preferences. We also use Cookies for a variety of purposes, including analytics, to measure marketing effectiveness and to target and measure the effectiveness of ads. You can accept or reject the use of Cookies for individual purposes below. Some vendors process your data on the basis of their legitimate interest - you can object to such processing below. Your preferences will be saved in a cookie named “fides_consent” for a maximum duration of 12 months, as well as in your registered user account if you are logged in. If you previously accepted these methods through our prior banner, then we will use your data for targeting. Your preferences will apply on nytimes.com, as well as our News, Cooking, Games and Audio apps. Your preferences here are unrelated to Apple’s App Tracking Transparency Framework.

More people are turning to general-purpose chatbots for emotional support. At first, Adam Raine, 16, used ChatGPT for schoolwork, but then he started discussing plans to end his life.

A photograph of Adam Raine taken not long before his death. His baby blanket, which his mother found in his bed, hangs over a corner. Credit...Mark Abramson for The New York Times