Tired of copypasting from ChatGPT?
This is a Visual Studio Code extension that allows you to invoke the OpenAI API to perform various tasks, such as text completion, language translation, and more. It automatically creates new file containing the result.
You need to provide OpenAI key. Once the extension is installed, the OpenAI website will be opened where you can generate a key: https://platform.openai.com/account/api-keys
In VSCode you will be navigated to settings sections where you can paste the key.
To use the OpenAI API, follow these steps:
- Open a document in VS Code which contains a prompt
- Press
Ctrl+Shift+A
to invoke the extension command or press "Complete with VSPrompt" in the right bottom corner:
This extension is released under the MIT License. For experimental purposes only.