@@ -5,16 +5,26 @@ use std::collections::HashMap;
55use crate :: impl_builder_methods;
66use crate :: v1:: common;
77
8+ // https://platform.openai.com/docs/models/gpt-3-5
9+ pub const GPT3_5_TURBO_1106 : & str = "gpt-3.5-turbo-1106" ;
810pub const GPT3_5_TURBO : & str = "gpt-3.5-turbo" ;
911pub const GPT3_5_TURBO_16K : & str = "gpt-3.5-turbo-16k" ;
10- pub const GPT3_5_TURBO_0301 : & str = "gpt-3.5-turbo-0301" ;
12+ pub const GPT3_5_TURBO_INSTRUCT : & str = "gpt-3.5-turbo-instruct" ;
13+ // - legacy
1114pub const GPT3_5_TURBO_0613 : & str = "gpt-3.5-turbo-0613" ;
15+ pub const GPT3_5_TURBO_16K_0613 : & str = "gpt-3.5-turbo-16k-0613" ;
16+ pub const GPT3_5_TURBO_0301 : & str = "gpt-3.5-turbo-0301" ;
1217
18+ // https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo
19+ pub const GPT4_1106_PREVIEW : & str = "gpt-4-1106-preview" ;
20+ pub const GPT4_VISION_PREVIEW : & str = "gpt-4-vision-preview" ;
1321pub const GPT4 : & str = "gpt-4" ;
14- pub const GPT4_0314 : & str = "gpt-4-0314" ;
1522pub const GPT4_32K : & str = "gpt-4-32k" ;
16- pub const GPT4_32K_0314 : & str = "gpt-4-32k-0314" ;
1723pub const GPT4_0613 : & str = "gpt-4-0613" ;
24+ pub const GPT4_32K_0613 : & str = "gpt-4-32k-0613" ;
25+ // - legacy
26+ pub const GPT4_0314 : & str = "gpt-4-0314" ;
27+ pub const GPT4_32K_0314 : & str = "gpt-4-32k-0314" ;
1828
1929#[ derive( Debug , Serialize ) ]
2030pub enum FunctionCallType {
0 commit comments