Package eu.svjatoslav.alyverkko_cli.commands.task_processor
package eu.svjatoslav.alyverkko_cli.commands.task_processor
This subpackage implements the mail-based AI task processing functionality. It watches mail directories for new/modified files with specific markers and processes them using AI models.
Key components:
- File monitoring with WatchService
- Prompt parsing and execution logic
- Query object for storing processing parameters
-
ClassesClassDescriptionRepresents the data needed to perform a single task based AI query, containing prompts and the specific AI model to use.TODO: what if directory disappeared that contained original input file ? Response cannot be written back anymore.TODO: What happens when directory gets renamed ? Will event listener reindex all files inside it for processing ? The TaskProcessorCommand continuously monitors a specified tasks directory for new or modified text files, checks if they have a "TOCOMPUTE:" marker, and if so, adds them to a priority queue to be processed in priority order.