This extension refines your text in Japanese with OpenAI.
- Suggest the improved your Japanese text using OpenAI.
- Apply the suggested improvements to your text.
Available commands:
"commands": [
{
"command": "com.github.chick-p.vscode-japanese-refinement-openai.refineJapanese",
"title": "Refine Japanese with OpenAI"
},
{
"command": "com.github.chick-p.vscode-japanese-refinement-openai.askApiKey",
"title": "Set OpenAI API key (Refine Japanese with OpenAI)"
}
]
This extension is not available on VSCode Marketplace. Install locally:
code --install-extension vscode-japanese-refinement-openai-0.0.1.vsix
Steps to begin:
- Manually install this extension.
- Generate your personal OpenAI API key.
- Use the command pallet to run the "Set OpenAI API key" command and input your API key.
- Select the text you wish to refine in the editor.
- Right click and select "Refine Japanese with OpenAI" menu.
Available settings:
// The maximum number of tokens to generate in the completion.
// See https://platform.openai.com/docs/api-reference/completions/create#completions/create-max_tokens
"vscode-japanese-refinement-openai.openai.maxTokens": {
"type": "number",
"default": 2048
}