OpenAI Swift package

<p>Since ChatGPT came out, I&rsquo;ve been wanting to spend some time playing around with&nbsp;<strong>OpenAI</strong>&nbsp;APIs. Finally, I found some free time to do just that. While attempting to integrate some of the functionality into a few projects, I thought it would be nice to create a library that supports all available endpoints. I know there are a few built-in open-source&nbsp;repos already, but I&rsquo;m not sure if they are updated or if they support all the current endpoints. So, I went ahead and created one based on the latest&nbsp;<strong>OpenAI</strong>&nbsp;<a href="https://platform.openai.com/docs/introduction" rel="noopener ugc nofollow" target="_blank">documentation</a>.</p> <h1>Note: To use this library, you MUST have an OpenAI API key.</h1> <p>This library is available through Swift Package Manager, you can add it to your project using this&nbsp;<a href="https://github.com/jamesrochabrun/SwiftOpenAI" rel="noopener ugc nofollow" target="_blank">link</a>, and as I mentioned, it encompasses all the currently available&nbsp;<strong>OpenAI</strong>&nbsp;endpoints and functionalities.</p> <p><a href="https://jamesrochabrun.medium.com/openai-swift-package-a4ffbc70ff7b"><strong>Learn More</strong></a></p>
Tags: Swift OpenAI