Commit Graph

6 Commits

Author SHA1 Message Date
pacnpal
2e35d88045 feat: Implement configuration management and logging for Markov bot
- Added AppConfig class to manage application configuration with environment variable support.
- Introduced JSON5 support for configuration files, allowing both .json and .json5 extensions.
- Implemented logging using Pino with pretty-printing for better readability.
- Created a MarkovStore class for efficient storage and retrieval of Markov chains with O(1) sampling.
- Developed a WorkerPool class to manage worker threads for parallel processing of tasks.
- Added methods for building chains, generating responses, and handling task submissions in the worker pool.
- Included validation for configuration using class-validator to ensure correctness.
- Established a clear structure for configuration, logging, and Markov chain management.
2025-09-26 08:24:53 -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
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
Charlie Laabs
c742bee965 Update ES target 2022-05-31 22:44:11 -05:00
Charlie Laabs
466c122dd2 Initial rough working draft of v3 2021-12-19 16:59:13 -06:00
Charlie Laabs
19edcc199c initial convert to TS. No major logic changes, just type safety. 2019-12-22 23:18:43 -06:00