| Crates.io | gitory-cli |
| lib.rs | gitory-cli |
| version | 0.1.0 |
| created_at | 2024-05-01 21:18:18.880601+00 |
| updated_at | 2024-05-01 21:18:18.880601+00 |
| description | Build a story for your project based on your git history |
| homepage | |
| repository | https://github.com/Dexter2389/gitory |
| max_upload_size | |
| id | 1227164 |
| size | 69,892 |
make sure have the following env variables set before running the script:
$ export MODEL_NAME=
$ export API_ENDPOINT=
$ export API_KEY=
now make sure you have the gitory_config.toml file in the root of the project for which you plan to use gitory. Sample config file is provided
gitory_config.toml
[app]
max_commit_depth = 2
output_dir = "gitory"
[llm]
provider = "google_gemini"
[llm.api_config]
model = "MODEL_NAME"
endpoint = "API_ENDPOINT"
key = "API_KEY"
[llm.generation_config]
temperature = 0.35
top_p = 0.8
top_k = 40
You are now all set to use gitory.
$ gitory-cli generate