/ChatGPTSwiftUI

A ChatGPT native iOS, macOS, watchOS, tvOS SwiftUI Application

Primary LanguageSwiftMIT LicenseMIT

ChatGPT SwiftUI iOS, macOS, watchOS, tvOS App

Alt text

This is a native iOS, macOS, watchOS, tvOS App for interacting with ChatGPT built using SwiftUI and OpenAPI API. It's using Official ChatGPT endpoint with gpt-3.5-turbo model.

Separate SPM repo for API only

you can add dependency for ChatGPTSwift to access the API only if you want to integrate into your own app

Video tutorial

Requierements

  • Xcode 14
  • Register at openai.com/api
  • Create API Key
  • Paste API key in ContentView where the ChatGPTAPI instance is declared