-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconst.ts
73 lines (72 loc) · 1.44 KB
/
const.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
export const REMOTE_MODEL_LISTS = [
'gpt-4-0125-preview',
'gpt-4-1106-preview',
'gpt-4-vision-preview',
'gpt-4',
'gpt-4-32k',
'gpt-3.5-turbo-0125',
'gpt-3.5-turbo-1106',
'gpt-3.5-turbo',
'gpt-3.5-turbo-16k',
'claude-3-opus-20240229',
'claude-3-sonnet-20240229',
'claude-3-haiku-20240229',
'claude-2.1',
'claude-2.0',
'claude-instant-1.2',
'gemini-1.0-pro',
'gemini-1.0-pro-vision',
'gemini-1.0-ultra',
'mistral-large-latest',
'mistral-medium-latest',
'mistral-small-latest',
'command',
'command-light',
'command-nightly',
'azure-gpt-4',
'azure-gpt-35-turbo',
'azure-gpt-4-32k',
'yi-34b-chat',
'yi-34b-200k',
'yi-34b',
'yi-6b-chat',
'yi-6b-200k',
'yi-6b',
'text-bison-001',
'chat-bison-001',
'claude-2.0',
'claude-1.2',
'claude-1.0',
'claude-instant-1.2',
'llama-2-70b-chat',
'llama-2-13b-chat',
'llama-2-7b-chat',
'qwen-72b-chat',
'qwen-14b-chat',
'qwen-7b-chat',
'deepseek-67b-chat',
'deepseek-33b-chat',
'deepseek-7b-chat',
'mixtral-8x7b-32k',
'mixtral-8x7b',
'baichuan-2-53b',
'baichuan-2-13b',
'baichuan-2-7b',
'xverse-65b-chat',
'xverse-13b-chat',
'xverse-7b-chat',
'command-r',
'command-light-r',
'claude-instant',
'vicuna-13b',
'vicuna-7b',
'falcon-40b',
'falcon-7b',
'stablelm-7b',
'mpt-7b',
'dolly-12b',
'alpaca-13b',
'pythia-12b',
];
export const isRemoteModel = (model: string): boolean =>
REMOTE_MODEL_LISTS.includes(model);