https://github.com/ivangabriele/openai-forge-vsce
Automate your communication between Visual Studio Code and ChatGPT 🤖
https://github.com/ivangabriele/openai-forge-vsce
automation chatgpt extension openai plugin visual-studio-code vscode vscode-extension
Last synced: about 1 year ago
JSON representation
Automate your communication between Visual Studio Code and ChatGPT 🤖
- Host: GitHub
- URL: https://github.com/ivangabriele/openai-forge-vsce
- Owner: ivangabriele
- License: agpl-3.0
- Created: 2023-07-11T18:38:32.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-01T13:01:10.000Z (about 2 years ago)
- Last Synced: 2024-05-01T14:06:51.376Z (about 2 years ago)
- Topics: automation, chatgpt, extension, openai, plugin, visual-studio-code, vscode, vscode-extension
- Language: TypeScript
- Homepage:
- Size: 4.01 MB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
OpenAI Forge
Automate your communication between Visual Studio Code and ChatGPT 🤖.
---
## Screencast
## Getting Started
Check the [WELCOME](docs/WELCOME.md) document to get started.
## How it works?
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.
## Features
Directly from Visual Studio Code, you can:
- [x] Send all the source code of one or multiple documents at once
- [x] Send evaluation errors to ask ChatGPT for fixes
- [x] Add a custom message to the generated prompt request (or don't)
### ChatGPT Prompt Contextualization
OpenAI Forge add some contextual information to the automated prompt message in order to help improve ChatGPT accuracy:
- [x] Source code documents paths
- [x] Some workspace information "guessed" from you files path and extensions _(can be disabled in settings)_
## Current limitations
_In progress..._
## Known issues
_In progress..._