pacnpal
1f0a2573c4
feat: Implement optimization plan for Markov Discord bot
...
- Added `optimization-plan.md` detailing strategies to reduce response latency and improve training throughput.
- Enhanced performance analysis in `performance-analysis.md` with identified bottlenecks and completed optimizations.
- Created `productContext.md` summarizing project goals, user scenarios, and implementation priorities.
- Developed `markov-store.ts` for high-performance serialized chain storage with alias method sampling.
- Implemented database performance indexes in `1704067200000-AddPerformanceIndexes.ts`.
- Introduced `markov-worker.ts` for handling CPU-intensive operations in separate threads.
- Established a worker pool in `worker-pool.ts` to manage multiple worker threads efficiently.
2025-09-25 13:39:22 -04:00
pacnpal
239ded1669
Update file permissions for multiple project files and add force retrain option in training script
2025-09-25 10:04:34 -04:00
pacnpal
e72bd389e9
Stop hardcoding binaries in package.json
2024-12-27 11:28:29 -05:00
pacnpal
ec0c4e6c84
Added several things: Parser to import JSON from DiscordChatExporter, ability to train without bot running and more.
2024-12-27 11:17:21 -05:00
charlocharlie
8327775302
Update to Node 20 and Discord.js 14.
...
Fix empty attachment bug (#61 ).
2024-07-20 21:43:20 -05:00
dependabot[bot]
341a06df5b
Bump axios and pm2
...
Removes [axios](https://github.com/axios/axios ). It's no longer used after updating ancestor dependency [pm2](https://github.com/Unitech/pm2 ). These dependencies need to be updated together.
Removes `axios`
Updates `pm2` from 5.2.0 to 5.3.1
- [Release notes](https://github.com/Unitech/pm2/releases )
- [Changelog](https://github.com/Unitech/pm2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Unitech/pm2/compare/5.2.0...v5.3.1 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: indirect
- dependency-name: pm2
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-21 11:23:57 +00:00
dependabot[bot]
55ed839c95
Bump xml2js and typeorm
...
Removes [xml2js](https://github.com/Leonidas-from-XIV/node-xml2js ). It's no longer used after updating ancestor dependency [typeorm](https://github.com/typeorm/typeorm ). These dependencies need to be updated together.
Removes `xml2js`
Updates `typeorm` from 0.3.6 to 0.3.14
- [Release notes](https://github.com/typeorm/typeorm/releases )
- [Changelog](https://github.com/typeorm/typeorm/blob/master/CHANGELOG.md )
- [Commits](https://github.com/typeorm/typeorm/compare/0.3.6...0.3.14 )
---
updated-dependencies:
- dependency-name: xml2js
dependency-type: indirect
- dependency-name: typeorm
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-11 21:00:43 +00:00
dependabot[bot]
00585ef444
Bump class-validator from 0.13.2 to 0.14.0
...
Bumps [class-validator](https://github.com/typestack/class-validator ) from 0.13.2 to 0.14.0.
- [Release notes](https://github.com/typestack/class-validator/releases )
- [Changelog](https://github.com/typestack/class-validator/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/typestack/class-validator/compare/v0.13.2...v0.14.0 )
---
updated-dependencies:
- dependency-name: class-validator
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-11 23:20:40 +00:00
dependabot[bot]
b3dcf6f322
Bump json5 from 2.2.1 to 2.2.2
...
Bumps [json5](https://github.com/json5/json5 ) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.2 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-30 17:40:42 +00:00
Charlie Laabs
9adf741b5f
Add train from file and non-clean training option.
...
Closes #31
2022-05-31 22:52:37 -05:00
Charlie Laabs
0042fda285
Update dependencies to latest
2022-05-20 21:47:51 -05:00
Charlie Laabs
4215b5ae13
typeorm 0.3, Dockerfile optmizations
2022-03-25 22:38:20 -05:00
Charlie Laabs
f89bed9e5d
Update dependencies
2022-03-25 20:31:08 -05:00
Charlie Laabs
c696067c58
Update dependencies
2022-02-20 18:30:51 -06:00
Charlie Laabs
e532247b6e
2.0.2
2022-01-28 17:14:55 -06:00
Charlie Laabs
a196c62766
Fix error on seeded generation
...
- Update dependencies
2022-01-28 17:13:05 -06:00
Charlie Laabs
1d826e6d6d
Update dependencies
2022-01-21 21:39:33 -06:00
Charlie Laabs
46092e3274
Avoid exactly reposting old messages.
...
npm audit
2022-01-12 18:41:36 -06:00
Charlie Laabs
2237d344b7
Add pm2 to non-docker run
2022-01-09 17:27:34 -06:00
Charlie Laabs
f778341927
Update deps
2022-01-09 16:48:28 -06:00
Charlie Laabs
947100282e
Update docs for 2.0.0 prep
2022-01-04 22:15:33 -06:00
Charlie Laabs
92e86eabb9
Update dependencies to latest
2022-01-02 15:00:05 -06:00
Charlie Laabs
914c355ad0
Add message seeding feature
2022-01-02 14:37:01 -06:00
Charlie Laabs
0bc0dae36e
Fix delete performance
2022-01-02 12:01:17 -06:00
Charlie Laabs
87d5e95452
Fix hangs on message edit/delete
2022-01-02 01:24:01 -06:00
Charlie Laabs
b41d576e74
Update to markov-strings-db 4.1
2022-01-01 23:10:02 -06:00
Charlie Laabs
705cea80e7
Track progress of training
2021-12-30 17:19:57 -06:00
Charlie Laabs
c6375204ce
Add migration for first run
2021-12-29 23:27:54 -06:00
Charlie Laabs
81d086c47d
Update mount path
2021-12-29 21:50:04 -06:00
Charlie Laabs
101f55c1b8
Update Docker config build
2021-12-27 11:46:10 -06:00
Charlie Laabs
a96727fa06
Install official markov-strings-db release
2021-12-24 00:06:20 -06:00
Charlie Laabs
290ebb03ec
V2.0.0 makes more sense
2021-12-23 22:56:23 -06:00
Charlie Laabs
466c122dd2
Initial rough working draft of v3
2021-12-19 16:59:13 -06:00
Charlie Laabs
355b5f0963
Fix Docker build
2020-10-19 18:13:41 -05:00
Charlie Laabs
b1cbae8618
Update 0.7.3: Update to markov-strings 3.0
2020-10-18 16:53:25 -05:00
Charlie Laabs
1765bb5e00
Upgrade discord.js
2020-10-18 16:18:51 -05:00
Charlie Laabs
22902e2538
Update 0.7.2: Fix @everyone replacement
2020-03-19 17:25:56 -05:00
Charlie Laabs
4fc51e9b07
Update 0.7.1: Various config fixes, response quality fixes.
2020-01-11 20:46:27 -06:00
Charlie Laabs
4106fc0395
Bump version 0.7.0
2019-12-23 16:38:27 -06:00
Charlie Laabs
451e35a27d
deps: upgrade eslint
2019-12-23 16:23:37 -06:00
Charlie Laabs
d9a412ed75
Optimize docker build
2019-12-23 13:07:59 -06:00
Charlie Laabs
42576bbb87
Load corpus from filesystem. Remove async markov functions. Add source-map support and npm scripts. Add myself as admin case
2019-12-23 12:08:00 -06:00
Charlie Laabs
19edcc199c
initial convert to TS. No major logic changes, just type safety.
2019-12-22 23:18:43 -06:00
Charlie Laabs
0c3eceaf21
Update 0.6.2: Fix markovDB not loading on boot. Closes #3
2019-07-18 19:55:53 -05:00
Charlie Laabs
cd450acbc9
Update 0.6.1: Fix crash on scheduled regen. Closes #2
2019-07-02 17:48:31 -05:00
Charlie Laabs
3459dd7413
Update 0.6.0: Docker support
2019-05-25 15:05:37 -05:00
Charlie Laabs
6f3268dc07
Update 0.5.0: Fix !help, training restriction, some new functionality.
2018-09-21 20:40:55 -05:00
Charlie Laabs
455c3e0029
Update 0.4.0: Major refactor and debug command
2018-08-24 18:06:14 -05:00
Charlie Laabs
6576bab911
Update 0.3: Added attachments, TTS, and message deletion support.
2018-05-29 14:13:59 -05:00
Charlie Laabs
b1279b4f06
Removed markovDB.json and big-json dependency
2018-02-06 21:29:48 -06:00