From: Vsevolod Stakhov Date: Mon, 22 Jul 2024 12:34:37 +0000 (+0100) Subject: [Minor] Use gpt-4o-mini by default X-Git-Tag: 3.9.1~1^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F5068%2Fhead;p=thirdparty%2Frspamd.git [Minor] Use gpt-4o-mini by default --- diff --git a/conf/modules.d/gpt.conf b/conf/modules.d/gpt.conf index eac9952e5c..c76a08c920 100644 --- a/conf/modules.d/gpt.conf +++ b/conf/modules.d/gpt.conf @@ -18,7 +18,7 @@ gpt { # Your key to access the API (add this to enable this plugin) #api_key = "xxx"; # Model name - model = "gpt-3.5-turbo"; + model = "gpt-4o-mini"; # Maximum tokens to generate max_tokens = 1000; # Temperature for sampling diff --git a/src/plugins/lua/gpt.lua b/src/plugins/lua/gpt.lua index 5e19d2998f..61217cbf8f 100644 --- a/src/plugins/lua/gpt.lua +++ b/src/plugins/lua/gpt.lua @@ -27,7 +27,7 @@ gpt { # Your key to access the API api_key = "xxx"; # Model name - model = "gpt-3.5-turbo"; + model = "gpt-4o-mini"; # Maximum tokens to generate max_tokens = 1000; # Temperature for sampling @@ -69,7 +69,7 @@ local default_symbols_to_except = { local settings = { type = 'openai', api_key = nil, - model = 'gpt-3.5-turbo', + model = 'gpt-4o-mini', max_tokens = 1000, temperature = 0.0, timeout = 10,