Conclusion
You learned about ChatGPT in this lesson. In the process, You learned about the different models that ChatGPT offers and when to use one over another. You discovered how to create a GPTClient
to make it easier to make RESTFul networking calls to the OpenAI chat endpoint. You also learned how to add the capability to pass both context information and prompts via the client and handle responses from ChatGPT.
In the next lesson, you’ll continue to build on what you’ve learned, and you’ll use the GPTClient
in an iOS app, accepting text inputs from users and sending them to ChatGPT to get a response.