Skip to content

Commit

Permalink
Updated the OpenAI model type and dependency version
Browse files Browse the repository at this point in the history
  • Loading branch information
salmenus committed Feb 28, 2024
1 parent b78f1c5 commit 27421b8
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
14 changes: 12 additions & 2 deletions packages/js/openai/src/openai/gpt/types/model.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
export type OpenAIModel = 'gpt-4'
export type OpenAIModel = (string & {})
| 'gpt-4-0125-preview'
| 'gpt-4-turbo-preview'
| 'gpt-4-1106-preview'
| 'gpt-4-vision-preview'
| 'gpt-4'
| 'gpt-4-0314'
| 'gpt-4-0613'
| 'gpt-4-32k'
| 'gpt-4-32k-0314'
| 'gpt-4-32k-0613'
| 'gpt-3.5-turbo'
| 'gpt-3.5-turbo-0613'
| 'gpt-3.5-turbo-16k'
| 'gpt-3.5-turbo-0301'
| 'gpt-3.5-turbo-0613'
| 'gpt-3.5-turbo-1106'
| 'gpt-3.5-turbo-0125'
| 'gpt-3.5-turbo-16k-0613';
4 changes: 2 additions & 2 deletions pipeline/npm/versions.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"inherit": true,
"nlux": "0.12.1",
"nlux": "0.12.2",
"peerDependencies": {
"react": "18.2.0",
"react-dom": "18.2.0"
},
"dependencies": {
"openai": "4.26.0",
"openai": "4.28.0",
"hfInference": "2.6.4",
"highlightJs": "11.9.0"
}
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3255,7 +3255,7 @@ onetime@^6.0.0:
dependencies:
mimic-fn "^4.0.0"

openai@^4.26.0:
openai@^4.28.0:
version "4.28.0"
resolved "https://registry.yarnpkg.com/openai/-/openai-4.28.0.tgz#ded00e3d98c25758b5406c9675ec27a957e00930"
integrity sha512-JM8fhcpmpGN0vrUwGquYIzdcEQHtFuom6sRCbbCM6CfzZXNuRk33G7KfeRAIfnaCxSpzrP5iHtwJzIm6biUZ2Q==
Expand Down

0 comments on commit 27421b8

Please sign in to comment.