ShareShortcuts

AskGPT

Extends Siri with ChatGPT superpower, ready for your orders

nfodor
Создать форк «AskGPT»

Создали что-то новое на основе этой команды? Поделитесь ей как форком: она станет вашей собственной командой, которой вы управляете, а обе страницы будут ссылаться друг на друга, чтобы nfodor получил(а) признание.

  1. 1Получите команду и измените её в приложении «Быстрые команды». Дайте ей собственное название.
  2. 2Поделись ею из приложения «Быстрые команды» и скопируй ссылку iCloud.
  3. 3Вернись сюда, вставь ссылку и опиши, что изменилось, например: «Добавлен шаг, который использует Apple Intelligence для персонализации текста».
Загрузки
35K
Сохранено
0
Действия
46
Категория
Productivity
Версия
1.8
Язык
EN

Просмотр

Extends Siri with ChatGPT superpower, ready for your orders...

ChatGPT is a natural language processing tool driven by AI technology that allows you to have human-like conversations and much more with the chatbot. The language model can answer questions and assist you with tasks like composing emails, essays, and code.

Plus: Send anything in your clipboard to ChatGPT, or copy a question starting with "me: " to the clipboard and run the shortcut.

[Docs](https://docs.setip.io/docs/askgpt-showme)

[Enable instant tap screen access to AskGPT, YouTube Video](https://youtu.be/zVGn0NBg6-s)

Что нового

Версия 1.8

Auto Update for easy updating.

История версий
1.8 1 апр 2023 г.

Auto Update for easy updating.

1.2 1 апр 2023 г.

Update AskGPT added to menu.

1.1 30 мар 2023 г.

No extra tap to play result.

1.0 30 мар 2023 г.

First release

Что делает

Действий: 46
  1. Nothing
  2. Comment
    Once this shortcut is actived you are asked to speak a question unless clipboard contains text that starts with “me: your question here”, then it will returns a response from ChatGPT3 and paste the result if in an editor.
  3. Dictionary
  4. Set Variable
    meta
  5. Set Variable
    Query
  6. If
  7. URL Encode
  8. Set Variable
    Query
  9. If
  10. Dictate Text
  11. If
  12. Stop This Shortcut
  13. If
  14. URL Encode
  15. Set Variable
    Query
  16. Get Contents of URL
    https://chatgpt.setip.io/chatgpt/v3?prompt=…
  17. Get Dictionary Value
  18. Get Dictionary Value
  19. Combine Text
  20. Make Spoken Audio
  21. Repeat
  22. Choose from Menu
    Scroll for more...
  23. Choose from Menu
    Read
  24. Show Result
  25. Choose from Menu
    Listen
  26. Play Sound
  27. Choose from Menu
    New
  28. Run Shortcut
    AskGPT
  29. Choose from Menu
    Share response
  30. Share
  31. Choose from Menu
    Install OnScreen
  32. Open URLs
  33. Stop This Shortcut
  34. Choose from Menu
    Share AskGPT
  35. Text
  36. Share
  37. Choose from Menu
    Help
  38. Show Web Page
  39. Choose from Menu
    Update
  40. Get Contents of URL
    https://shortcuts.setip.io/shortcuts/1/version/latest
  41. Get Dictionary Value
  42. Get Dictionary Value
  43. Open URLs
  44. Stop This Shortcut
  45. Choose from Menu
    Exit
  46. Stop and Output

Посмотреть как код
Бета

Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.

#include 'actions/web'
#define color darkorange

nothing()
// Once this shortcut is actived you are asked to speak a question unless clipboard contains text that starts with “me: your question here”, then it will returns a response from ChatGPT3 and paste the result if in an editor.

@meta = {
	"VoiceResponse": true
}
@Query = ShortcutInput

if  beginsWith "me: " {
	urlEncode(Clipboard)
	@Query
} else {
	const DictatedText = listen("After Pause")
	if DictatedText beginsWith "Show me" {
		stop()
	} else {
		urlEncode(DictatedText)
		@Query
	}
}
const ContentsOfURL = downloadURL("https://chatgpt.setip.io/chatgpt/v3?prompt={@Query}")
const DictionaryValue = getValue(ContentsOfURL, "response")
const DictionaryValue1 = getValue(DictionaryValue, "responsewithq")
const CombinedText = joinText(DictionaryValue1, "
")
const SpokenAudio = makeSpokenAudio(CombinedText, 0.44632768630981445, 1.0058139711618423)

repeat _ for 100 {
	menu "Scroll for more..." {
	item "Read":
		show(CombinedText)
	item "Listen":
		playSound(SpokenAudio)
	item "New":
		runSelf(RepeatResults)
	item "Share response":
		share(CombinedText)
	item "Install OnScreen":
		openURL("https://youtu.be/zVGn0NBg6-s")
		stop()
	item "Share AskGPT":
		const Text = "I already use artificial intelligence now, try it out and share your questions and its answers with me!\n\nInstall AskGPT iOS Shortcut to enhance Siri immediately with unlimited ChatGPT power!\n\nhttps://www.icloud.com/shortcuts/8693f8c4295649e197e861e329dba692"
		share(Text)
	item "Help":
		showWebpage("https://docs.setip.io/docs/askgpt-showme", false)
	item "Update":
		const ContentsOfURL1 = downloadURL("https://shortcuts.setip.io/shortcuts/1/version/latest")
		const DictionaryValue2 = getValue(ContentsOfURL1, "version.url")
		openURL(DictionaryValue2)
		stop()
	item "Exit":
		output(CombinedText)
	}
}
Открыть в Cherri Playground Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.

Оценки и отзывы

Написать отзыв
–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Пока нет отзывов. Поделись мнением первым!

Реклама

Вам также может понравиться

См. все
Реклама