An open API service indexing awesome lists of open source software.

https://github.com/nathanborror/swift-openai

An easy way to use the OpenAI platform in Swift.
https://github.com/nathanborror/swift-openai

gpt llm openai swift

Last synced: 10 months ago
JSON representation

An easy way to use the OpenAI platform in Swift.

Awesome Lists containing this project

README

          

# OpenAI Swift Client

A Swift client library for interacting with the
[OpenAI API](https://platform.openai.com/docs/api-reference/introduction).

## Requirements

- Swift 5.9+
- macOS 14+
- [OpenAI API key](https://platform.openai.com/settings)

## Installation

### Swift Package Manager

Add the following to your `Package.swift` file:

```swift
.package(url: "https://github.com/nathanborror/swift-openai.git", branch: "main")
```