Ever wanted to make Siri smarter? Voice assistants are great for executing simple tasks, and we can make them much smarter by connecting an AI model to it. Well I have tried to connect ChatGPT to Siri, but it's been hacky and unstable since there’s no official ChatGPT APIs yet. Here I’m using GPT-3’s APIs:
- You would need an OpenAI account, and also an API key.
- If you’re not feeling really geeky today, feel free to just download and use my shortcut file. I don’t charge for the file but feel free to buy me a $1 ice cream here ->

Open this "Get Jarvis.shortcut" in your Shortcut App: https://drive.google.com/file/d/1BgW5x43TcDG5priCycMGJRmQgloWkVFg/view?usp=sharing
Make sure you add your API key to the Authorization Bearer!

If you’re feeling geeky today, follow these steps:
- Open the Shortcut App
- Create a new shortcut, name it whatever you want to say to activate it
- Add a “Ask for” action to get your voice input
- Add a “Get contents of” action to get and post to GPT-3’s API address: https://api.openai.com/v1/completions; Selece “Post” method; Add a header with the name “Authorization”, then add “Bearer [Your API key]” to the content; Add a field “model”, with content “text-davinci-003”; Add a field “prompt”, with a selected content “Provided Input”; Add a field “max_token”, with content “1000”
- Add a “Get dictionary from”, with content “Contents of URL”
- Add a “Get Value”, for “choices” in “Dictionary”
- Add a “Get Value”, for “text” in “Dictionary Value”
- Finally, add a “Speak” for “Dictionary Value”
GPT-3 API’s not free but it only costs about $0.1 for approximately 20 questions so it’s really not that bad. Have fun hacking guys!