A easy to use extension for using GPT-3 in VS Code
- Get API key from OpenAI
- Add API key to extension settings or go to settings.json and add "gpt3.apiKey"="<YOUR_API_KEY>"
- Modify other settings
- Type a line or select text that you would like to send to GPT-1
- Press ctr+cmd+g or cmd+shift+p and select "GPT3 complete"
If you have selected a area then it will send that to GPT-3, but if you haven't selected anything then it will send the current line. If you set replace
to true then it will replace the selected text with the generated text, otherwise add another line with the generated text.