Taken from The MLA Style Center https://style.mla.org/citing-generative-ai/
You should
See below for specific examples. And keep in mind: the MLA template of core elements is meant to provide flexibility in citation. So if you find a rationale to modify these recommendations in your own citations, we encourage you to do so. We’ve opened this post up for commenting, so let us know what you think and how you’re using and citing generative AI tools!
We do not recommend treating the AI tool as an author. This recommendation follows the policies developed by various publishers, including the MLA’s journal PMLA.
Describe what was generated by the AI tool. This may involve including information about the prompt in the Title of Source element if you have not done so in the text.
Use the Title of Container element to name the AI tool (e.g., ChatGPT).
Name the version of the AI tool as specifically as possible. For example, the examples in this post were developed using ChatGPT 3.5, which assigns a specific date to the version, so the Version element shows this version date.
Name the company that made the tool.
Give the date the content was generated.
Give the general URL for the tool.1
While the green light in The Great Gatsby might be said to chiefly symbolize four main things: optimism, the unattainability of the American dream, greed, and covetousness (“Describe the symbolism”), arguably the most important—the one that ties all four themes together—is greed.
“Describe the symbolism of the green light in the book The Great Gatsby by F. Scott Fitzgerald” prompt. ChatGPT, 13 Feb. version, OpenAI, 8 Mar. 2023, chat.openai.com/chat.
When asked to describe the symbolism of the green light in The Great Gatsby, ChatGPT provided a summary about optimism, the unattainability of the American dream, greed, and covetousness. However, when further prompted to cite the source on which that summary was based, it noted that it lacked “the ability to conduct research or cite sources independently” but that it could “provide a list of scholarly sources related to the symbolism of the green light in The Great Gatsby” (“In 200 words”).
“In 200 words, describe the symbolism of the green light in The Great Gatsby” follow-up prompt to list sources. ChatGPT, 13 Feb. version, OpenAI, 9 Mar. 2023, chat.openai.com/chat.
While we’ve provided fairly detailed descriptions of the prompts above, a more general one (e.g., Symbolism of the green light in The Great Gatsby prompt) could be used, since you are describing something that mimics a conversation, which could have various prompts along the way.