aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-06-28 15:09:50 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-06-28 15:09:50 +0100
commit0f7311f9f6787867210d3bce77e7801d1b347dba (patch)
tree829c766e3adb0329961a5bea6ae8c38f2856e469 /conf
parent0c6780d66e5f208bc4806ab227990d15af400776 (diff)
downloadrspamd-0f7311f9f6787867210d3bce77e7801d1b347dba.tar.gz
rspamd-0f7311f9f6787867210d3bce77e7801d1b347dba.zip
[Minor] Adjust configuration
Diffstat (limited to 'conf')
-rw-r--r--conf/modules.d/gpt.conf11
1 files changed, 10 insertions, 1 deletions
diff --git a/conf/modules.d/gpt.conf b/conf/modules.d/gpt.conf
index 821141495..7a2e11d40 100644
--- a/conf/modules.d/gpt.conf
+++ b/conf/modules.d/gpt.conf
@@ -20,7 +20,7 @@ gpt {
# Model name
model = "gpt-3.5-turbo";
# Maximum tokens to generate
- max_tokens = 100;
+ max_tokens = 1000;
# Temperature for sampling
temperature = 0.7;
# Top p for sampling
@@ -36,6 +36,15 @@ gpt {
# Reply conversion (lua code)
#reply_conversion = "xxx";
+ # Default set of symbols to be excepted
+ #symbols_to_except = [
+ # 'BAYES_SPAM',
+ # 'WHITELIST_SPF',
+ # 'WHITELIST_DKIM',
+ # 'WHITELIST_DMARC',
+ # 'FUZZY_DENIED',
+ #];
+
# Be sure to enable module after you specify the API key
enabled = false;