fix: deprecated gpt with vision (#3912)

* fix: deprecated gpt 4 with vision

* chore: update package version inference openai extension
This commit is contained in:
Faisal Amir 2024-10-30 17:42:17 +07:00 committed by GitHub
parent f56879bde0
commit 267f3ab051
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 47 deletions

View File

@ -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",

View File

@ -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"
},
@ -84,9 +51,7 @@
},
"metadata": {
"author": "OpenAI",
"tags": [
"General"
]
"tags": ["General"]
},
"engine": "openai"
},
@ -114,9 +79,7 @@
},
"metadata": {
"author": "OpenAI",
"tags": [
"General"
]
"tags": ["General"]
},
"engine": "openai"
},
@ -144,9 +107,7 @@
},
"metadata": {
"author": "OpenAI",
"tags": [
"General"
]
"tags": ["General"]
},
"engine": "openai"
},
@ -174,9 +135,7 @@
},
"metadata": {
"author": "OpenAI",
"tags": [
"General"
]
"tags": ["General"]
},
"engine": "openai"
}