heysaik/ChatGPTKit

A Swift Package to communicate with the ChatGPT API from OpenAI

Swiftswiftiosswift-package-manageropenai-apichatgpt
This is stars and forks stats for /heysaik/ChatGPTKit repository. As of 12 May, 2024 this repository has 85 stars and 12 forks.

ChatGPTKit A very simple Swifty API to use ChatGPT from OpenAI. Please let me know if you find any errors. Installation In your Xcode project, go to File -> Add Packages Enter the package URL: https://github.com/heysaik/ChatGPTKit Click on Add Package and let Xcode install the Swift Package Usage let chattyGPT = ChatGPTKit(apiKey: "YOUR-API-KEY") var history = [Message(role: .system, content: "You are a bot designed to aid mental health."), Message(role: .user, content: "Hello! I'm feeling rather...
Read on GithubGithub Stats Page
repotechsstarsweeklyforksweekly
prompt-engineering/click-promptTypeScriptJavaScriptOther2.1k01840
yonggekkk/CFwarp-yg2k06040
prompt-engineering/understand-promptJupyter Notebook3.5k02940
braze-inc/braze-swift-sdkObjective-CSwiftOther39090
Shopify/trackySwiftPython2570180
madox2/vim-aiVim ScriptPythonShell3950280
xx025/carrot14.1k+721.2k+4
guozhigq/flutter_v2exDartC++CMake4440290
rksm/org-aiEmacs LispYASnippet4640360
anc95/writelyTypeScriptCSSJavaScript1.1k+5810