mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Add model "gpt-4o-mini"
This commit is contained in:
parent
27d3e4e907
commit
f67cca37d1
@ -71,7 +71,7 @@ namespace Nikse.SubtitleEdit.Core.AutoTranslate
|
|||||||
var model = Configuration.Settings.Tools.ChatGptModel;
|
var model = Configuration.Settings.Tools.ChatGptModel;
|
||||||
if (string.IsNullOrEmpty(model))
|
if (string.IsNullOrEmpty(model))
|
||||||
{
|
{
|
||||||
model = "gpt-4o";
|
model = "gpt-4o-mini";
|
||||||
Configuration.Settings.Tools.ChatGptModel = model;
|
Configuration.Settings.Tools.ChatGptModel = model;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -457,7 +457,7 @@ namespace Nikse.SubtitleEdit.Core.Settings
|
|||||||
AutoTranslateDeepLUrl = "https://api-free.deepl.com/";
|
AutoTranslateDeepLUrl = "https://api-free.deepl.com/";
|
||||||
ChatGptUrl = "https://api.openai.com/v1/chat/completions";
|
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:";
|
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:";
|
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";
|
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";
|
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";
|
||||||
|
1
src/ui/Forms/Options/Settings.Designer.cs
generated
1
src/ui/Forms/Options/Settings.Designer.cs
generated
@ -6550,6 +6550,7 @@
|
|||||||
this.nikseComboBoxChatGptModel.DropDownWidth = 375;
|
this.nikseComboBoxChatGptModel.DropDownWidth = 375;
|
||||||
this.nikseComboBoxChatGptModel.FormattingEnabled = true;
|
this.nikseComboBoxChatGptModel.FormattingEnabled = true;
|
||||||
this.nikseComboBoxChatGptModel.Items.AddRange(new string[] {
|
this.nikseComboBoxChatGptModel.Items.AddRange(new string[] {
|
||||||
|
"gpt-4o-mini",
|
||||||
"gpt-4o",
|
"gpt-4o",
|
||||||
"gpt-4-turbo",
|
"gpt-4-turbo",
|
||||||
"gpt-3.5-turbo",
|
"gpt-3.5-turbo",
|
||||||
|
Loading…
Reference in New Issue
Block a user