What if you could connect ChatGPT to Apple's operating systems using Shortcuts?

Introducing S-GPT: a shortcut that lets you have conversations with ChatGPT via text or Siri. But it also comes with a twist:

S-GPT has native integrations on Apple platforms. Process the contents of your clipboard, get help with your schedule, summarize text from photos, and...create playlists in Apple Music šŸŽ¶

All with natural language. And this is just a 1.0.

Details and download here: https://www.macstories.net/ios/introducing-s-gpt-a-shortcut-to-connect-openais-chatgpt-with-native-features-of-apples-operating-systems/

Introducing S-GPT, A Shortcut to Connect OpenAI’s ChatGPT with Native Features of Apple’s Operating Systems

Update, April 13: I’ve updated S-GPT to version 1.0.2. You can read the full changelog here. All download links have been updated. Update, April 13: For Club MacStories+ and Premier members, I’ve published Part 1 of an extensive ā€˜Making Of’ series about S-GPT. This is a technical deep dive for my Automation Academy series. You

What if I told you...

...you can use ChatGPT to create playlists, with natural language input, for any artist, vibe, or historical context you want..

...and save those playlists in Apple's Music app?

Yep: https://www.macstories.net/ios/introducing-s-gpt-a-shortcut-to-connect-openais-chatgpt-with-native-features-of-apples-operating-systems/

Introducing S-GPT, A Shortcut to Connect OpenAI’s ChatGPT with Native Features of Apple’s Operating Systems

Update, April 13: I’ve updated S-GPT to version 1.0.2. You can read the full changelog here. All download links have been updated. Update, April 13: For Club MacStories+ and Premier members, I’ve published Part 1 of an extensive ā€˜Making Of’ series about S-GPT. This is a technical deep dive for my Automation Academy series. You

Just released S-GPT 1.0.1 with some initial fixes and improvements:

- A proper error-checking alert that tells what went wrong with a request to the ChatGPT API;
- A better summarization of Safari webpages that no longer ā€œhallucinatesā€ results;
- A new behavior for text input on watchOS, which now defaults to dictation.

More details and download: https://www.macstories.net/linked/s-gpt-1-0-1/

S-GPT 1.0.1

I just released a small bug fix update for S-GPT, my shortcut to integrate OpenAI’s ChatGPT large language model with the Shortcuts app on all Apple platforms. Version 1.0.1 of S-GPT is a relatively minor update that comes with an initial round of improvements based on early feedback I’ve received for the shortcut, including: A

And today in @club MacStories Weekly, I shared some prompts to unlock different personalities in S-GPT.

For example:

- E-GPT (Evil-GPT), which is absolutely malevolent and disrespectful

- Roy-GPT, which attempts to answer to your queries like Roy Kent

https://club.macstories.net/posts/customizing-s-gpt-with-different-personalities

Customizing S-GPT with Different Personalities

@viticci I'll have to try the updated version. I installed the original when I read about it a few days ago, but it simply ends after I submit my query. You mentioned better error handling, so maybe 1.0.1 will tell me what I did wrong.
@alexhall Please let me know and we'll work this out!
@viticci The update worked. Well, it isn't actually working, but I now know that the problem is that OpenAI says I've exceeded my quota. At least I have somewhere to start looking now.
@alexhall Yeah. Set up a pay as you go billing plan, make a new API key, and you should be good
@viticci The odd thing is, I already did. I tried a different ChatGPT shortcut a couple weeks ago, and it worked. I made a new key for yours. My guess is my payment method is invalid, and my previous tests were still using the free credits OpenAI gives new accounts.
@viticci @alexhall is the pay as you go billing plan the $20/month plan? I can’t see any other options?
@stumcbill @viticci No, the $20/month plan is only for priority access to the web interface. The plan this shortcut needs has you pay tiny, tiny amounts for each use, billing each month. I'd be surprised if anyone using the shortcuts breaks $2 per month. https://platform.openai.com/account should be the place to get started.
OpenAI Platform

Explore developer resources, tutorials, API docs, and dynamic examples to get the most out of OpenAI's platform.

@alexhall @viticci thanks asked, I can’t see anywhere to get my api key on there though?
@stumcbill @viticci It's linked in the original S-GPT article, but here's the direct link: https://platform.openai.com/account/api-keys
OpenAI Platform

Explore developer resources, tutorials, API docs, and dynamic examples to get the most out of OpenAI's platform.

