@@ -57,14 +57,14 @@ export class UserConfig {
57
57
58
58
// https://platform.openai.com/docs/models/overview
59
59
// 除此之外,gpt-4-0314、gpt-4-32k-0314、gpt-3.5-turbo-0301 模型将在 9 月 13 日被弃用。
60
- export type CHATMODEL = 'gpt-3.5-turbo' | 'gpt-3.5-turbo-0301' | 'gpt-3.5-turbo-0613' | 'gpt-3.5-turbo-16k' | 'gpt-3.5-turbo-16k-0613' | 'gpt-4' | 'gpt-4-0314' | 'gpt-4-32k' | 'gpt-4-32k-0314' | 'gpt-4-0613' | 'gpt-4-32k-0613' | 'text-davinci-002-render-sha-mobile' | 'text-embedding-ada-002' | 'gpt-4-mobile' | 'gpt-4-browsing'
60
+ export type CHATMODEL = 'gpt-3.5-turbo' | 'gpt-3.5-turbo-0301' | 'gpt-3.5-turbo-0613' | 'gpt-3.5-turbo-16k' | 'gpt-3.5-turbo-16k-0613' | 'gpt-4' | 'gpt-4-0314' | 'gpt-4-32k' | 'gpt-4-32k-0314' | 'gpt-4-0613' | 'gpt-4-32k-0613' | 'text-davinci-002-render-sha-mobile' | 'text-embedding-ada-002' | 'gpt-4-mobile' | 'gpt-4-browsing' | 'gpt-4-1106-preview' | 'gpt-4-vision-preview'
61
61
62
62
export const CHATMODELS : CHATMODEL [ ] = [
63
- 'gpt-3.5-turbo' , 'gpt-3.5-turbo-0301' , 'gpt-3.5-turbo-0613' , 'gpt-3.5-turbo-16k' , 'gpt-3.5-turbo-16k-0613' , 'gpt-4' , 'gpt-4-0314' , 'gpt-4-32k' , 'gpt-4-32k-0314' , 'gpt-4-0613' , 'gpt-4-32k-0613' , 'text-davinci-002-render-sha-mobile' , 'text-embedding-ada-002' , 'gpt-4-mobile' , 'gpt-4-browsing' ,
63
+ 'gpt-3.5-turbo' , 'gpt-3.5-turbo-0301' , 'gpt-3.5-turbo-0613' , 'gpt-3.5-turbo-16k' , 'gpt-3.5-turbo-16k-0613' , 'gpt-4' , 'gpt-4-0314' , 'gpt-4-32k' , 'gpt-4-32k-0314' , 'gpt-4-0613' , 'gpt-4-32k-0613' , 'text-davinci-002-render-sha-mobile' , 'text-embedding-ada-002' , 'gpt-4-mobile' , 'gpt-4-browsing' , 'gpt-4-1106-preview' , 'gpt-4-vision-preview' ,
64
64
]
65
65
66
66
export const chatModelOptions = [
67
- 'gpt-3.5-turbo' , 'gpt-3.5-turbo-0301' , 'gpt-3.5-turbo-0613' , 'gpt-3.5-turbo-16k' , 'gpt-3.5-turbo-16k-0613' , 'gpt-4' , 'gpt-4-0314' , 'gpt-4-32k' , 'gpt-4-32k-0314' , 'gpt-4-0613' , 'gpt-4-32k-0613' , 'text-davinci-002-render-sha-mobile' , 'text-embedding-ada-002' , 'gpt-4-mobile' , 'gpt-4-browsing' ,
67
+ 'gpt-3.5-turbo' , 'gpt-3.5-turbo-0301' , 'gpt-3.5-turbo-0613' , 'gpt-3.5-turbo-16k' , 'gpt-3.5-turbo-16k-0613' , 'gpt-4' , 'gpt-4-0314' , 'gpt-4-32k' , 'gpt-4-32k-0314' , 'gpt-4-0613' , 'gpt-4-32k-0613' , 'text-davinci-002-render-sha-mobile' , 'text-embedding-ada-002' , 'gpt-4-mobile' , 'gpt-4-browsing' , 'gpt-4-1106-preview' , 'gpt-4-vision-preview' ,
68
68
] . map ( ( model : string ) => {
69
69
let label = model
70
70
if ( model === 'text-davinci-002-render-sha-mobile' )
0 commit comments