99
1010 # Currently supported models
1111 {
12- 'gpt-best' : 'Best OpenAI Model' ,
13- 'claude-best' : 'Best Anthropic Model' ,
14-
15- 'gpt-4' : 'ChatGPT 4' ,
16- 'gpt-4-turbo' : 'ChatGPT 4 Turbo with Vision (may update in future)' ,
17- 'gpt-4-turbo-2024-04-09' : 'ChatGPT-4 Turbo with Vision (2024-04-09)' ,
18- 'gpt-4-turbo-preview' : 'ChatGPT 4 Turbo Preview' ,
19- 'gpt-4-0125-preview' : 'ChatGPT 4 Turbo Preview (2024-01-25)' ,
20- 'gpt-4-1106-preview' : 'ChatGPT 4 Turbo Preview (2023-11-06)' ,
21- 'gpt-4-vision-preview' : 'ChatGPT 4 Turbo Model preview with the ability to understand images (2023-11-06)' ,
22- 'gpt-4-1106-vision-preview' : 'ChatGPT 4 Turbo preview with the ability to understand images (2023-11-06)' ,
23- 'gpt-4-0613' : 'ChatGPT 4 Snapshot improved function calling (2023-06-13)' ,
24-
25- 'gpt-3.5-turbo' : 'ChatGPT 3.5 Turbo' ,
26- 'gpt-3.5-turbo-16k-0613' : 'ChatGPT 3.5 Turbo (2022-06-13)' ,
27- 'gpt-3.5-turbo-0125' : 'ChatGPT 3.5 Turbo (2022-01-25)' ,
28- 'gpt-3.5-turbo-1106' : 'ChatGPT 3.5 Turbo (2022-11-06)' ,
29- 'gpt-3.5-turbo-instruct' : 'ChatGPT 3.5 Turbo Instruct' ,
30-
31- 'claude-3-opus-20240229' : 'Claude 3 Opus (2024-02-29)' ,
32- 'claude-3-sonnet-20240229' : 'Claude 3 Sonnet (2024-02-29)' ,
33- 'claude-3-haiku-20240307' : 'Claude 3 Haiku (2024-03-07)' ,
34- 'claude-2.1' : 'Claude 2.1' ,
35- 'claude-2.0' : 'Claude 2.0' ,
36- 'claude-instant-1.2' : 'Claude Instant 1.2'
12+ 1 , 'gpt-best' : 'Best OpenAI Model' ,
13+ 2 , 'claude-best' : 'Best Anthropic Model' ,
14+
15+ 3 , 'gpt-4' : 'ChatGPT 4' ,
16+ 4 , 'gpt-4-turbo' : 'ChatGPT 4 Turbo with Vision (may update in future)' ,
17+ 5 , 'gpt-4-turbo-2024-04-09' : 'ChatGPT-4 Turbo with Vision (2024-04-09)' ,
18+ 6 , 'gpt-4-turbo-preview' : 'ChatGPT 4 Turbo Preview' ,
19+ 7 , 'gpt-4-0125-preview' : 'ChatGPT 4 Turbo Preview (2024-01-25)' ,
20+ 8 , 'gpt-4-1106-preview' : 'ChatGPT 4 Turbo Preview (2023-11-06)' ,
21+ 9 , 'gpt-4-vision-preview' : 'ChatGPT 4 Turbo Model preview with the ability to understand images (2023-11-06)' ,
22+ 10 , 'gpt-4-1106-vision-preview' : 'ChatGPT 4 Turbo preview with the ability to understand images (2023-11-06)' ,
23+ 11 , 'gpt-4-0613' : 'ChatGPT 4 Snapshot improved function calling (2023-06-13)' ,
24+
25+ 12 , 'gpt-3.5-turbo' : 'ChatGPT 3.5 Turbo' ,
26+ 13 , 'gpt-3.5-turbo-16k-0613' : 'ChatGPT 3.5 Turbo (2022-06-13)' ,
27+ 14 , 'gpt-3.5-turbo-0125' : 'ChatGPT 3.5 Turbo (2022-01-25)' ,
28+ 15 , 'gpt-3.5-turbo-1106' : 'ChatGPT 3.5 Turbo (2022-11-06)' ,
29+ 16 , 'gpt-3.5-turbo-instruct' : 'ChatGPT 3.5 Turbo Instruct' ,
30+
31+ 17 , 'claude-3-opus-20240229' : 'Claude 3 Opus (2024-02-29)' ,
32+ 18 , 'claude-3-sonnet-20240229' : 'Claude 3 Sonnet (2024-02-29)' ,
33+ 19 , 'claude-3-haiku-20240307' : 'Claude 3 Haiku (2024-03-07)' ,
34+ 20 , 'claude-2.1' : 'Claude 2.1' ,
35+ 21 , 'claude-2.0' : 'Claude 2.0' ,
36+ 22 , 'claude-instant-1.2' : 'Claude Instant 1.2'
3737 } . each do |name , description |
3838 LanguageModel . create ( name : name , description : description )
3939 end
@@ -56,5 +56,7 @@ def down
5656
5757 remove_column :assistants , :language_model_id
5858 drop_table :language_models
59+
60+ remove_column :runs , :model
5961 end
6062end
0 commit comments