Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Fix] Increase/decrease hash_key value for tokens depending on is_unlearn | aduernberger | 2024-04-18 | 1 | -2/+2 |
| | | | | | | | | When relearning a message, this script is called twice: 1. With `is_unlearn` true and the old `is_spam` value 2. With `is_unlearn` false and the new `is_spam` value If `is_unlearn` is true, the code should not increase the value of the hash_key. Decreasing it ensures that it behaves like a fresh learn with the new is_spam value. | ||||
* | [Fix] Fix storing of the bayes tokens | Vsevolod Stakhov | 2024-01-22 | 1 | -1/+1 |
| | |||||
* | [Project] Implement text tokens storage on C++ side | Vsevolod Stakhov | 2023-12-31 | 1 | -6/+8 |
| | |||||
* | [Project] Add store tokens support in new bayes learn | Vsevolod Stakhov | 2023-12-31 | 1 | -1/+19 |
| | |||||
* | [Project] Try to do strings concatenation in C | Vsevolod Stakhov | 2023-12-14 | 1 | -2/+1 |
| | |||||
* | [Rework] Use strings for int64_t | Vsevolod Stakhov | 2023-12-08 | 1 | -2/+2 |
| | | | | | | It seems there is no easy way to use int64 in Redis Lua, hence, we have to use strings. It's much more expensive but still some advantage over the previous schema. | ||||
* | [Project] Add some basic learning | Vsevolod Stakhov | 2023-12-07 | 1 | -2/+2 |
| | |||||
* | [Project] Add bayes learn script | Vsevolod Stakhov | 2023-12-07 | 1 | -0/+25 |