TimHeuer.Git.AICommit 0.0.3.2-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.
dotnet tool install --global TimHeuer.Git.AICommit --version 0.0.3.2-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.3.2-pre
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=TimHeuer.Git.AICommit&version=0.0.3.2-pre&prerelease
                    
nuke :add-package TimHeuer.Git.AICommit --version 0.0.3.2-pre
                    

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 resource
  • AZURE_OPENAI_ENDPOINT - the endpoint URI from the provisioned resource
  • AZURE_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 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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 251 5/3/2023
1.0.13-pre 196 3/28/2023
1.0.12-pre 186 3/24/2023
1.0.11-pre 189 3/23/2023
1.0.10-pre 212 3/23/2023
1.0.8-pre 222 2/20/2023
1.0.3-pre 189 2/20/2023
1.0.1-pre-gb297a7cb69 181 2/18/2023
1.0.0-pre-g08de40af54 179 2/18/2023
0.1.0-pre-g1270646a6f 218 2/18/2023
0.0.4-pre-g21715fe09f 210 2/18/2023
0.0.4-pre-g0f7be50c0c 180 2/18/2023
0.0.3.2-pre 188 2/18/2023
0.0.3.1-pre 179 2/18/2023
0.0.3-pre 207 2/18/2023
0.0.2.4-pre 185 2/18/2023
0.0.2.3-pre 187 2/17/2023
0.0.2.2-pre 206 2/17/2023
0.0.2.1-pre 194 2/17/2023
0.0.1.1-pre 208 2/17/2023
0.0.1-pre 189 2/17/2023

Added secondary tokenizer estimator and choose max between estimates