For Summarize, Refine, and Rewrite, you may customize the prompt in the Extension settings. PopClip extensions add extra actions to PopClip. Here is the Summarize shortcut working in the wild: Sorry, your browser doesn't support embedded videos. Popclip is a little utility that pops up buttons when you highlight text. The output from ChatGPT will stream to the Raycast UI, which allows you to copy the output to your clipboard using the keyboard shortcut enter or paste it directly into your foreground application using cmd + enter. You can use the extensions created by this to send the highlighted text through to a Shortcut, quicker and nicer than using the services menu. Give it the extension the same name as the Shortcut you want to run. If you are not happy with the output, you can regenerate the results with cmd + R. If the default gpt-3.5-turbo is not powerful enough for you, you may use cmd + shift + R to regenerate the result with gpt-4. You don't have to remember all these shortcuts, as Raycast also conveniently provide these options in the UI. Follow the wizard to finish the setup.Search for ChatGPT Quick Actions using the "Store" command in Raycast.Additionally, I have included some additional features, such as a token counter and a cost estimator. You will need to provide your OpenAI API key.Ĭustomize your prompts and keyboard shortcuts in the settings. If you are comfortable with modifying the source code, you can also add more commands to your liking. First, you will need to install the extension from source: cd ~/Developer # or wherever you want to store the extension git clone For example, you can add more commands or change the default model. you have to select the text as you do with Popclip and then invoke Alfred through a. This set of commands should install the extension to Raycast. Only problem I have with this is that Mac share extensions are not. It's safe to kill the npm run dev process and close the terminal window.ĭepending on the desired behavior of the new command, duplicate the execute.ts or rewrite.ts files. Declare your new command in the package.json file. For example, if you want to add a new command called New Command (the corresponding file is new_command.ts), add the following entry to the commands array:, 1 Like nick March 1, 2023, 8:44pm 18 OK, here is a snippet for the real thing ChatGPT, that you can actually chat with. You could then read this prompt from the preferences in the new_command.ts file: const prompt = getPreferenceValues ( ). 2 rkaplan: just highlight the text below and click when it offers the option Install Extension 'Devonthink Quotes' I’ve used PopClip for years and had no idea it could do that rkaplan: The result is a Popclip extension called DQ which appears when highlighting text but only appears when doing so within Devonthink 3 and not in other apps. prompt_new_command Īfter you are done, run npm run dev to push the update locally to your Raycast.OK, here is a snippet for the “real thing” ChatGPT, that you can actually chat with. Update, : A pre-packaged version of this extension is now available. To use it, you’ll need to sign up for an OpenAI platform account, and get your own API key from.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |