Open source GPT artifact

Hello everyone, I am the principal.

We all know that GitHub released the Copilot X intelligent programming assistant, adding the OpenAI chat function to the coding tool, using OpenAI's latest GPT-4 model, which can not only automatically complete code and comments, but also communicate with developers through chat and voice Communicate and help them understand, modify, test, and optimize code.

However, Copilot X is a paid software, and it is charged.

However, today I recommend to you two GPT-based open source programmer efficiency artifacts, which can realize the functions of Copilot X to some extent.

1、gptcommit

The first one is: gptcommit, which can generate Commit log, which is the strength of ChatGPT. It can quickly understand logic and code, and summarize the summary through diff.

gptcommit git prepare-commit-msg hook for writing commit messages using GPT-3. Using this tool, you can easily generate clear, comprehensive and descriptive commit messages, allowing you to focus on writing code.

b9abc65021d03843032eb240e4d9692e.png

installation method:

e566cc0c8cfcc29222bab431aef600c0.png

Usage: To use gptcommit, just git commit and run as usual. This hook will automatically generate commit messages for you using a large language model like GPT. If you are not satisfied with the generated message, you can edit it at any time before submitting it.

Open source project address: https://github.com/zurawiki/gptcommit

2、AutoDoc-ChatGPT

AutoDoc-ChatGPT is used to generate API documentation and code comments. ChatGPT can read the code, understand the input, output, function and purpose of the function, and then generate corresponding API documentation and comments.

AutoDoc-ChatGPT is a Python script that leverages the power of the ChatGPT model to automatically generate documentation for any programming language.

With AutoDoc-ChatGPT, you can easily generate comprehensive documentation for your codebase. Just provide the path of the file you wish to document, and AutoDoc-ChatGPT will generate a detailed description of its functions, parameters and return values ​​in natural language.

installation method:

0b12260ef21b9ebfcfcb0fd3b776f9c2.png

Open source project address: https://github.com/awekrx/AutoDoc-ChatGPT

Interested friends can take a look at these two open source projects.

The specific usage methods are introduced in the project.

Click on the official account card below to follow me

In the official account dialog box, reply the keyword "1024"

Get a free practical tutorial on making money from sideline business

b9a9f810657db2d4defb81250f1c86ed.png

Guess you like

Origin blog.csdn.net/loongggdroid/article/details/130023069