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.
- Host: GitHub
- URL: https://github.com/nathanborror/swift-openai
- Owner: nathanborror
- License: mit
- Created: 2024-12-06T17:11:01.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-19T19:15:34.000Z (10 months ago)
- Last Synced: 2025-03-19T20:28:19.325Z (10 months ago)
- Topics: gpt, llm, openai, swift
- Language: Swift
- Homepage:
- Size: 306 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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")
```