If ChatGPT and other AI tools are used to gather information for an assignment, it should be cited. MLA has the following suggestions,
Note about MLA: Information about using and citing ChatGPT and other generative AI tools is still being developed and will continue to be updated. (last updated March 2023)
Works Cited
"Title of Source." (this describes what was generated by the AI tool, such as the prompt used). Name of the AI Tool, include a date version if available, Publisher (Name of the company that made the tool), date (the date the content was created), URL (when available give the URL for the content created by a prompt. Otherwise, give the general URL for the tool).
"In 100 words describe social media influencers" prompt. ChatGPT 3.5, OpenAI, 19 June 2024, chat.openai.com/chat.
In-text citation:
(Title of Source).
("In 100 words").