Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
jamesrochabrun
SwiftOpenAI
Repository navigation
Code
Issues
3
(3)
Pull requests
8
(8)
Actions
Projects
Security and quality
Insights
More
items
SwiftOpenAI
Public
Notifications
You must be signed in to change notification settings
Fork
129
(
129
)
Star
665
(
665
)
You must be signed in to star a repository
About
The most complete open-source Swift package for interacting with OpenAI's public API.
Topics
chatgpt-api
ios
openai
openai-api
spm
swift
swiftpackage
Resources
Readme
MIT license
Contributing
Contributing
Activity
Stars
665
stars
Watchers
9
watching
Forks
129
forks
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
526 Commits
526 Commits
Folders and files
Name
Name
Last commit message
Last commit date
.github/
workflows
.github/
workflows
Examples
Examples
Sources/
OpenAI
Sources/
OpenAI
Tests/
OpenAITests
Tests/
OpenAITests
.gitignore
.gitignore
CONTRIBUTING.md
CONTRIBUTING.md
LICENSE
LICENSE
Package.resolved
Package.resolved
Package.swift
Package.swift
README.md
README.md
rules.swiftformat
rules.swiftformat
View all files
Repository files navigation
README
Contributing
MIT license
More
items
Loading
About
The most complete open-source Swift package for interacting with OpenAI's public API.
Topics
chatgpt-api
ios
openai
openai-api
spm
swift
swiftpackage
Resources
Readme
MIT license
Contributing
Contributing
Activity
Stars
665
stars
Watchers
9
watching
Forks
129
forks
Report repository
Releases
Packages
Used by
Contributors
Languages
You can’t perform that action at this time.