ChatGPT's language model wasn't "programmed" in the classical sense. It was trained on a huge amount of text, being rewarded for predicting the next word based on context. At the fundamental level, it's a huge mathematical function with