6.6 KiB
👉 Install Visual Studio Code extension from Visual Studio Marketplace and enjoy DevChat 👏
What is DevChat?
DevChat is an open-source platform that empowers developers to leverage AI for code generation and documentation. We aim to go beyond simple code auto-completion and limited operations on brief code snippets. DevChat offers a highly practical and effective way for developers to interact and collaborate with AI.
Why DevChat?
While there are many AI coding tools available, we created DevChat based on our unique insights gained from generating tens of thousands of lines of code. If you agree with our perspectives outlined below, DevChat could be the perfect choice for you.
- The value of prompt "engineering" is often overestimated. While a well-crafted prompt template can be helpful, it's not worth spending more than an hour or two to create a few effective ones and share them with your team.
- The art of writing prompts is a skill honed through practice. It's not about templates or engineering, but about refining individual prompts for specific tasks on a case-by-case basis.
- The key to success lies in embedding the right context in a prompt. This isn't about the token limit of an AI model. Even with infinite tokens, AI would struggle to deliver good results without proper separation of concerns.
- Use AI only when it truly adds value. The issue of AI hallucination is less of a concern compared to our overestimation of AI's capabilities. What we need is a tool that boosts productivity, not merely an experimental tool.
Explore Our Features
-
Great output requires great input, to maximize the power of AI, DevChat assists you seamlessly to provide the right context to the AI.
Chat history, code, files, directory trees,
git diff --cached
, or the output of any command.
Once you have generated code with AI, DevChat streamlines the actions to properly integrate and ship.
View diffs, copy or insert, commit & sync, or export to documentation, wikis, and more.
-
To guide AI in your work, define your own workflows with DevChat.
Explore more prompt templates, iterative calls to AI, and program operations.
-
To ensure the experience fits your preferences, customize your own experiences with DevChat.
Open-source, no waiting for opaque feature schedules. Access GPT-4 today and more models in the future.
What is Prompt-Centric Software Development (PCSD)?
-
The traditional code-centric paradigm is evolving.
-
Write prompts to create code. Transform prompts into all the artifacts in software engineering.
(This image is licensed by devchat.ai under a Creative Commons Attribution-ShareAlike 4.0 International License.)
-
We like to call it DevPromptOps
(This image is licensed by devchat.ai under a Creative Commons Attribution-ShareAlike 4.0 International License.)
Quick Start
Chinese: 中文安装配置指南.
- Install Visual Studio Code.
- Open the Extensions view (⇧⌘X), search for DevChat, and install the extension:
- Since DevChat is designed for developers, it requires a Git or SVN repository folder to store metadata. Therefore, be sure to open a Git or SVN project.
- Set your OpenAI API Key by running
export OPENAI_API_KEY="[sk-...]"
(or set it to your DevChat access key instead). - Click on the DevChat icon in the status bar. If the API key setting is not configured, it will prompt you to enter it. Simply input the key.
- We recommend dragging the DevChat logo from the left sidebar to the right sidebar to avoid overlapping with the Explorer.
Community
- Join our Discord!
- Participate in discussions!
Contributing
Issues and pull request are welcome:
Automated Publishing Process
Check out our Automated Publishing Process for a detailed walkthrough of how we manage the automated release of new versions for the DevChat VSCode Extension.
Contact Information
We are creators of Apache DevLake.