Skip to content

Commit

Permalink
Add OpenAI API 0613 version for all models, close #474 (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterDaveHello committed Jul 25, 2023
1 parent 3d6ef41 commit 819eb16
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/config/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@ export const chatgptApiModelKeys = [
'chatgptApi35',
'chatgptApi35_16k',
'chatgptApi35_0613',
'chatgptApi35_16k_0613',
'chatgptApi4_8k',
'chatgptApi4_8k_0613',
'chatgptApi4_32k',
'chatgptApi4_32k_0613',
]
export const customApiModelKeys = ['customModel']
export const azureOpenAiApiModelKeys = ['azureOpenAi']
Expand Down Expand Up @@ -71,6 +74,10 @@ export const Models = {
chatgptApi35: { value: 'gpt-3.5-turbo', desc: 'ChatGPT (GPT-3.5-turbo)' },
chatgptApi35_16k: { value: 'gpt-3.5-turbo-16k', desc: 'ChatGPT (GPT-3.5-turbo-16k)' },
chatgptApi35_0613: { value: 'gpt-3.5-turbo-0613', desc: 'ChatGPT (GPT-3.5-turbo 0613)' },
chatgptApi35_16k_0613: {
value: 'gpt-3.5-turbo-16k-0613',
desc: 'ChatGPT (GPT-3.5-turbo-16k 0613)',
},
bingFree4: { value: '', desc: 'Bing (Web, GPT-4)' },
bingFreeSydney: { value: '', desc: 'Bing (Web, GPT-4, Sydney)' },
bardWebFree: { value: '', desc: 'Bard (Web)' },
Expand All @@ -82,7 +89,9 @@ export const Models = {
poeAiWebClaude100k: { value: 'claude-instant-100k', desc: 'Poe AI (Web, Claude instant 100k)' },
poeAiWebGooglePaLM: { value: 'Google-PaLM', desc: 'Poe AI (Web, Google-PaLM)' },
chatgptApi4_8k: { value: 'gpt-4', desc: 'ChatGPT (GPT-4-8k)' },
chatgptApi4_8k_0613: { value: 'gpt-4', desc: 'ChatGPT (GPT-4-8k 0613)' },
chatgptApi4_32k: { value: 'gpt-4-32k', desc: 'ChatGPT (GPT-4-32k)' },
chatgptApi4_32k_0613: { value: 'gpt-4-32k', desc: 'ChatGPT (GPT-4-32k 0613)' },
gptApiDavinci: { value: 'text-davinci-003', desc: 'GPT-3.5' },
customModel: { value: '', desc: 'Custom Model' },
azureOpenAi: { value: '', desc: 'ChatGPT (Azure)' },
Expand Down

0 comments on commit 819eb16

Please sign in to comment.