aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-07-22 13:34:37 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-07-22 13:34:37 +0100
commit10b3cefd4e8dd99c73cf11c838d80ad6238a0b57 (patch)
treec8cffc844ecd705c947f41a164891d0d296e71fc /src/plugins/lua
parentcb3faa71cade474d449cebf2896e81c083cde295 (diff)
downloadrspamd-10b3cefd4e8dd99c73cf11c838d80ad6238a0b57.tar.gz
rspamd-10b3cefd4e8dd99c73cf11c838d80ad6238a0b57.zip
[Minor] Use gpt-4o-mini by default
Diffstat (limited to 'src/plugins/lua')
-rw-r--r--src/plugins/lua/gpt.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/lua/gpt.lua b/src/plugins/lua/gpt.lua
index 5e19d2998..61217cbf8 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,