ChatGPT is a type of language model that is based on the transformer architecture. It uses a deep neural network to generate text by predicting the next word in a sequence, given the previous words in that sequence.