A CLI written in Go language that writes git commit messages or do a code review brief for you using ChatGPT AI (gpt-4o, gpt-4-turbo, gpt-3.5-turbo model) and automatically installs a git prepare-commit-msg hook.
MIT License
1.15k
stars
100
forks
source link
feat(model): Introduce Groq package with Model type and related functions #148
Changed the name of the model.go file to groq/model.go
Added a new package called groq
Added a new type called Model that has three string values: LLaMA270bChat, Mixtral8x7bInstructV01, and Gemma7bIt
Added a function called GetModel that takes a Model value and returns a string representing the model name
Added a function called IsValid that takes a Model value and returns a boolean indicating whether the model is valid
Added a map called model that maps the three Model values to their corresponding string names
Changed the README.md file to include information about the new groq package and the Model type
Overall, it seems like this commit adds a new package called groq that contains a new type called Model and some functions related to that type. The README.md file was also updated to include information about the new package and type.
Here's a summary of the git diff:
model.go
file togroq/model.go
groq
Model
that has three string values:LLaMA270bChat
,Mixtral8x7bInstructV01
, andGemma7bIt
GetModel
that takes aModel
value and returns a string representing the model nameIsValid
that takes aModel
value and returns a boolean indicating whether the model is validmodel
that maps the threeModel
values to their corresponding string namesREADME.md
file to include information about the newgroq
package and theModel
typeOverall, it seems like this commit adds a new package called
groq
that contains a new type calledModel
and some functions related to that type. TheREADME.md
file was also updated to include information about the new package and type.