I put AI in quotes because it is a misnomer. Everything we commonly call AI (machine learning, language models, etc.) is devoid of intelligence. Ultimately what a language model like ChatGPT does is calculate the probability of one word in a sequence of words.