AMA does not recommend citing AI software such as ChatGPT as the creator/author of any material, as software does not qualify for "authorship" (it is not human and does not posess independant thought).
If you use AI software to generate content that is included in an assignment, in text you should explain that you have used a particular software tool to do so, and provide a citation for the software:
Software Name. Version no. Publisher; Year. Accessed Date. URL
For example:
ChatGPT1 was used to generate patient information sheets, which were then checked for quality and corrected as necessary.
1. ChatGPT. Version Mar 14. OpenAI; 2023. Accessed March 28, 2023. https://openai.com/
Note: The way software companies identify the version of the software you are using differs from company to company. In the ChatGPT example above, the versioning used by ChatGPT was a date, rather than a version number.
The example below shows how to cite software with more detailed version information. It is also an example of softwared installed on your computer (as opposed to web-based software):
Microsoft Excel for Microsoft 365 MSO. Version 2208, Build 16.0.15601.20540. Microsoft; 2023.
If you do not have every element of a citation include as much information as you have. Remember that URLs and DOIs do not have a period after them if they are at the end of the citation.
Websites with no named author
When the responsible organization for the website is not part of the website's name, include the organization before the name of the webpage.
Blog post
Author AA. Blog post title. Blog Name blog. Month Day, Year. Accessed Month Day, Year. URL
Twitter Handle. Post content. Month Day, Year. Accessed Month Day, Year. URL
YouTube
YouTube channel
YouTube video
Entire database without an author
Entire database with an author or group author
Single entry in a database