swiftchat
v0.1.0
SwiftchatiOS的开源本机Chatgpt应用程序。
git clone https://github.com/zahidkhawaja/swiftchat.git cd swiftchatsecrets.plist.example至secrets.plist : cp secrets.plist.example secrets.plist在您的secrets.plist文件中输入您的OpenAI API密钥和组织ID。
在Xcode中打开项目:
open SwiftChat.xcodeproj确保您在Mac上安装了XCode。如果您遇到问题,请在secrets.plist中验证键OPENAI_API_KEY和OPENAI_ORG_ID ,并将iOS部署目标设置为最新版本。