diff --git a/GPT/gpt.talon b/GPT/gpt.talon index 35211c1c..e0c965ed 100644 --- a/GPT/gpt.talon +++ b/GPT/gpt.talon @@ -10,7 +10,7 @@ model [this]$: user.paste(result) # Runs a model prompt on the selected text and sets the result to the clipboard -model clip [this]$: +model [this] (then | and) (clip | copy) [it]$: text = edit.selected_text() result = user.gpt_apply_prompt(modelPrompt, text) clip.set_text(result) @@ -37,7 +37,7 @@ model apply [from] clip$: user.paste(result) # Shows the list of available prompts -model help$: user.gpt_help() +model help$: user.gpt_help() # Reformat the last dictation with additional context or formatting instructions model [nope] that was $: diff --git a/GPT/readme.md b/GPT/readme.md index 5cc395c4..5d9dd42c 100644 --- a/GPT/readme.md +++ b/GPT/readme.md @@ -6,12 +6,13 @@ Query language models with voice commands. Helpful to automatically generate tex | Command | Description | Example | | ------------------------------------------------------------- | -------------------------------------------------------------------- | --------------------------------------------- | -| `model ask ` | Ask a question to the model | "model ask what is the meaning of life" | | `model ` | Generate text from a prompt and paste it | "model summarize" | -| `model clip ` | Generate text from a prompt and set it on the clipboard | "model clip summarize" | | `model help` | Show the help menu with all the prompts | "model help" | | `model please ` | Say an arbitrary prompt and then apply it | "model please translate this to Japanese" | +| `model ask ` | Ask a question to the model | "model ask what is the meaning of life" | | `model ` | Select with cursorless, apply a prompt, and paste to the destination | "model explain line this after block red air" | +| `model then select it` | Apply a prompt and then select the result | "model format grammar then select it" | +| `model then clip it` | Apply a prompt and return the result in the clipboard | "model format grammar then clip it" | ## Help