JuniperPhoton/PhotonOpenAIKit
A wrapper of OpenAI API, writing in Swift, featuring SSE mode for ChatCompletion.
This is a tool for developers who are building macOS or iOS applications and want to integrate AI chat functionalities. It takes your user's text prompts and system messages, sends them to OpenAI's GPT-3.5-turbo model, and then receives the AI-generated responses. Mobile application developers building Swift-based apps will use this.
No commits in the last 6 months.
Use this if you are a Swift developer building an application and need to easily connect to the OpenAI ChatCompletion API, especially for real-time, streaming responses.
Not ideal if you are not a Swift developer or need to interact with other OpenAI APIs beyond ChatCompletion.
Stars
11
Forks
2
Language
Swift
License
—
Category
Last pushed
Nov 10, 2023
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/JuniperPhoton/PhotonOpenAIKit"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
OpenDive/OpenAIKit
Swift Package for OpenAI's API
mbabicz/SwiftAI
iOS app that features a chat powered by ChatGPT and DALL·E 2
MaxiDonkey/DelphiGenAI
The GenAI API wrapper for Delphi seamlessly integrates OpenAI’s latest models (gpt-5 serie),...
alfianlosari/ChatGPTSwift
Access ChatGPT API using Swift
Renset/macai
All-in-one native macOS AI chat application for virtually any AI provider