TimHeuer.Git.AICommit
0.0.2.1-pre
This is a prerelease version of TimHeuer.Git.AICommit.
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global TimHeuer.Git.AICommit --version 0.0.2.1-pre
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local TimHeuer.Git.AICommit --version 0.0.2.1-pre
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=TimHeuer.Git.AICommit&version=0.0.2.1-pre&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package TimHeuer.Git.AICommit --version 0.0.2.1-pre
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
AICommit
This is not my idea (original Nutlope/aicommits), but I just created one to use Azure OpenAI instead of the base OpenAI resources and make it a .NET global tool.
Requirements
You will need an Azure OpenAI resource. From the resource grab the following values and set as Environment variables on your machine.
AZURE_OPENAI_KEY
- the key from your provisioned resourceAZURE_OPENAI_ENDPOINT
- the endpoint URI from the provisioned resourceAZURE_MODEL_DEPLOYMENT
- the name you gave to one of your Azure OpenAI model deployments
Installation
To install use the dotnet
CLI command:
dotnet tool install -g TimHeuer.Git.AICommit
Usage
From a git
repository if there are staged changes, just run aicommit
from the repository.
It will attempt to generate a message for you and offer you to see it before using for the commit message.
Data Sharing
Indeed this does take the text of your git diff
output and send it to Azure OpenAI for completion.
You should not use this if you have sensitive information.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
1.0.15-pre | 136 | 5/3/2023 |
1.0.13-pre | 116 | 3/28/2023 |
1.0.12-pre | 108 | 3/24/2023 |
1.0.11-pre | 108 | 3/23/2023 |
1.0.10-pre | 106 | 3/23/2023 |
1.0.8-pre | 111 | 2/20/2023 |
1.0.3-pre | 108 | 2/20/2023 |
1.0.1-pre-gb297a7cb69 | 101 | 2/18/2023 |
1.0.0-pre-g08de40af54 | 100 | 2/18/2023 |
0.1.0-pre-g1270646a6f | 116 | 2/18/2023 |
0.0.4-pre-g21715fe09f | 99 | 2/18/2023 |
0.0.4-pre-g0f7be50c0c | 102 | 2/18/2023 |
0.0.3.2-pre | 103 | 2/18/2023 |
0.0.3.1-pre | 100 | 2/18/2023 |
0.0.3-pre | 106 | 2/18/2023 |
0.0.2.4-pre | 101 | 2/18/2023 |
0.0.2.3-pre | 103 | 2/17/2023 |
0.0.2.2-pre | 100 | 2/17/2023 |
0.0.2.1-pre | 100 | 2/17/2023 |
0.0.1.1-pre | 100 | 2/17/2023 |
0.0.1-pre | 94 | 2/17/2023 |
Initial pre-release version