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: update codebase to support new AI models #155

Merged
merged 1 commit into from
Apr 27, 2024
Merged

feat: update codebase to support new AI models #155

merged 1 commit into from
Apr 27, 2024

Conversation

appleboy
Copy link
Owner

  • Update model references from LLaMA2-70b-chat, Mixtral-8x7b-Instruct-v0.1, and Gemma-7b-it to llama3-8b-8192, llama3-70b-8192, mixtral-8x7b-32768, and gemma-7b-it in README.md
  • Replace old model constants with new ones in groq/model.go
  • Remove deprecated GetModel function from groq/model.go
  • Update model validation cases to use new model constants in groq/model.go
  • Update model mappings in openai/openai.go to reflect new model constants
  • Adjust completion function in openai/openai.go to use new model strings
  • Add new models to the allowed function call list in openai/openai.go

fix #154

- Update model references from `LLaMA2-70b-chat`, `Mixtral-8x7b-Instruct-v0.1`, and `Gemma-7b-it` to `llama3-8b-8192`, `llama3-70b-8192`, `mixtral-8x7b-32768`, and `gemma-7b-it` in README.md
- Replace old model constants with new ones in `groq/model.go`
- Remove deprecated `GetModel` function from `groq/model.go`
- Update model validation cases to use new model constants in `groq/model.go`
- Update model mappings in `openai/openai.go` to reflect new model constants
- Adjust completion function in `openai/openai.go` to use new model strings
- Add new models to the allowed function call list in `openai/openai.go`

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
@appleboy appleboy merged commit 15c4919 into main Apr 27, 2024
9 checks passed
@appleboy appleboy deleted the groq branch April 27, 2024 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LLaMA2-70b-chat doesn't work
1 participant