Skip to content

Commit

Permalink
fix: deprecated gpt with vision (#3912)
Browse files Browse the repository at this point in the history
* fix: deprecated gpt 4 with vision

* chore: update package version inference openai extension
  • Loading branch information
urmauur authored Oct 30, 2024
1 parent f56879b commit 267f3ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 47 deletions.
2 changes: 1 addition & 1 deletion extensions/inference-openai-extension/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@janhq/inference-openai-extension",
"productName": "OpenAI Inference Engine",
"version": "1.0.2",
"version": "1.0.3",
"description": "This extension enables OpenAI chat completion API calls",
"main": "dist/index.js",
"module": "dist/module.js",
Expand Down
51 changes: 5 additions & 46 deletions extensions/inference-openai-extension/resources/models.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,40 +23,7 @@
},
"metadata": {
"author": "OpenAI",
"tags": [
"General"
]
},
"engine": "openai"
},
{
"sources": [
{
"url": "https://openai.com"
}
],
"id": "gpt-4-vision-preview",
"object": "model",
"name": "OpenAI GPT 4 with Vision (Preview)",
"version": "1.1",
"description": "OpenAI GPT-4 Vision model features vision understanding capabilities",
"format": "api",
"settings": {
"vision_model": true,
"textModel": false
},
"parameters": {
"max_tokens": 4096,
"temperature": 0.7,
"top_p": 0.95,
"stream": true
},
"metadata": {
"author": "OpenAI",
"tags": [
"General",
"Vision"
]
"tags": ["General"]
},
"engine": "openai"
},
Expand Down Expand Up @@ -84,9 +51,7 @@
},
"metadata": {
"author": "OpenAI",
"tags": [
"General"
]
"tags": ["General"]
},
"engine": "openai"
},
Expand Down Expand Up @@ -114,9 +79,7 @@
},
"metadata": {
"author": "OpenAI",
"tags": [
"General"
]
"tags": ["General"]
},
"engine": "openai"
},
Expand Down Expand Up @@ -144,9 +107,7 @@
},
"metadata": {
"author": "OpenAI",
"tags": [
"General"
]
"tags": ["General"]
},
"engine": "openai"
},
Expand Down Expand Up @@ -174,9 +135,7 @@
},
"metadata": {
"author": "OpenAI",
"tags": [
"General"
]
"tags": ["General"]
},
"engine": "openai"
}
Expand Down

0 comments on commit 267f3ab

Please sign in to comment.