File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,10 @@ const (
7979 // GPT4o20240503 is a snapshot of gpt-4o from May 13th, 2024.
8080 GPT4o20240503
8181
82+ // GPT4oMini is OpenAIs most cost-efficient small model that’s smarter and cheaper than GPT-3.5 Turbo, and has
83+ // vision capabilities. The model has 128K context and an October 2023 knowledge cutoff.
84+ GPT4oMini
85+
8286 // O1Preview is a part of the o1 series of large language models, which are trained with reinforcement learning to
8387 // perform complex reasoning. o1 models think before they answer, producing a long internal chain of thought before
8488 // responding to the user.
@@ -131,6 +135,7 @@ var chatCompletionToString = map[ChatCompletion]string{
131135 GPT4TurboPreview : "gpt-4-turbo-preview" ,
132136 GPT4o : "gpt-4o" ,
133137 GPT4o20240503 : "gpt-4o-2024-05-13" ,
138+ GPT4oMini : "gpt-4o-mini" ,
134139 O1Preview : "o1-preview" ,
135140 O1Mini : "o1-mini" ,
136141}
@@ -153,6 +158,7 @@ var stringToChatCompletion = map[string]ChatCompletion{
153158 "gpt-4-turbo-preview" : GPT4TurboPreview ,
154159 "gpt-4o" : GPT4o ,
155160 "gpt-4o-2024-05-13" : GPT4o20240503 ,
161+ "gpt-4o-mini" : GPT4oMini ,
156162 "o1-preview" : O1Preview ,
157163 "o1-mini" : O1Mini ,
158164}
You can’t perform that action at this time.
0 commit comments