-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #48 from InternLM/dev
refactor the config.yaml to make the model setting looks more logical
- Loading branch information
Showing
34 changed files
with
374 additions
and
232 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
### TODO | ||
|
||
- [x] set the workers to 3 | ||
- [ ] add Gemini model | ||
- [x] refacotor the config.yaml to make the model setting looks more logical | ||
- [x] add internlm2-chat-7b model as default | ||
- [ ] add Gemini model as default | ||
- [x] refactor the config.yaml to make the model setting looks more logical | ||
- [ ] dynamic add new model by editing external python files and the config.yaml | ||
- [ ] build frontend project when OpenAOE start up |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,71 @@ | ||
--- | ||
models: | ||
gpt: | ||
api_base: https://api.openai.com/v1 | ||
api_key: | ||
|
||
claude: | ||
api_key: | ||
|
||
bard: | ||
api_base: https://bard.google.com | ||
api_key: | ||
|
||
minimax: | ||
api_base: https://api.minimax.chat | ||
group_id: | ||
jwt: | ||
|
||
internlm-chat-7b: | ||
provider: internlm | ||
webui: | ||
avatar: 'https://oss.openmmlab.com/frontend/OpenAOE/internlm.svg' | ||
background: 'linear-gradient(rgb(3 26 108 / 85%) 0%, rgb(29 60 161 / 85%) 100%)' | ||
api: | ||
api_base: http://localhost:23333 | ||
gpt-3.5-turbo: | ||
provider: openai | ||
webui: | ||
avatar: 'https://oss.openmmlab.com/frontend/OpenAOE/openai.svg' | ||
background: 'linear-gradient(180deg, rgba(156, 206, 116, 0.15) 0%, #1a8d15 100%)' | ||
api: | ||
api_base: https://api.openai.com/v1 | ||
api_key: | ||
gpt-4: | ||
provider: openai | ||
webui: | ||
avatar: 'https://oss.openmmlab.com/frontend/OpenAOE/openai.svg' | ||
background: 'linear-gradient(180deg, rgba(156, 206, 116, 0.15) 0%, #08be00 100%)' | ||
api: | ||
api_base: https://api.openai.com/v1 | ||
api_key: | ||
claude-1: | ||
provider: claude | ||
webui: | ||
avatar: 'https://oss.openmmlab.com/frontend/OpenAOE/claude.svg' | ||
background: 'linear-gradient(180deg, rgba(141, 90, 181, 0.15) 0%, rgba(106, 39, 123, 0.7) 53.12%, #663E9A 100%)' | ||
api: | ||
api_base: https://api.anthropic.com | ||
api_key: | ||
claude-1-100k: | ||
provider: claude | ||
webui: | ||
avatar: 'https://oss.openmmlab.com/frontend/OpenAOE/claude.svg' | ||
background: 'linear-gradient(180deg, rgba(141, 90, 181, 0.15) 0%, rgba(106, 39, 123, 0.7) 53.12%, #663E9A 100%)' | ||
api: | ||
api_base: https://api.anthropic.com | ||
api_key: | ||
chat-bison-001: | ||
provider: google | ||
webui: | ||
avatar: 'https://oss.openmmlab.com/frontend/OpenAOE/google-palm.webp' | ||
isStream: false | ||
background: 'linear-gradient(180deg, rgba(181, 90, 90, 0.15) 0%, #fa5ab1 100%)' | ||
api: | ||
api_base: https://generativelanguage.googleapis.com | ||
api_key: | ||
abab5-chat: | ||
provider: minimax | ||
webui: | ||
avatar: 'https://oss.openmmlab.com/frontend/OpenAOE/minimax.png' | ||
background: 'linear-gradient(180deg, rgba(207, 72, 72, 0.15) 0%, rgba(151, 43, 43, 0.7) 53.12%, #742828 100%)' | ||
api: | ||
api_base: https://api.minimax.chat | ||
group_id: | ||
jwt: | ||
spark: | ||
api_base: wss://spark-api.xf-yun.com | ||
app_id: | ||
ak: | ||
sk: | ||
|
||
internlm: | ||
api_base: | ||
provider: spark | ||
webui: | ||
avatar: 'https://oss.openmmlab.com/frontend/OpenAOE/spark.svg' | ||
isStream: false | ||
background: 'linear-gradient(180deg, rgba(72, 72, 207, 0.15) 0%, #7498be 100%)' | ||
api: | ||
api_base: wss://spark-api.xf-yun.com/v2.1/chat | ||
app_id: | ||
ak: | ||
sk: | ||
... | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.