aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/gpt.lua
Commit message (Collapse)AuthorAgeFilesLines
* [Minor] C&P issue in last commitalex0815122025-03-141-2/+2
|
* [Minor] Reverted commit for result historyalex0815122025-03-141-9/+2
|
* [Minor] Remove whitespace for lua checkalex0815122025-03-131-2/+2
|
* [Minor] Insert Reason to result to show gpt answer in historyalex0815122025-03-131-2/+10
|
* [Fix] Add header with reason everytime (not only for ham) and use correct ↵alex0815122025-03-131-4/+4
| | | | value for header
* [Minor] Improve gpt prompt - Only ask for red flag when it's spamalex0815122025-03-131-2/+2
|
* [Fix] initialize ollama result tableJens Erat2025-03-131-0/+4
| | | | | | similar to gpt.lua:704 for the chatgpt code path, the ollama code path needs to initialize the result table. Without, rspamd fails gpt requests with > lua_http_finish_handler: callback call failed: /usr/share/rspamd/plugins/gpt.lua:740: attempt to index a nil value
* [Minor] Fix invocationvstakhov-cache-gptVsevolod Stakhov2025-03-061-1/+1
|
* [Rework] GPT: Use cache frameworkVsevolod Stakhov2025-03-061-44/+18
|
* [Feature] Allow additional categories to be defined in GPTvstakhov-gpt-tunes2Vsevolod Stakhov2025-02-251-32/+108
|
* [Minor] Tune cachingVsevolod Stakhov2025-02-251-4/+16
|
* [Minor] Tune cachingVsevolod Stakhov2025-02-251-5/+7
|
* [Feature] Cache LLM repliesVsevolod Stakhov2025-02-251-49/+124
|
* [Feature] Improve prompt and use plaintext instead of JSONVsevolod Stakhov2025-02-251-11/+104
|
* [Minor] GPT: Allow to trigger on specific symbolsVsevolod Stakhov2025-02-241-15/+36
|
* [Minor] Allow to exclude all symbolsvstakhov-gpt-reasonVsevolod Stakhov2025-02-011-1/+5
|
* [Feature] GPT: Support reason addingVsevolod Stakhov2025-01-311-7/+32
|
* [Feature] Support LLM models consensusvstakhov-gpt-consensusVsevolod Stakhov2025-01-271-91/+145
|
* The gpt4all api which is openai compatible does not support response_format ↵John Quaglieri2025-01-021-3/+13
| | | | | | | | | | | | and defaults to json_objec. This change adds the ability to add include_response_format = false; In the gpt.conf local.d settings and exclude sending response_format. No other changes are needed for gpt4all api fixing the error: gpt.lua:365: got reply: {"error":{"code":null,"message":"'response_format' is not supported","param":null,"type":"invalid_request_error"}}
* [Feature] GPT: Add ollama supportvstakhov-gpt-ollamaVsevolod Stakhov2024-12-181-31/+223
|
* [Feature] GPT: Try harder to find JSON in NN replyVsevolod Stakhov2024-12-101-0/+37
|
* [Minor] GPT: use lua_mime routine to select text partVsevolod Stakhov2024-12-101-13/+2
|
* [Minor] GPT: add `allow_passthrough` and `allow_ham` settingsVsevolod Stakhov2024-12-101-2/+8
|
* [Fix] GPT: Fix bug in condition checkVsevolod Stakhov2024-07-251-2/+2
|
* [Minor] Use gpt-4o-mini by defaultVsevolod Stakhov2024-07-221-2/+2
|
* [Minor] Improve prompt and add some conversion heursiticsVsevolod Stakhov2024-07-221-2/+14
|
* [Minor] Ensure some safety when checking weightsVsevolod Stakhov2024-07-221-3/+5
| | | | Issue: #5065
* [Minor] Set response_formatVsevolod Stakhov2024-07-221-0/+1
|
* [Minor] Remove top_p reduce temperature to 0Vsevolod Stakhov2024-07-221-6/+2
|
* [Feature] Allow to specify minimum weight in GPT pluginVsevolod Stakhov2024-07-081-9/+20
|
* [Project] Trying to test various things with GPTVsevolod Stakhov2024-07-011-9/+36
|
* [Minor] Add some missing symbolsVsevolod Stakhov2024-06-291-0/+2
|
* [Minor] Add from and subject to the promptVsevolod Stakhov2024-06-291-0/+9
|
* [Minor] Allow autolearnVsevolod Stakhov2024-06-281-1/+6
|
* [Minor] Apply review suggestionVsevolod Stakhov2024-06-281-5/+1
|
* [Minor] Make except symbols configurableVsevolod Stakhov2024-06-281-10/+11
|
* Update src/plugins/lua/gpt.luaVsevolod Stakhov2024-06-281-1/+1
| | | Co-authored-by: Andrew Lewis <nerf@judo.za.org>
* [Minor] Check words count properlyVsevolod Stakhov2024-06-281-7/+9
|
* [Project] Add checks to decide if we need a GPT checkVsevolod Stakhov2024-06-281-24/+88
|
* [Minor] Also use gzip compressionVsevolod Stakhov2024-06-281-0/+1
|
* [Minor] Use keep-alive and upstreams logicVsevolod Stakhov2024-06-281-1/+13
|
* [Minor] Copy&paste fixVsevolod Stakhov2024-06-271-2/+2
|
* [Project] Add GPT pluginVsevolod Stakhov2024-06-271-0/+256