ChatGPT isn't a traditional chatbot. Look up large language models. ChatGPT is GPT-3 that was fine tuned to respond in a casual text conversation with a moderator layer that tries to keep the model from going off