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
This is a native iOS, macOS, watchOS, tvOS App for interacting with ChatGPT built using SwiftUI and OpenAPI API. It used the leaked model and special prompt to access ChatGPT using Open AI Completions API endpoint.
6
-
7
-
## DISCLAIMERS!
8
-
The `ChatGPTAPI.swift` is updated frequently when new model is found. Expect breaking changes. Always read readme before updating or opening an issue.
9
-
10
-
Use this at your own risk, there is a possibility that OpenAI might ban your account using this approach! I don't take any responsibility.
5
+
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.
11
6
12
7
## Separate SPM repo for API only
13
8
you can add dependency for [ChatGPTSwift](https://github.com/alfianlosari/ChatGPTSwift) to access the API only if you want to integrate into your own app
Update to a much shorter prompt for triggering ChatGPT
37
-
38
-
## UPDATE 2 - 3 Feb 2023
39
-
It's working again after updating to the latest *model*
40
-
41
-
## UPDATE 1
42
-
At the time this video is published, the leaked model to access ChatGPT using Completion API endpoint had been taken down by OpenAI, so it won't work. But most of the concept should remain the same for building the application UI and state management. When the official API is released, you can simply update to use the public model and official endpoint for ChatGPT :) I'll also update the GitHub repo and create a follow-up video when it will be released in near future.
43
-
44
10
## Video tutorial
45
11
-[iOS YouTube](https://youtu.be/PLEgTCT20zU)
46
12
-[macOS YouTube](https://youtu.be/Wl1cDvwpJoE)
47
13
-[watchOS YouTube](https://youtu.be/DwXy0gKz1GY)
48
14
-[tvOS YouTube](https://youtu.be/7RQHG7GXJ_U)
15
+
-[Upgrade to Official API YouTube](https://youtu.be/9byLhs5hQjI)
"You are ChatGPT, a large language model trained by OpenAI. Respond conversationally. Do not answer as the user. Current date: \(dateFormatter.string(from:Date()))"
32
-
+"\n\n"
33
-
+"User: Hello\n"
34
-
+"ChatGPT: Hello! How can I help you today? <|im_end|>\n\n\n"
0 commit comments