Swift library for ChatGPT API

We wrote a Swift library for the ChatGPT API :muscle: Feel free to submit a pull request to help grow the library. The library is written in Swift and supports the following platforms: iOS, macOS, tvOS, and watchOS.

link to the library: GitHub - FuturraGroup/OpenAI: A library that makes it easy to use ChatGPT API

1 Like

I’m trying to integrate ChatGPT API in my iOS App - Quotes Power App, then I found this which just published in Github 14 hours ago, GREAT!

thx, in the near future, we will add new models and add new functionality. I’m waiting for a star from you on github))

we added GPT-4 support

link to the library: GitHub - FuturraGroup/OpenAI: A library that makes it easy to use ChatGPT API

Well done! However, in a production environment, it could be instantly hacked with a MITM attack. To prevent this, support for SSL Pinning should be implemented

yes, you are right. Only the OpenAI API does not support SSL Pinning.

OpenAI supports it;) just follow any guide on the web how to add SSL Pinning to URLSession