APA suggests that you quote generated text from the conversation sessions with AI tools. For example, you have to credit ChatGPT as the author of the algorithm with in-text citation and reference list.
In text-citation
According to the prompted query “What is the impact of media on the teenagers?” the ChatGPT generated text and indicated that “teenagers are highly influenced by emerging topics discussed in media” (OpenAI, 2023).
Reference List
Reference
Further reading: