ChatGPT and AI tools are not knowledge creation tools.
Content from generative AI is a nonrecoverable source as it can't be retrieved or linked.
To be able to retrieve AI generated text, so that the chat is saved, is shareable, or otherwise retrievable, use https://aiarchives.org/
If generative AI tools are used to gather information for an assignment, it should be cited.
Rather than citing Generative AI as a source of information, you would, instead, be citing the use of a tool - Generative AI.
MLA has the following suggestions.
For ease of use, this guide divides Works Cited list entries into different formats.
Select the format you require from the Works Cited List Entries menu or select from the links below: