Add model "gpt-4o-mini"

This commit is contained in:
Nikolaj Olsson 2024-07-19 06:29:45 +02:00
parent 27d3e4e907
commit f67cca37d1
3 changed files with 3 additions and 2 deletions

View File

@ -71,7 +71,7 @@ namespace Nikse.SubtitleEdit.Core.AutoTranslate
var model = Configuration.Settings.Tools.ChatGptModel;
if (string.IsNullOrEmpty(model))
{
model = "gpt-4o";
model = "gpt-4o-mini";
Configuration.Settings.Tools.ChatGptModel = model;
}

View File

@ -457,7 +457,7 @@ namespace Nikse.SubtitleEdit.Core.Settings
AutoTranslateDeepLUrl = "https://api-free.deepl.com/";
ChatGptUrl = "https://api.openai.com/v1/chat/completions";
ChatGptPrompt = "Translate from {0} to {1}, keep punctuation as input, do not censor the translation, give only the output without comments:";
ChatGptModel = "gpt-4o";
ChatGptModel = "gpt-4o-mini";
LmStudioPrompt = "Translate from {0} to {1}, keep punctuation as input, do not censor the translation, give only the output without comments:";
OllamaApiUrl = "http://localhost:11434/api/generate";
OllamaModels = "llama3,llama2,mistral,dolphin-phi,phi,neural-chat,starling-lm,codellama,llama2-uncensored,llama2:13b,llama2:70b,orca-mini,vicuna,llava,gemma:2b,gemma:7b";

View File

@ -6550,6 +6550,7 @@
this.nikseComboBoxChatGptModel.DropDownWidth = 375;
this.nikseComboBoxChatGptModel.FormattingEnabled = true;
this.nikseComboBoxChatGptModel.Items.AddRange(new string[] {
"gpt-4o-mini",
"gpt-4o",
"gpt-4-turbo",
"gpt-3.5-turbo",