forked from lobehub/lobe-chat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupstage.ts
45 lines (43 loc) · 1.7 KB
/
upstage.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import { ModelProviderCard } from '@/types/llm';
// ref :https://developers.upstage.ai/docs/getting-started/models
const Upstage: ModelProviderCard = {
chatModels: [
{
contextWindowTokens: 32_768,
description:
'Solar Mini 是一种紧凑型 LLM,性能优于 GPT-3.5,具备强大的多语言能力,支持英语和韩语,提供高效小巧的解决方案。',
displayName: 'Solar Mini',
enabled: true,
functionCall: true,
id: 'solar-1-mini-chat',
},
{
contextWindowTokens: 32_768,
description:
'Solar Mini (Ja) 扩展了 Solar Mini 的能力,专注于日语,同时在英语和韩语的使用中保持高效和卓越性能。',
displayName: 'Solar Mini (Ja)',
functionCall: false,
id: 'solar-1-mini-chat-ja',
},
{
contextWindowTokens: 32_768,
description:
'Solar Pro 是 Upstage 推出的一款高智能LLM,专注于单GPU的指令跟随能力,IFEval得分80以上。目前支持英语,正式版本计划于2024年11月推出,将扩展语言支持和上下文长度。',
displayName: 'Solar Pro',
enabled: true,
functionCall: false,
id: 'solar-pro',
},
],
checkModel: 'solar-1-mini-chat',
description:
'Upstage 专注于为各种商业需求开发AI模型,包括 Solar LLM 和文档 AI,旨在实现工作的人造通用智能(AGI)。通过 Chat API 创建简单的对话代理,并支持功能调用、翻译、嵌入以及特定领域应用。',
id: 'upstage',
modelsUrl: 'https://developers.upstage.ai/docs/getting-started/models',
name: 'Upstage',
settings: {
sdkType: 'openai',
},
url: 'https://upstage.ai',
};
export default Upstage;