ChatGPT is what I would call interesting correlations database its a generative model that has learned the structure of language (and formal languages like computer programs) and due to attention models, learns how each part correlates with the other. Dont believe the hype.