ChatGPT doesnt have an API. There are a few hacks but no Swift Package Im aware of. There are however GPT3 packages that use the official API. Besides the two mentioned in the thread theres this one as well: