Regarding source citations for AI-generated texts, like ChatGPT, the APA still needs to formulate a guideline.
For now, the advice is to refer to software generated texts like you would refer to software. Use OpenAI when you mention the author. In addition, include the generated text as an appendix to your report, so the reader or assessor can read the content for himself.
Parenthetical citation: (OpenAI, 2022)
Narrative citation: OpenAI (2022)
Indicate in your text which part is generated by ChatGPT, by using a citation or paraphrase and which orders were given to generate the text. For example:
At “…” write the text/order used for the chatbot.
If you included the by chatbot generated text in the appendix of your report, you only need to refer to the appendix.