ShareShortcuts

Question

A Siri enhancement using Bing search and ChatGPT

blackhatteam
Fork “Question”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so blackhatteam gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
32K
Saved
0
Actions
21
Category
Productivity
Version
1.0
Language
EN

A Siri enhancement using Bing search and ChatGPT. Unlike shortcuts that incorporate ChatGPT with Siri, Question uses Bing search on the web as the backend and ChatGPT to generate the result. This means you can get a real-time answer to a question using Siri.

Activate the shortcut with "Hey Siri: Question"

Examples of things to ask:

  • A restaurant near me
  • Distance to city, state
  • Today's weather
  • Stock market Dow, Nasdaq or S&P

You can also:

  • Generate a fictional story or email (with provided parameters)

*The ChatGPT app is required for this shortcut.

*Answers to questions are available in the History section of the ChatGPT app.

*Make sure "While Using the App" is selected in Settings - Location Services - Safari Websites. You may need to go to www.bing.com in Safari and do a search to enable location permissions.

*Question cannot be used to open an app or get information from iOS apps on your device. You will need to stop the shortcut to return to basic Siri.

*You may get an error from ChatGPT if your question is too vague or your ChatGPT history is full.

What's New

Version 1.0

First release

Version History
1.0 Jun 13, 2023

First release

What it does

21 actions
  1. Comment
    Answers are saved in the History section of the ChatGPT app.
  2. Get File
  3. If
  4. Create Folder
  5. Show Alert
  6. Open URLs
  7. Wait
  8. Text
  9. Close Tab
    com.apple.mobilesafari
  10. Go to Home Screen
  11. Show Alert
  12. Text
  13. Speak Text
  14. Dictate Text
  15. URL
    https://www.bing.com/search?q=…
  16. Get Contents of Web Page
  17. Ask ChatGPT
  18. Text
  19. Show Result
  20. Show Alert
  21. Run Shortcut
    Question

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#define mac false
#include 'actions/web'
#include 'actions/documents'
#define color darkblue
#define glyph chatBubble

// Answers are saved in the History section of the ChatGPT app. 

const File = getFileFromFolder(, "Question", false)

if !File {
	createFolder("Question")
	confirm("Run Initial Setup? ")
	openURL("http://www.blackhatteams.com/p/question.html")
	wait(6)
	const Text = "Question"
	rawAction("com.apple.mobilesafari.CloseTab", {
		"AppIntentDescriptor": "",
		"target": "Text"
	})
	returnToHomescreen()
	confirm("Setup Complete! Run Shortcut?")
}
speak()
listen()
url("https://www.bing.com/search?q={}")
getWebpageContents()
rawAction("com.openai.chat.AskIntent", {
	"AppIntentDescriptor": "",
	"ShowWhenRun": false,
	"newChat": true,
	"prompt": "Provide an answer using this page: \\\"{}\\\""
})
show()
confirm("Ask another question? ")
runSelf()
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Advertisement

More by blackhatteam

See All

You Might Also Like

See All
Advertisement