How to talk to ChatGPT through Siri

Recently, I wrote the post How to: Talk to GPT-3 Through Siri, describing how to significantly upgrade Siri using OpenAI’s recent davinci-003 model.

The iOS shortcut in that post is already a big upgrade to Siri, but davinci-003 isn’t as capable as OpenAI’s latest models, which are also what is powering ChatGPT behind the scenes.

Until now, those models weren’t available for API access, but today, OpenAI opened API access to their gpt-3.5-turbo model, and I’ve updated the shortcut so you can now talk to the equivalent of ChatGPT directly through Siri.

gpt-3.5-turbo is about 10x cheaper to use than davinci-003, and seems to return better answers for some questions, but worse answers for others. Your call on which to use! I’ve switched to gpt-3.5-turbo, personally.

You can download the shortcut here – to start using it, you’ll just need to input your OpenAI API key. Then, talk to ChatGPT by saying “Hey Siri, GPT Mode” (or whatever you rename the shortcut to), then your question.

If you want to have Siri consistently read the responses out loud, it’s also best to change Siri’s settings in Settings->Accessibility->Siri->Spoken Responses to “Prefer Spoken Responses”:

If you want more detailed instructions on how to get this working, please see my previous post.

PS – No pressure, but if you’ve found this shortcut useful, I’d appreciate it if you buy me a coffee!

Published by


