ChatGPTSwiftUI  by alfianlosari

SwiftUI app for interacting with PaLM API & ChatGPT LLMs

created 2 years ago
678 stars

Top 51.0% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a native SwiftUI application for interacting with ChatGPT and PaLM LLM chatbots across iOS, macOS, watchOS, and tvOS. It targets developers and users seeking a cross-platform, SwiftUI-based interface for these AI models, offering markdown rendering and code syntax highlighting.

How It Works

The application leverages the official ChatGPT API and the Google Generative AI SDK for PaLM. It's built entirely with SwiftUI, ensuring a consistent native experience across Apple platforms. The project also includes separate Swift libraries for API interaction (ChatGPTSwift), BPE encoding/decoding for OpenAI GPT models (GPT Encoder Lib), and a UI component for tokenization visualization (GPTTokenizerUI).

Quick Start & Requirements

  • Install via Swift Package Manager (SPM).
  • Requires Xcode 14.
  • An API key from OpenAI or PaLM API MakerSuite is necessary.
  • Video tutorials are available for iOS, macOS, watchOS, and tvOS.

Highlighted Details

  • Cross-platform SwiftUI application for iOS, macOS, watchOS, and tvOS.
  • Supports both OpenAI's ChatGPT API and Google's PaLM API.
  • Renders responses with markdown and code syntax highlighting.
  • Includes separate, reusable Swift libraries for API client, GPT encoding, and tokenization UI.

Maintenance & Community

The project is maintained by alfianlosari. Links to video tutorials are provided, but community channels like Discord or Slack are not mentioned.

Licensing & Compatibility

The README does not explicitly state a license. Compatibility for commercial use or closed-source linking is not specified.

Limitations & Caveats

The project appears to be a personal project with no explicit mention of a formal community or roadmap. The lack of a stated license may pose compatibility issues for commercial or closed-source applications.

Health Check
Last commit

1 year ago

Responsiveness

1 week

Pull Requests (30d)
0
Issues (30d)
0
Star History
14 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.