Escaneie com o iPhone para instalar
Interact with ChatGPT using your keyboard.
Are you looking for a way to utilize ChatGPT, but don't like speaking to Siri?
TextGPT may be the shortcut you have been looking for.
Simply type your question in the prompt and Siri will speak the answer. You will also have the option to save the result and view it on your screen.
You can now access the shortcut from the Share menu.
*Results are saved by date to ICloud Drive - Shortcuts - TextGPT.
Novidades
Versão 1.1
- Added shortcut to the Share menu.
O que ele faz
26 ações-
Text
-
Get File
-
Create Folder
-
If
-
Show Alert
-
Open URLs
-
Wait
-
Text
-
Close Tabcom.apple.mobilesafari
-
Show Alert
-
Wait
-
Set VariableList
-
Repeat
-
Ask for InputWhat do you want to know?
-
Text
-
Add to Variable
-
Show NotificationI'm working on it. Please wait...
-
Get Contents of URLhttps://api.openai.com/v1/completions
-
Get Dictionary from Input
-
Get Dictionary Value
-
Wait
-
Speak Text
-
Show Alert
-
Append to Text File
-
Wait
-
Show Result
Ver como código
Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.
#include 'actions/web'
#include 'actions/documents'
#define color darkblue
#define glyph waveform
const File = getFileFromFolder(, "TextGPT", false)
createFolder("TextGPT")
if !File {
confirm("Run Initial Setup? ")
openURL("http://www.blackhatteams.com/p/textgpt.html")
wait(6)
const Text = "TextGPT"
rawAction("com.apple.mobilesafari.CloseTab", {
"AppIntentDescriptor": "",
"target": "Text"
})
confirm("Setup Complete! ")
}
wait(2)
@List = nil
repeat _ for 100 {
prompt("What do you want to know? ")
@List += "{}\n"
showNotification("I'm working on it. Please wait...", false)
const ContentsOfURL = jsonRequest("https://api.openai.com/v1/completions", "POST", {
"max_tokens": 500,
"model": "text-davinci-003",
"prompt": "{@List}",
"stop": "\\\\n",
"temperature": "0.5"
}, {
"Authorization": "Bearer {}",
"Content-Type": "application/json"
})
const Dictionary = getDictionary(ContentsOfURL)
wait(0)
speak()
confirm("Do you want to save the text? ")
appendToFile("{CurrentDate}.txt", "{}{}")
wait(2)
show()
}
Abrir no Cherri Playground
Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.
Avaliações e comentários
Escrever uma avaliação–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!
Publicidade
Mais de blackhatteam
Você também pode gostar
Publicidade