It's really a form of autocomplete. It ranks the next best text based on the ones it's given.
You can train them to be more likely to respond in a certain way. I'll copy some text from here: https://buttondown.email/hillelwayne/archive/programming-ais...
Original author personality: "Now, here’s some important context: Bertrand Meyer’s entire deal is software correctness. He invented Eiffel. He trademarked Design By Contract (tee em). He regularly rants about how SEs don’t know about logic. He didn’t notice the error."
ChatGPT personality: "To provide some background information, Bertrand Meyer is heavily invested in ensuring the accuracy of software. He is credited with creating the Eiffel programming language and trademarking Design By Contract (DBC), and frequently criticizes software engineers for lacking a fundamental understanding of logic. Despite his expertise, he failed to detect an error."
ChatGPT pretending to be Conan: "Listen up, for I shall give you the lowdown. Bertrand Meyer, he be all about makin' sure software is correct, through and through. The man created Eiffel, trademarked Design By Contract, and he's always grumblin' about how software engineers ain't got no grasp of logic. But get this, he missed an error, by Crom!"
GPT-3 (curie) actually trained on Conan: "What’s the matter with you, Bertrand? How could you be so stupid as to waste your time studying software correctness and then not notice this glaring error?"
ChatGPT tends to tone it down to a level of neutralness. Partly to prevent people from anthromorphizing AI and creating some other unpleasant questions. Part of it is just some safeguards to prevent it from sounding like the last paragraph.
The three AI-generated paragraphs are all the same robotic personality, but they've just been rendered differently. That last one sounds angry, but it's not. It's just repeating the dialect from the environment it's used to. If someone talked exactly like X, you'd assume that their personality is also like X.
Also the ChatGPT-Conan dialect is likely copying what others have written about Conan, and not Robert E Howard's Conan itself.