How to use ChatGPT with your iPhone or iPad shortcuts


Want to access ChatGPT on your iPhone or iPad? You can always navigate to OpenAI’s ChatGPT website in Safari whenever you want to use it. But a more practical option is to set up a Siri Shortcut that works with AI. Instead of trying to create your own shortcut, you can download and install a few pre-made shortcuts.

In my testing, I tested three different Siri ChatGPT Shortcuts: SiriGPT, ChatGPT Siri, and Siri Pro. They all worked the same way to bring the power of ChatGPT to an iPhone or iPad.

Once the shortcut is set up, you can trigger it in different ways. You can open the app Shortcuts and touch the shortcut icon. You can add the shortcut to your home screen, where it will be more easily accessible. Finally, you can launch the shortcut by asking Siri to activate it.

1. Obtain API keys

The first step is to obtain the necessary API keys from Open AI. These keys are used by a ChatGPT shortcut to send your requests to the ChatGPT service and receive responses. The process for obtaining keys is the same no matter which ChatGPT shortcut you use.

On your iPhone or iPad, open Safari (it also works with Firefox!) and go to the Open AI platform page. If you do not yet have an account with OpenAI, click on the button Sign-up. Otherwise, click the button Login and log in with your account. In the Settings menu and select your profile. In the profile menu, tap View API Keys.


The menu shows the Show API Keys option

Select the Show API Keys option. screenshot by Lance Whitney/ZDNET

2. Create a new secret key

In the API keys screen, press the button Create a new secret key (Create a new secret key). Select the entire channel, then press To copy. Open a note and paste the key. If you plan to try several ChatGPT shortcuts, return to the Open AI platform page to create one or more new secret keys.


The copied and pasted API key.

Copy and paste the API key. screenshot by Lance Whitney/ZDNET

Now let’s take a look at each of the three ChatGPT shortcuts.

How to use SiriGPT


1. Get the shortcut

Open the SiriGPT Shortcuts page on your device and press the button Get Shortcut. In the shortcuts screen, press the button Add this shortcut. The shortcut appears in the application Shortcuts.


SiriGPT shortcut being added

Add SiriGPT shortcut. screenshot by Lance Whitney/ZDNET


2. Add API Key

Go back to the note where you pasted one or more API keys. Select and copy a keyset. Back in the app Shortcutstap the three-dot shortcut icon SiriGPT. In the text field, delete the sentence ADD API KEY HERE, then paste the API key you just copied. Validate everything by returning to the home screen of Shortcuts.


The API key being pasted

Paste the API key. screenshot by Lance Whitney/ZDNET


3. Run SiriGPT

Tap the SiriGPT shortcut to launch it. The first time, you will be asked to allow it to access voice recognition. Press on To allow.


The shortcut being run

Run the shortcut and grant the necessary permissions. screenshot by Lance Whitney/ZDNET


4. Ask a question

Type or speak your request. Press on To allow when asked to log in to api.openai.com. SiriGPT then displays and speaks the answer. You can stop at any time to end the discussion. You can also ask another question.


The response is displayed and spoken

Read and listen to the response. screenshot by Lance Whitney/ZDNET

How to use ChatGPT Siri


1. Get the shortcut

Open the ChatGPT Siri Shortcuts page in Safari (or another browser like Firefox) and press the button Get Shortcut. In the shortcuts screen, press the button Add this shortcut. The shortcut then appears in the application Shortcuts.


The shortcut being added

Add the shortcut. screenshot by Lance Whitney/ZDNET


2. Add API Key

Tap the three-dot shortcut icon. In the text field, delete the phrase “Replace this with your own API key!” (Replace this with your own API key!) and paste one of the API keys you copied from Open AI. And here too validate everything by returning to the home screen of Shortcuts.


The API key is pasted

Paste the API key. screenshot by Lance Whitney/ZDNET


3. Ask a question

Tap the ChatGPT shortcut. Type your request in the text field or dictate it by tapping the microphone icon on the keyboard. Allow ChatGPT to connect to api.openai.com. The answer is then displayed on the screen.


The response is displayed

See the answer. screenshot by Lance Whitney/ZDNET

How to use Siri Pro


1. Get the shortcut

Open the Siri Pro shortcuts page in the browser and press the button Get Shortcut. In the shortcuts screen, press the button Add this shortcut. The shortcut appears in the application Shortcuts.


The shortcut is added

Add the shortcut. screenshot by Lance Whitney/ZDNET


2. Add API Key

Tap the three-dot shortcut icon. In the text field, delete the phrase “GENERATE & ADD YOUR API KEY HERE” and paste an API key that you copied from Open AI. Validate everything.


The API key is pasted

Paste the API key. screenshot by Lance Whitney/ZDNET


3. Ask a question

Tap the shortcut Siri-Pro. Type your request in the text field or dictate it by pressing the microphone icon on the keyboard. Also allow Siri Pro to connect to api.openai.com. By default, the shortcut only speaks the response and does not display it. But if you’re adept enough with Siri Shortcuts, you might be able to modify this one to display a response on the screen as well.


The response is spoken

Listen to the answer. screenshot by Lance Whitney/ZDNET

How to trigger a shortcut from the home screen?

Instead of launching a shortcut through the app Shortcutsyou can more easily trigger it from the home screen.


1. Add to home screen

To do this, press the icon of one of the ChatGPT shortcuts and select Share. In the menu Sharetap the option Add to home screen. Preview the shortcut name and icon, then press Add.


The shortcut is added to the Home screen

Add the shortcut to the home screen. screenshot by Lance Whitney/ZDNET


2. Ask a question

Tap the icon on the home screen, then speak or type your request to receive a response.


The shortcut run from the Home screen

Run the shortcut from the home screen. screenshot by Lance Whitney/ZDNET

How to trigger a shortcut via Siri

An even faster way is to launch a shortcut via Siri. Just say, “Hey Siri [nom du raccourci]”. If Siri doesn’t understand that you want it to run a shortcut due to confusion with the name, the best solution is to rename the shortcut.

To do this, tap the shortcut in the Shortcuts app and select Rename from the menu. Choose a name that does not conflict with an existing command. Try calling Siri again. Speak or type your request and wait for the response.


Siri runs the shortcut

Ask Siri to run the shortcut. screenshot by Lance Whitney/ZDNET


Source: “ZDNet.com”





Source link -97