Automate your communication between Visual Studio Code and ChatGPT 🤖.
screencast.mp4
Check the WELCOME document to get started.
OpenAI Forge VSCode extension runs a WebSocket server while the OpenAI Forge browser extension runs a WebSocket client
when you have https://chat.openai.com
open in your browser. That's how VSCode can communicate with ChatGPT web
application to automatically fill the prompt and submit it.
As for the errors, OpenAI Forge VSCode extension runs an Evaluator_**, that is a CLI command able to output errors
while attempting to compile or lint your code. This evaluator command is run in a child process, its stderr
output
is extracted and embedded along your selected documents source code, before being sent to ChatGPT prompt, along with
your document source code.
Directly from Visual Studio Code, you can:
- Send all the source code of one or multiple documents at once
- Send evaluation errors to ask ChatGPT for fixes
- Add a custom message to the generated prompt request (or don't)
OpenAI Forge add some contextual information to the automated prompt message in order to help improve ChatGPT accuracy:
- Source code documents paths
- Some workspace information "guessed" from you files path and extensions (can be disabled in settings)
In progress...
In progress...