I'd be careful of anthropomorphizing this too much though. Yesterday I was experimenting with a ChatGPT (3.5) Twitch streamer that played a text adventure, that was supposed to return JSON like this:
{ "speak_out_loud": "Hey chat, what's up, etc", "game_cmd": "go north" }
And it occasionally would put the "speak" part into the "game" part so the game would get long sentences that were supposed to be spoken out loud. ChatGPT just fails in all kinds of weird ways because it doesn't actually know what it's doing. It can't look at what it's returning and use common sense to fix obvious problems. It makes errors in ways that normal programs don't.