![]() Then, press the x to remove the Input Mode dialog and press Keep Actions this time. Delete the Typing option and press Delete Actions when prompted. Keep this if you like, but for a more Siri-like experience, we want to skip this step and automatically ask questions by voice. ![]() The first action asks the user whether they wish to interact via Dictating or Typing. Let’s look at this shortcut in more detail. Next, tap the shortcut name in the top bar and press Rename to change it to something a bit snappier, such as “Super Siri”. Scroll down to the Text section and paste in the API key you generated earlier. We’ll need to make a few tweaks, so tap the … button on it to edit the shortcut. You’ll now find Shortcut for ChatGPT (Medium) in your shortcuts library. Press Add Shortcut and approve the necessary permissions when prompted. Tap this link to open a ready-made ChatGPT shortcut in the Shortcuts app. The required shortcut is complex, but luckily you don’t have to create it from scratch. This will never be shown again, so be sure to paste it into the Notes app or similar for future reference. Then press Create New Secret Key and tap the green button to copy the code to your clipboard. To get your own API key, head to /account/api-keys and log in or create an account – it’s free. Instead, we can use this API key to link the official ChatGPT service with Siri Shortcuts for easy, free access any time – even during peak hour when access to the website is limited. Developers use these keys to design their own AI apps, but despite a few interesting variants, many of them are scams/copycats/ad-ridden/not very good. Generate an API keyįirst, you’ll need to create something called an API key, which allows you to integrate ChatGPT’s functionality into other services. By customizing a shortcut provided by iJunkie, we can create what iGeeksBlog and others are calling “Super Siri”. This is possible thanks to some sneaky automations in Apple’s Shortcuts app and OpenAI being, well, open. If only Siri could do the same…īelieve it or not, you can fuse ChatGPT and Siri together to form a new voice assistant you can call upon any time from your iPhone, giving users the best of both worlds. For better and worse, the field of AI has exploded over the past year, and top dog ChatGPT puts Siri to shame when it comes to creative tasks or those that require complex understanding. ![]() ![]() But despite being almost 12 years old, in many ways Siri can’t keep up with the new kids on the block. I’m pretty sure that Scriptable is an optional component, the Dictionary Value technique illustrated in the second example would work fine.Apple’s virtual assistant Siri can be really useful for basic things like managing your calendar or setting alarms. Add a Speak Text block and Siri will read the return value to you, you can also set up conditional statements to check the result as I have done in the screenshot below.Add a Dictionay Value block and Get the Key return_value.Add a Get Contents of URL block and set it to Post using a Form, add two text fields to the form: arg (set this to whatever your function is expecting) access_token (set this to the access_token variable).Add a URL block and copy and paste the following URL into it: device id variable/your function.Repeat steps 2 and 3 for your Particle Cloud access_token.Add a set variable command to name your variable (in my case boiler ID).Add a text block and copy and paste your device ID into it.Quick tutorial: To call a function in the Particle Cloud (in my case, the set the target temperature) Create a shortcut in the Shortcuts app to run the script and speak the text.Let OutputTxt = "The temperature is " + SalonTemp/10 + "☌" My temperature is in centigrade and multiplied by 10 so that I don’t have to bother with decimals in my code Let url = " your-device-id/ your-variable?access_token= your-access-token" Create a script in Scriptable to fetch the variable.Download the Shortcuts app and the Scriptable app from the App Store.Quick tutorial: To read a variable from the Particle Cloud (in my case, the current temperature) And since there is a Photon managing my boiler I can also set a new temperature using voice commands. ![]() I have a Photon making temperature readings inside the house that’s now read out loud by Siri. I’ve been tinkering with Siri Shortcuts for a couple of days and I thought I would share the news that since iOS 12 you can now interact with the Particle Cloud using your voice. ![]()
0 Comments
Leave a Reply. |