How to I get API to produce the same output as ChatGPT?