MIT License

项目介绍

alfianlosari/ChatGPTSwiftUI 是一个托管在 GitHub 上的开源项目,主要使用 Swift 编写,采用 MIT License 许可证,目前获得 694 个 Star、103 次 Fork。

仓库全名
alfianlosari/ChatGPTSwiftUI
开源许可证
MIT License
Star 数
694
Fork 数
103
未关闭 Issue
11

README 摘要

PaLMChat & ChatGPT SwiftUI iOS, macOS, watchOS, tvOS App This is a native iOS, macOS, watchOS, tvOS App for interacting with PaLM API & ChatGPT LLM Chatbots built using SwiftUI, OpenAPI Official ChatGPT API, & Google Generative AI SDK SPM. It is also able to render response with markdown and code syntax highlighting. Video tutorial iOS YouTube macOS YouTube watchOS YouTube tvOS YouTube Upgrade to Official API…

完整内容见 GitHub 原始 README 或本页 。

常见问题

ChatGPTSwiftUI 用什么语言开发?

主要使用 Swift 编写,采用 MIT License 许可证,目前有 694 个 Star。

ChatGPTSwiftUI 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 ChatGPTSwiftUI 的源码?

可以直接克隆仓库:git clone https://github.com/alfianlosari/ChatGPTSwiftUI.git,默认分支为 main;安装与运行步骤见仓库 README。

ChatGPTSwiftUI 最近还在维护吗?

仓库最近一次更新为 2024年4月10日,当前有 11 个未关闭 Issue;Star 数为 694,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

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

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
909
价值分
447
活跃状态
活跃

语言占比

Swift

贡献者

README

PaLMChat & ChatGPT SwiftUI iOS, macOS, watchOS, tvOS App

Alt text

This is a native iOS, macOS, watchOS, tvOS App for interacting with PaLM API & ChatGPT LLM Chatbots built using SwiftUI, OpenAPI Official ChatGPT API, & Google Generative AI SDK SPM.

It is also able to render response with markdown and code syntax highlighting.

Video tutorial

Requirements

  • Xcode 14
  • Register at openai.com/api
  • Create API Key from either OpenAI or PaLM API MakerSuite

ChatGPTSwift API Lib

You can use this standalone api client to access ChatGPT API, you can add dependency for ChatGPTSwift to access the API only if you want to integrate into your own app.

GPT Encoder Lib

I’ve also created GPTEncoder Swift BPE Encoder/Decoder for OpenAI GPT Models. A programmatic interface for tokenizing text for OpenAI GPT API.

GPT Tokenizer UI Lib

I’ve also created GPTTokenizerUI, a SPM lib you can integrate in your app for providing GUI to input text and show the tokenization results used by GPT API.

Alt text

评论

暂无评论