Responses

  1. Knut Behrends (@sudo_f) Avatar
    Knut Behrends (@sudo_f)

    Thanks ! I was just about to comment about this in the comments section, to notify you about the brand-new API release from Mar 01, 2023. But you’ve provided an upgraded, alternative Shortcut-Script already, all by yourself, great!

    Yesterday, independently, I have briefly tried to duplicate your GPT-Shortcut and modify the API endpoint and the POST parameters: remove the prompt parameter (type string), replace it with “messages” param, am array of dictionaries. It didn’t work. (I have never played with iOS shortcut scripts before).

    Under iOS 16.3.1, I had to overcome 3 minor obstacles: grant permissions to Speech recognition API, + to Speech-to-text-API, and allow internet access API before I got the Shortcut to work.

    I would be cool if you provided a post explaining the code of the shortcut, in pseudocode, or in Python, JavaScript, here on our blog. Just an idea . (Maybe the other blogpost , those you took inspiration from, explain it already).

    Like

    1. Fernando Correa Avatar
      Fernando Correa

      Hi everyone, it seems that all the shortcuts that work with chatGPT API´s are not working properly . If you have any news about it pls send me a message to fcorreahiriart@gmail.com. This happen after apple did an update to the iPhone this week (April 7th, 2023). Best regard

      Like

      1. ryanfernald Avatar
        ryanfernald

        Agreed, it stopped working and I’ve been looking for answers. Glad I’m not the only one

        Like

      2. Fernando Correa Avatar
        Fernando Correa

        What happen is that the API service is only available during a short amount of time. After that you need to buy tokens. Mine was available until April 1th…. good luck to everyone.

        Like

      3. Alex Kolchinski Avatar
        Alex Kolchinski

        Mine is still working – mind checking if your OpenAI credits expired?

        Like

  2. Siri Pro with Full Conversational Capability (ChatGPT API) – AI Tool Tracker

    […] used Alex Kolchinski’s original shortcut (https://alexkolchinski.com/2023/03/01/how-to-talk-to-chatgpt-through-siri/) as a base, so full credit to him, I’ve just made developments to allow for natural and dynamic […]

    Like

  3. How To: Talk to GPT-3 through Siri – Alex Kolchinski Avatar
    How To: Talk to GPT-3 through Siri – Alex Kolchinski

    […] Note: it’s now possible to talk to a newer OpenAI model through Siri – if you want to use the better, and cheaper, newer version, see my updated post here. […]

    Like

  4. Mark Gillespie Avatar
    Mark Gillespie

    The new shortcut with GPT-3.5 turbo also works fine for me. Although, since it’s the model used by ChatGPT it is not aware of “hypothetical” products (in the future – post 2021) like GPT-3.5 turbo when asked.
    My question is how to edit the shortcut to allow saving the text responses, which are often quite detailed and useful?

    Like

    1. Kevin M Avatar
      Kevin M

      Scroll to the bottom of the shortcut and search for and add “copy to clipboard”. Also try adding “create note “ or “append to note”

      Like

  5. Mark Gillespie Avatar
    Mark Gillespie

    Here is the link to an article about the announcement of the new API release: https://the-decoder.com/openai-api-for-chatgpt-pricing/

    Like

  6. Mohamed Cheick Traore Avatar
    Mohamed Cheick Traore

    Hi, sorry l’ve done all the steps with no issue but when I ask GPT something after loading the response does not appear

    Like

    1. Hank Simon Avatar
      Hank Simon

      You may have to give permissions to get the Shortcut to work:

      Grant permissions to:
      Speech recognition API,
      Speech-to-text-API,
      Allow Internet access API

      Try closing the Shortcut App, then open the GPT Mode Shortcut and allow the permissions.

      Like

      1. Yamatscha Sinjuri Avatar
        Yamatscha Sinjuri

        I need help with this – I’ve given it the permissions several times now (I’ve tried multiple times) – I get the input window but I dont get any output whatsoever. Again, I’ve given it all permissions it needs, but its not saying – not even outputting anythying.

        Like

  7. Max Avatar
    Max

    How to use GPT 4 ? I’m paying for it.

    Thanks

    Like

    1. Alex Kolchinski Avatar
      Alex Kolchinski

      You’ll need to use the GPT-4 API once they open up public access! The shortcut should be easy to update to use the GPT-4 API when it’s available.

      Like

  8. Paul Coe Avatar
    Paul Coe

    This was working a treat until I upgraded to IOS 16.4 now my iPhone14 can’t/won’t open the shortcut! Anybody else? I’ve tried everything …

    Like

  9. Idan Avatar
    Idan

    It’s working with 16.4 ??

    Like

  10. Question Avatar
    Question

    @Alex, do you have any info on how to fix the shortcut after the recent iOS update please?

    Like

    1. Alex Kolchinski Avatar
      Alex Kolchinski

      Uh-oh, let me look into it!

      Like

      1. Alex Kolchinski Avatar
        Alex Kolchinski

        I just confirmed that mine still works – if yours isn’t working, can you check if you still have OpenAI credits or did yours expire?

        Like

      2. Fernando Correa Avatar
        Fernando Correa

        Yes, that is the problem, need to buy a subscription. Thanks for your fast reply

        Like

  11. Salvador Nunez Avatar
    Salvador Nunez

    @Alex, is your shortcut working with GPT-4

    Like

    1. Alex Kolchinski Avatar
      Alex Kolchinski

      Yes, but only if you have access to the GPT-4 API! If you do you just have to update the API endpoint the shortcut calls to replace GPT 3.5 with GPT 4

      Like

  12. Salvador Avatar
    Salvador

    @Alex, is your shortcut working with GPT-4? I recently upgraded my plan to ChatGPT Plus which gives me access to GPT-4 but would like to know if with the current API key I can interact with GPT-4 or do I need to generate a new secret key. Thank you in advance for your help?

    Like

    1. Alex Kolchinski Avatar
      Alex Kolchinski

      Yes, but only if you have access to the GPT-4 API, which is different from having access to GPT-4 through the ChatGPT website.

      Like

      1. Salvador Avatar
        Salvador

        And how do I get access to the GPT-4 API?

        Like

      2. Alex Kolchinski Avatar
        Alex Kolchinski

        You can get on the waitlist here – I think people usually get off it in a matter of weeks. https://openai.com/waitlist/gpt-4-api

        Like

      3. Salvador Avatar
        Salvador

        Thank you, that is very kind of you to reply!

        Like

  13. Edson Avatar
    Edson

    I have GPT-4 api key, but the shortcut runs but doesn’t respond. Just check

    Like

  14. Joe Avatar
    Joe

    Alex so if someone’s API has expired. Does it not get renewed every month? What does one do to renew it?

    Like

    1. Alex Kolchinski Avatar
      Alex Kolchinski

      You might be out of free credits! If so you’ll have to sign up for a paid account on OpenAI

      Like

Leave a comment