-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
β¨ feat: add Upstage model provider support (#3670)
* β¨ feat: add Upstage model provider support * π style: uncomment for icon display * π¨ chore: remove groundedness-check model * π¨ chore: remove proxyUrl for Upstage
- Loading branch information
1 parent
e13aa39
commit 4b8591b
Showing
15 changed files
with
355 additions
and
0 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import { ModelProviderCard } from '@/types/llm'; | ||
|
||
// ref https://developers.upstage.ai/docs/getting-started/models | ||
const Upstage: ModelProviderCard = { | ||
chatModels: [ | ||
{ | ||
description: 'A compact LLM offering superior performance to GPT-3.5, with robust multilingual capabilities for both English and Korean, delivering high efficiency in a smaller package. solar-1-mini-chat is alias for our latest solar-1-mini-chat model. (Currently solar-1-mini-chat-240612)', | ||
displayName: 'Solar 1 Mini Chat', | ||
enabled: true, | ||
functionCall: true, | ||
id: 'solar-1-mini-chat', | ||
tokens: 32_768, | ||
}, | ||
{ | ||
description: 'A compact LLM that extends the capabilities of solar-mini-chat with specialization in Japanese, while maintaining high efficiency and performance in English and Korean. solar-1-mini-chat-ja is alias for our latest solar-1-mini-chat-ja model.(Currently solar-1-mini-chat-ja-240612)', | ||
displayName: 'Solar 1 Mini Chat Ja', | ||
enabled: true, | ||
functionCall: false, | ||
id: 'solar-1-mini-chat-ja', | ||
tokens: 32_768, | ||
}, | ||
{ | ||
description: 'English-to-Korean translation specialized model based on the solar-mini. Maximum context length is 32k tokens. solar-1-mini-translate-enko is alias for our latest solar-1-mini-translate-enko model. (Currently solar-1-mini-translate-enko-240507)', | ||
displayName: 'Solar 1 Mini Translate EnKo', | ||
enabled: false, | ||
functionCall: false, | ||
id: 'solar-1-mini-translate-enko', | ||
tokens: 32_768, | ||
}, | ||
{ | ||
description: 'Korean-to-English translation specialized model based on the solar-mini. Maximum context length is 32k tokens. solar-1-mini-translate-koen is alias for our latest solar-1-mini-translate-koen model. (Currently solar-1-mini-translate-koen-240507)', | ||
displayName: 'Solar 1 Mini Translate KoEn', | ||
enabled: false, | ||
functionCall: false, | ||
id: 'solar-1-mini-translate-koen', | ||
tokens: 32_768, | ||
}, | ||
], | ||
checkModel: 'solar-1-mini-chat', | ||
id: 'upstage', | ||
modelList: { showModelFetcher: true }, | ||
name: 'Upstage', | ||
}; | ||
|
||
export default Upstage; |
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
Oops, something went wrong.