From 6f5e1a3b4fd8d4780d35271e2c1cead84359fe05 Mon Sep 17 00:00:00 2001 From: Louis Date: Sat, 21 Dec 2024 11:43:58 +0700 Subject: [PATCH] chore: add OpenAI gpt-4o-mini and o1 models --- .../resources/models.json | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/extensions/inference-openai-extension/resources/models.json b/extensions/inference-openai-extension/resources/models.json index fc68968821..0c822fde26 100644 --- a/extensions/inference-openai-extension/resources/models.json +++ b/extensions/inference-openai-extension/resources/models.json @@ -85,6 +85,63 @@ }, "engine": "openai" }, + { + "sources": [ + { + "url": "https://openai.com" + } + ], + "id": "gpt-4o-mini", + "object": "model", + "name": "OpenAI GPT 4o-mini", + "version": "1.1", + "description": "GPT-4o mini (“o” for “omni”) is a fast, affordable small model for focused tasks.", + "format": "api", + "settings": { + "vision_model": true + }, + "parameters": { + "max_tokens": 16384, + "temperature": 0.7, + "top_p": 0.95, + "stream": true, + "stop": [], + "frequency_penalty": 0, + "presence_penalty": 0 + }, + "metadata": { + "author": "OpenAI", + "tags": ["General"] + }, + "engine": "openai" + }, + { + "sources": [ + { + "url": "https://openai.com" + } + ], + "id": "o1", + "object": "model", + "name": "OpenAI o1", + "version": "1.0", + "description": "OpenAI o1 is a new model with complex reasoning", + "format": "api", + "settings": {}, + "parameters": { + "max_tokens": 100000, + "temperature": 1, + "top_p": 1, + "stream": true, + "frequency_penalty": 0, + "presence_penalty": 0 + }, + "metadata": { + "author": "OpenAI", + "tags": ["General"] + }, + "engine": "openai" + }, { "sources": [ {