Using or adapting code from another source, including open source, without citing or crediting the developer is considered plagiarism. Similarly to writing an academic paper, you must cite the source of the code, even if it is only a snippet. When using open source software, you also need to follow the terms of the open source license that is applied to the copied code.
Acceptable use of ChatGPT and other AI-generated content for student assignments and projects is determined by class and program policy. Consult course materials and instructors for guidance. Like any other source used in assignments, AI-generated content must be cited appropriately, both in-text and as part of the reference list.
APA Style
How to Cite ChatGPT and Other AI-Generated Content
Reference List Example:
OpenAI. (year). ChatGPT (date of version) [Large language model]. https://chat.openai.com/chat
In-text Citation