chatGPT, is based on gpt3. It's trained to predict the next word. That's it. The rest are (unpredictable) "emergent abilities". Nobody really knows how they became possible and what's the full extend of the model's capabilities. Fascinating !