ai-commit-log
TypeScript icon, indicating that this package has built-in type declarations

0.1.10 • Public • Published

clog-ai

Example

示例可参照本项目的 commit log

Installation

npm install -g ai-commit-log

Usage

clog-ai init

then edit config file:

{
  "language": "zh or en",
  "azure_api_key": "xxxxx",
  "azure_deployment_id": "xxxx",
  "azure_base_url": "https://xxxxxxx.openai.azure.com",
  "azure_model": "gpt-3.5-turbo-16k",
  "azure_api_version": "2023-07-01-preview",
}

Run

git add . # git add files

clog-ai  # generate commit log only
clog-ai commit  # generate commit log and git commit 

Azure api

https://portal.azure.com/

首先免费申请 openai 服务,然后部署 gpt-3.5-turbo-16k 模型,最终将相关的配置写入配置文件

Readme

Keywords

none

Package Sidebar

Install

npm i ai-commit-log

Weekly Downloads

25

Version

0.1.10

License

MIT

Unpacked Size

86.5 kB

Total Files

13

Last publish

Collaborators

  • yutou_cn