from Hacker News

How to talk to GPT-3 through Siri

by kolchinski on 2/3/23, 6:59 PM with 42 comments

After getting frustrated with Siri's inability to answer pretty basic questions with actual answers instead of "I searched the web for you", I figured out how to get GPT-3 integrated pretty seamlessly with Siri. Sharing it here in case it's useful for anyone else!

You can see the short writeup with instructions here: https://alexkolchinski.com/2023/02/03/how-to-talk-to-gpt-3-t...

The Siri shortcut is here: https://www.icloud.com/shortcuts/b10d3d361a3f48428a2ed8fe729... (You'll need to add your OpenAI API key to the shortcut and update your Siri accessibility settings to get it to work smoothly – see the above-linked blog post for more detailed instructions.)

  • by criddell on 2/3/23, 8:26 PM

    Will GPT-3 tell you when it doesn't have an answer, or does it always fabricate some type of non-empty response?

    Edit:

    I just asked "What problem did Luke Skywalker have with tribbles?"

    Answer: Luke Skywalker had a problem with tribbles because they would constantly try to escape from his lightsaber...

  • by dsabanin on 2/3/23, 7:42 PM

    If you change model name in OpenAI request to "text-chat-davinci-002-20230126" and use "<|im_end|>" as a stop, and use this prompt, it will respond like ChatGPT:

    You are ChatGPT, a large language model trained by OpenAI. You answer as concisely as possible for each response (e.g. don’t be verbose). It is very important that you answer as concisely as possible, so please remember this. If you are generating a list, do not have too many items. Keep the number of items short.

  • by frietzkriesler2 on 2/3/23, 7:58 PM

    Solid work, now we need someone to make a Majel Barret ai voice clone to replace Siri's annoying "I'm a helpful person but not really" voice as well as chapgpts verbosity when asking it certain questions and we will FINALLY have a star trek TNG like computer assistant.
  • by serpix on 2/3/23, 7:32 PM

    My problem with Siri is that it doesn't understand speech. I am non native speaker but coming from Android I had no problems with Google in understanding what I am saying. It just does not understand or completely alters the phrase.
  • by dreadlordbone on 2/3/23, 8:26 PM

    I've been using my own version of this for a while - it's excellent when you are driving and don't want to have Siri yell at you for asking it something it needs web results for.
  • by s3p on 2/3/23, 7:23 PM

    Great work. Just set it up with my API key. Not sure how often I'll be asking siri complex questions, but useful to have either way. Thanks for publishing this on HN!
  • by avivo on 2/3/23, 8:18 PM

    Has anyone gotten this to speak back a response on a Mac? I don't see a setting for this.

    I'm also curious if there are ways to do this for Google Home and Alexa.

  • by twodayslate on 2/3/23, 10:42 PM

    I've greatly simplified this using Smart AI Actions: https://apps.apple.com/us/app/smart-ai-actions/id1659310170
  • by bcardarella on 2/3/23, 9:27 PM

    Do the shortcuts just install on the specific device or will they be available on all devices hooked up to my icloud account? Like my homepod
  • by esamek on 2/3/23, 9:07 PM

    Not working for me...

    EDIT: Got it to work. Need a paid account and an API key that was generated after you convert a free trial to a paid account.

  • by nomilk on 2/3/23, 10:39 PM

    Is there somewhere we can view the source code? (the link leads to an 'Add shortcut' button)
  • by jgalt212 on 2/3/23, 8:57 PM

    Is this a evil plan to get AWS and Azure to use more electricity than the blockchain?