These websites will assist you in building citations for your bibliographies. Always check your citations against a style manual to make sure they are correct.
Currently, the editors of JAMA, who are the editors of the AMA style, discourage the use of ChatGPT and other generative AI. However, they do leave room for its use if AI is part of the research design. For full a full explanation, consult the author instructions at the JAMA Network website.
To find all instances where artificial intelligence is mentioned in the author instructions, perform a page search in your browser (ctrl+F) and search for "artificial".