ChatGPT is a large language model that uses stats to predict the most likely next word. This means that the input greatly affects the outcome! Garbage in = garbage out. It will write code with bugs in it, and it will create fake references.