From what I have learnt, ChatGPT is merely a lovely UI over GPT-3, OpenAI's language model which had demonstrated these capabilities much earlier. This makes me excited for OpenAI's release next year, GPT-4, which should surpass ChatGPT's limitations (maybe tackle sarcasm?).