ChatGPT-Siri  by Yue-Yang

Siri shortcut for ChatGPT API (gpt-3.5-turbo & gpt-4) access

created 2 years ago
3,692 stars

Top 13.4% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a set of Apple Shortcuts that integrate the ChatGPT API with Siri, transforming the native assistant into an intelligent conversational AI. It targets iPhone, iPad, and Mac users seeking to leverage advanced language models for everyday tasks, offering continuous conversations and chat history saving.

How It Works

The solution utilizes Apple's Shortcuts app to create a user-friendly interface for interacting with the OpenAI API. Users can trigger the shortcut via Siri, providing voice input that is then sent to the ChatGPT API (supporting GPT-3.5-turbo and GPT-4). Responses are received and spoken back through Siri. Key features include maintaining conversation context for follow-up questions, initiating new chats, and saving conversation logs to iCloud Drive for persistent record-keeping.

Quick Start & Requirements

  • Install: Download the desired Shortcut version from the provided links.
  • Prerequisites:
    • Network access to https://api.openai.com.
    • An OpenAI API key with sufficient balance.
    • For chat log saving (v1.2+): iCloud Drive enabled in Apple ID settings.
    • Siri language settings must match the user's language.
  • Setup: Requires editing the shortcut to insert an API key.
  • Links: English Version (specific version links vary), FAQ

Highlighted Details

  • Supports continuous conversations and explicit commands for "New chat" or "Quit chat".
  • Customizable system messages to tailor ChatGPT's persona and behavior.
  • Automatic saving of chat records to iCloud Drive (v1.2+) with timestamps and token usage.
  • Support for GPT-4 model selection (requires API access).

Maintenance & Community

Licensing & Compatibility

  • The README does not explicitly state a license.
  • Compatibility is limited to Apple devices running the Shortcuts app (iOS, iPadOS, macOS).

Limitations & Caveats

GPT-4 access requires joining OpenAI's waitlist and receiving an invitation. The accuracy of Siri's recognition of the shortcut's name can be inconsistent, potentially requiring renaming.

Health Check
Last commit

2 years ago

Responsiveness

1 day

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

Explore Similar Projects

Feedback? Help us improve.