A pre-packaged version of the ChatGPT extension, which evolved as a snippet over on this topic. This version includes some refinements, described below.
Send the selected text to ChatGPT, and append the response.
The main action, Chat, sends the selected text to OpenAI’s ChatGPT and
appends the response as a new line.
As a modifier, if you hold the Shift (⇧) key while invoking the action, the
response will be copied to the clipboard instead of appended to the selection.
The previous messages in the chat are sent along with each new message, allowing
an extended dialogue with the AI.
The Reset action (broom icon) clears the current chat history to start a
To use this extension, you need to provide it with an API Key for an OpenAI
account. To get an API Key:
Sign up for an OpenAI Account here: https://platform.openai.com/
Generate an API key here: https://platform.openai.com/account/api-keys
Copy and paste the API Key (it starts with
sk-) into the API Key field in
the extension’s settings.
Reset Timer (minutes)
After this many minutes without any messages, the extension will automatically
reset the conversation. Set it blank to never reset, and set it to 0 to always
reset. The default value is 15 minutes.
Show Reset Button
Control whether or not to show the reset action in the popup.
This is an extension for PopClip.
“openai” by Simple Icons.
“broom” by GameIcons.
Requires PopClip 2022.12 and an Open AI Platform account.
- Add a configurable reset timer.
- Initial release.