@viticci @club Your 2 examples are so funny, I literally just today asked s-gpt for an itinerary for 3 nights in Sorento and it gave an excellent response!
@viticci @club The evil personality feels like a less aggressive version of @CARROT
@viticci @club if I share the url chat.openai.com with a chat context, I would like the shortcut to provide export the text options, right now it is trying to summarize the page.
@viticci Is there an "easy" way to update a shortcut or will I need to save as a new shortcut and go through the configuration steps again?
@jwalke @viticci If you load the new one and install it you will be asked if you wanna replace the old one with the same name or keep both. Just replace the old one.
@hepcatguy @jwalke @viticci That is right, but all configurations and especially all the many permissions have to be done again. I wish there would be an update way without it.
@viticci sweet, this fixed my issue!
@viticci spoke too soon
@brent sorry, switch this action to this, or redownload from
MacStories
@viticci this must be awesome… does it work in Italy? I guess it won’t due to the stop to chatgpt imposed by the privacy authority.
@viticci How can I stop or exit S-GPT on the HomePod mini ? It works great but I can’t get out and stuck in a discussion loop on how to stop it šŸ˜„ ā€žstop s-gptā€œ or ā€žexitā€œ or ā€žs-gpt abbrechenā€œ won’t do it. I have to unplug the power.
Besides that, fantastic work with that 🤩
@viticci thank you Federico. šŸ™‚
@viticci This is seriously amazing. My only issue is I can’t seem to figure out how to stop it asking follow ups if I’ve invoked it by voice. It says ā€œdo you want to follow upā€ and I say no and it says ā€œthanks for chattingā€ (or whatever the AI generates) but then keeps asking if I want to follow up until I manually stop it. Is there a key phrase for exiting or is it just that it requires manual intervention?
@viticci I’ve tried cancel and that does stop it from asking but it seems to hang after that and the only way to stop it is to manually stop the shortcut from running, it seems. Maybe I’m missing something. This is amazing work though - very minor complaint!

@viticci This is fantastic. I've successfully tried many of your examples. One little hiccup: I tried it with the share sheet in Apple News, and S-GPT just gave me the empty prompt box.

Thank you for sharing this!

@viticci
The second point regarding no more hallucination is a bold statement with everything involving GPT 🤠
@macteo @viticci I’m curious how you stopped it from hallucinating when summarizing web pages. In my testing GPT still does (quite a lot) but S-GPT seemingly does not! What did you do?
@sfoskett I extract the full text of an article and ask it to summarize that
@viticci Aha! Thank you! The "go fetch this URL and summarize it" part is very fraught...
@viticci thank you! Will I need to download it fresh and get a new API key, or is there an updater option inside the shortcut itself?
@viticci thanks for this great shortcut! I tried it with a valid API key and subscription and changed "gpt-3.5-turbo" to "gpt-4" which throws an error (the. model "gpt-4" does not exists), eben though I have access to GPT-4. Do you have an idea what could be wrong?

@viticci This is amazing! Can’t wait to try all these features and see where it leads…

Spotify next please! šŸ¤žšŸ˜Ž

@viticci and to think at one point your extensive use of base64 was the bar for ā€œterrifyingā€

šŸ‘šŸ¼

@viticci I created one using this shortcut and the input was ā€œinstrumental piano musicā€. It nailed it.

@viticci

I cannot even… it is impressive! Cannot wait to find out what else are you cooking there!

@viticci this is amazing, and something I immediately want to try out.

@viticci I carefully designed a GPT prompt and built a swiftui app to create a daily inspiration based on a question and a Tarot card the user has to pull šŸ˜…

Rejected as spam 😢

@viticci finally my dream of creating a playlist of rap songs that reference Microsoft Office products can come through.
@viticci I do not want to do that

Ummmm. When it’s not making up songs.

ChatGPT hallucinates wildly and widely.

@viticci I'd say I hope you like the mainstream stuff, because GPT's idea of "more obscure" is for example Black Eyed Peas.
@viticci hmmm. Set up pay as you go, I'm a pro user already if that matters. Still get this:
@brent Have you tried creating a new API key?
@viticci yeah, after setting up pay as you go. I'll fool with it some and report back. Maybe I made the key too soon after the payment change.
@viticci "Check her tinder profile and create a nice, but slightly odd, clever, but not too clever playlist, take her first name, append 3 hearts to it and make it the Playlist title. Send her the playlist!"
Unrelated note: Can you do "do while" loops?
OK, better than dickpics I guess. šŸ˜‰
@viticci
A standard test which I use to check the power of any of these GPT variations, including yours, is to ask ā€œWho is the current monarch of Great Britainā€. You may want to check the answer which yours gave. —Respectfully