Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(model): Introduce Groq package with Model type and related functions #148

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

appleboy
Copy link
Owner

Here's a summary of the git diff:

  • 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:

* 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.

Signed-off-by: appleboy <appleboy.tw@gmail.com>
@appleboy appleboy added the enhancement New feature or request label Mar 22, 2024
@appleboy appleboy changed the title feat: Introduce Groq package with Model type and related functions feat(model): Introduce Groq package with Model type and related functions Mar 22, 2024
@appleboy appleboy merged commit 296d527 into main Mar 22, 2024
9 checks passed
@appleboy appleboy deleted the groq branch March 22, 2024 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant