Skip to content

Commit

Permalink
Update OpenAI ChatGPT Turbo models (API) (#620)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterDaveHello authored Jan 30, 2024
1 parent b557aca commit ed09cb7
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/config/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,14 @@ export const chatgptApiModelKeys = [
'chatgptApi35',
'chatgptApi35_16k',
'chatgptApi35_1106',
'chatgptApi35_0125',
'chatgptApi4_8k',
'chatgptApi4_8k_0613',
'chatgptApi4_32k',
'chatgptApi4_32k_0613',
'chatgptApi4_128k_preview',
'chatgptApi4_128k_1106_preview',
'chatgptApi4_128k_0125_preview',
]
export const customApiModelKeys = ['customModel']
export const azureOpenAiApiModelKeys = ['azureOpenAi']
Expand Down Expand Up @@ -83,9 +86,17 @@ export const Models = {
chatgptApi4_8k: { value: 'gpt-4', desc: 'ChatGPT (GPT-4-8k)' },
chatgptApi4_32k: { value: 'gpt-4-32k', desc: 'ChatGPT (GPT-4-32k)' },
chatgptApi4_128k_preview: {
value: 'gpt-4-1106-preview',
value: 'gpt-4-turbo-preview',
desc: 'ChatGPT (GPT-4-Turbo 128k Preview)',
},
chatgptApi4_128k_1106_preview: {
value: 'gpt-4-1106-preview',
desc: 'ChatGPT (GPT-4-Turbo 128k 1106 Preview)',
},
chatgptApi4_128k_0125_preview: {
value: 'gpt-4-0125-preview',
desc: 'ChatGPT (GPT-4-Turbo 128k 0125 Preview)',
},

claude2WebFree: { value: 'claude-2.1', desc: 'Claude.ai (Web, Claude 2.1)' },
claude2Api: { value: '', desc: 'Claude.ai (API, Claude 2)' },
Expand All @@ -101,6 +112,7 @@ export const Models = {
chatgptPlus4Mobile: { value: 'gpt-4-mobile', desc: 'ChatGPT (Mobile, GPT-4)' },

chatgptApi35_1106: { value: 'gpt-3.5-turbo-1106', desc: 'ChatGPT (GPT-3.5-turbo 1106)' },
chatgptApi35_0125: { value: 'gpt-3.5-turbo-0125', desc: 'ChatGPT (GPT-3.5-turbo 0125)' },
chatgptApi4_8k_0613: { value: 'gpt-4', desc: 'ChatGPT (GPT-4-8k 0613)' },
chatgptApi4_32k_0613: { value: 'gpt-4-32k', desc: 'ChatGPT (GPT-4-32k 0613)' },

Expand Down

0 comments on commit ed09cb7

Please sign in to comment.