Dec 14, 2022
Many things wrong with this article!
You're using ChatGPT, but GPT-3. These are 2 completely different models.
The biggest difference is that with GPT-3, you can't refine the answer model gives you.
The second things is the pointless fiddling with API request. OpenAI has their own SDK library. Just look at the: https://beta.openai.com/docs