[EN] | zh_CN
PopClip extension to correct grammar using OpenAI's GPT API.
Note: Requires pre-paid API credits on your OpenAI account.
- Download and unzip GrammarGPT.popclipext.zip.
- Double-click the GrammarGPT.popclipext file to install.
To use this extension, you need to provide it with an API Key for an OpenAI account. To get an API Key:
- Open https://platform.openai.com/account/api-keys and sign in.
- Copy and paste the API Key (it starts with
sk-
) into the API Key field in the extension's settings.
Available values are gpt-3.5-turbo
and gpt-4
. Note that some accounts might not be able to access the GPT-4 model — see OpenAI's documentation for details.
- Show: Do nothing just show the result.
- Paste: Paste the result to the current position.
- Append: Insert a blank line, then paste the result.
- Copy: Copy the result to the clipboard.
You can provide a custom prompt to use instead of the default prompt. The prompt should be a single line of text.
Default prompt from OpenAI: You will be provided with statements, and your task is to convert them to standard English.
If you not using OpenAI's default API endpoint, you can provide a custom endpoint to use instead. e.g. https://example.com/v1/
.
Show a button in PopClip, click it to paste the previous result.
You may see the following error:
Message from OpenAI (code 429): You exceeded your current quota, please check your plan and billing data.
The message means you need to add some credit to you OpenAI API account. You can do this at https://platform.openai.com/account/billing/overview.
This extension is base on Nick Moore's ChatGPT
Roger Lee https://github.com/rijieli
Requires PopClip 2022.12 and an Open AI Platform account.
- First release
- New options
After Getting Response
to control the behavior after getting response.