Index
All Classes and Interfaces|All Packages
A
- addModel(Model) - Method in class eu.svjatoslav.alyverkko_cli.model.ModelLibrary
-
Adds a model to the library if no model with the same alias already exists.
- alias - Variable in class eu.svjatoslav.alyverkko_cli.model.Model
-
A user-friendly alias for the model, e.g.
C
- Command - Interface in eu.svjatoslav.alyverkko_cli
-
Base interface for all subcommands in the Älyverkko CLI.
- configFileOption - Variable in class eu.svjatoslav.alyverkko_cli.commands.task_processor.TaskProcessorCommand
-
Optional CLI argument for specifying a configuration file path.
- configFileOption - Variable in class eu.svjatoslav.alyverkko_cli.commands.WizardCommand
-
Optional CLI argument for specifying a configuration file path.
- configuration - Static variable in class eu.svjatoslav.alyverkko_cli.Main
-
The active, loaded configuration for the entire application.
- Configuration - Class in eu.svjatoslav.alyverkko_cli.configuration
-
Central configuration class storing all application parameters.
- Configuration() - Constructor for class eu.svjatoslav.alyverkko_cli.configuration.Configuration
- ConfigurationHelper - Class in eu.svjatoslav.alyverkko_cli.configuration
-
Helper class for configuration file operations.
- ConfigurationHelper() - Constructor for class eu.svjatoslav.alyverkko_cli.configuration.ConfigurationHelper
- ConfigurationModel - Class in eu.svjatoslav.alyverkko_cli.configuration
-
Represents a single AI model configuration entry, including alias, path to the model file, token context size, and an optional end-of-text marker.
- ConfigurationModel() - Constructor for class eu.svjatoslav.alyverkko_cli.configuration.ConfigurationModel
- contextSizeTokens - Variable in class eu.svjatoslav.alyverkko_cli.model.Model
-
The size of the context (in tokens) that this model is able to handle.
D
- DEFAULT_CONFIG_FILE_PATH - Static variable in class eu.svjatoslav.alyverkko_cli.configuration.ConfigurationHelper
-
The default path for the YAML config file, typically under the user's home directory.
E
- editOption - Variable in class eu.svjatoslav.alyverkko_cli.commands.JoinFilesCommand
-
If present, open the joined file using a text editor afterward.
- endOfTextMarker - Variable in class eu.svjatoslav.alyverkko_cli.model.Model
-
An optional marker indicating end of the AI-generated text (e.g., "###").
- endTimeMillis - Variable in class eu.svjatoslav.alyverkko_cli.commands.task_processor.Task
-
The end time of the query (milliseconds since epoch).
- eu.svjatoslav.alyverkko_cli - package eu.svjatoslav.alyverkko_cli
-
This package contains the core components of the Älyverkko CLI application, including the main entry point, command interfaces, and utility classes.
- eu.svjatoslav.alyverkko_cli.commands - package eu.svjatoslav.alyverkko_cli.commands
-
This package implements all subcommands available in the Älyverkko CLI application.
- 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.
- eu.svjatoslav.alyverkko_cli.configuration - package eu.svjatoslav.alyverkko_cli.configuration
-
This package handles the configuration system for the Älyverkko CLI application.
- eu.svjatoslav.alyverkko_cli.model - package eu.svjatoslav.alyverkko_cli.model
-
This package defines the model management system for the Älyverkko CLI.
- executeCommand(String[]) - Method in interface eu.svjatoslav.alyverkko_cli.Command
-
Called to carry out the specific subcommand.
- executeCommand(String[]) - Method in class eu.svjatoslav.alyverkko_cli.commands.JoinFilesCommand
-
Executes the command that joins files from a specified directory (matching an optional pattern) into one output file in the mail directory.
- executeCommand(String[]) - Method in class eu.svjatoslav.alyverkko_cli.commands.ListModelsCommand
-
Executes the command to load the user's configuration and list all known AI models, printing them to stdout.
- executeCommand(String[]) - Method in class eu.svjatoslav.alyverkko_cli.commands.task_processor.TaskProcessorCommand
-
Executes the "mail" command, loading configuration, starting a WatchService on the mail directory, adding existing files to the task queue, and processing tasks in priority order.
- executeCommand(String[]) - Method in class eu.svjatoslav.alyverkko_cli.commands.WizardCommand
F
- fileNamePattern - Variable in class eu.svjatoslav.alyverkko_cli.commands.JoinFilesCommand
-
The pattern used to filter files for joining, e.g.
- filesystemPath - Variable in class eu.svjatoslav.alyverkko_cli.model.Model
-
The path to the model file on the filesystem.
- findModelByAlias(String) - Method in class eu.svjatoslav.alyverkko_cli.model.ModelLibrary
-
Finds a model by its alias in this library.
G
- getCommandName() - Method in interface eu.svjatoslav.alyverkko_cli.Command
- getCommandName() - Method in class eu.svjatoslav.alyverkko_cli.commands.JoinFilesCommand
- getCommandName() - Method in class eu.svjatoslav.alyverkko_cli.commands.ListModelsCommand
- getCommandName() - Method in class eu.svjatoslav.alyverkko_cli.commands.task_processor.TaskProcessorCommand
- getCommandName() - Method in class eu.svjatoslav.alyverkko_cli.commands.WizardCommand
- getConfigurationFile(FileOption) - Static method in class eu.svjatoslav.alyverkko_cli.configuration.ConfigurationHelper
-
Returns the configuration file from the given option, or the default path if not present.
- getDefaultModel() - Method in class eu.svjatoslav.alyverkko_cli.model.ModelLibrary
- getEffectiveMinP() - Method in class eu.svjatoslav.alyverkko_cli.commands.task_processor.Task
- getEffectiveRepeatPenalty() - Method in class eu.svjatoslav.alyverkko_cli.commands.task_processor.Task
-
Calculates effective repeat penalty using hierarchy: skill-specific → model-specific → global default
- getEffectiveTemperature() - Method in class eu.svjatoslav.alyverkko_cli.commands.task_processor.Task
-
Calculate effective temperature based on override hierarchy.
- getEffectiveTopK() - Method in class eu.svjatoslav.alyverkko_cli.commands.task_processor.Task
- getEffectiveTopP() - Method in class eu.svjatoslav.alyverkko_cli.commands.task_processor.Task
-
Calculates effective top-p value using hierarchy: skill-specific → model-specific → global default
- getModels() - Method in class eu.svjatoslav.alyverkko_cli.model.ModelLibrary
- getSkillByName(String) - Method in class eu.svjatoslav.alyverkko_cli.configuration.Configuration
-
Retrieves the contents of a prompt file by alias, e.g.
H
- handleCommand(String[]) - Method in class eu.svjatoslav.alyverkko_cli.Main
-
Attempts to find and execute the subcommand specified in the given arguments, or prints a help message if no command is found.
J
- JoinFilesCommand - Class in eu.svjatoslav.alyverkko_cli.commands
-
The JoinFilesCommand aggregates multiple files (optionally matching a specific pattern) into a single file for AI processing, typically in the mail directory.
- JoinFilesCommand() - Constructor for class eu.svjatoslav.alyverkko_cli.commands.JoinFilesCommand
L
- ListModelsCommand - Class in eu.svjatoslav.alyverkko_cli.commands
-
Displays all available AI models in the configured models directory.
- ListModelsCommand() - Constructor for class eu.svjatoslav.alyverkko_cli.commands.ListModelsCommand
- loadConfiguration(File) - Static method in class eu.svjatoslav.alyverkko_cli.configuration.ConfigurationHelper
-
Loads the configuration from a given file, or from the default path if
configFileis null.
M
- main(String[]) - Static method in class eu.svjatoslav.alyverkko_cli.Main
-
Application entry point.
- Main - Class in eu.svjatoslav.alyverkko_cli
-
The main entry point for the Älyverkko CLI application.
- Main() - Constructor for class eu.svjatoslav.alyverkko_cli.Main
- minP - Variable in class eu.svjatoslav.alyverkko_cli.model.Model
-
Minimum probability threshold for candidate tokens (null if not configured).
- model - Variable in class eu.svjatoslav.alyverkko_cli.commands.task_processor.Task
-
The AI model to be used for processing this query.
- Model - Class in eu.svjatoslav.alyverkko_cli.model
-
Represents an AI model stored on the filesystem with metadata about its capabilities and identification.
- Model(File, int, String, String, Float, Float, Float, Float, Float) - Constructor for class eu.svjatoslav.alyverkko_cli.model.Model
-
Constructs a
Modelinstance with all hyperparameters. - ModelLibrary - Class in eu.svjatoslav.alyverkko_cli.model
-
A container (library) for multiple AI models, providing functionality for adding and retrieving models by alias.
- ModelLibrary(File, List<ConfigurationModel>) - Constructor for class eu.svjatoslav.alyverkko_cli.model.ModelLibrary
-
Constructs a library of AI models from the provided list of
ConfigurationModels, ignoring those whose paths do not exist.
P
- patternOption - Variable in class eu.svjatoslav.alyverkko_cli.commands.JoinFilesCommand
-
Pattern for matching files, such as "*.java".
- printModelDetails() - Method in class eu.svjatoslav.alyverkko_cli.model.Model
-
Prints the model's metadata to standard output in a consistent format.
- printModels() - Method in class eu.svjatoslav.alyverkko_cli.model.ModelLibrary
-
Prints the details of each model in the library to standard output.
- printRedMessageToConsole(String) - Static method in class eu.svjatoslav.alyverkko_cli.Utils
-
Prints a message in red text to the console.
- priority - Variable in class eu.svjatoslav.alyverkko_cli.commands.task_processor.Task
-
Task priority.
R
- repeatPenalty - Variable in class eu.svjatoslav.alyverkko_cli.model.Model
-
Model-specific repeat penalty value (null if not configured).
- runAiQuery() - Method in class eu.svjatoslav.alyverkko_cli.commands.task_processor.TaskProcess
-
Runs the AI query by constructing the prompt, writing it to a temp file, invoking llama.cpp, collecting output, and performing any final cleanup.
S
- skill - Variable in class eu.svjatoslav.alyverkko_cli.commands.task_processor.Task
- SkillConfig - Class in eu.svjatoslav.alyverkko_cli.configuration
- SkillConfig() - Constructor for class eu.svjatoslav.alyverkko_cli.configuration.SkillConfig
- skillName - Variable in class eu.svjatoslav.alyverkko_cli.commands.task_processor.Task
-
The name of the specific skill or capability that the AI should utilize when processing the query.
- sourceBaseDirectory - Variable in class eu.svjatoslav.alyverkko_cli.commands.JoinFilesCommand
-
The base directory for recursion when joining files.
- sourceDirectoryOption - Variable in class eu.svjatoslav.alyverkko_cli.commands.JoinFilesCommand
-
Directory from which files will be joined.
- startTimeMillis - Variable in class eu.svjatoslav.alyverkko_cli.commands.task_processor.Task
-
The start time of the query (milliseconds since epoch).
- systemPrompt - Variable in class eu.svjatoslav.alyverkko_cli.commands.task_processor.Task
-
The system prompt text that sets the context or role for the AI.
T
- Task - Class in eu.svjatoslav.alyverkko_cli.commands.task_processor
-
Represents the data needed to perform a single task based AI query, containing prompts and the specific AI model to use.
- Task() - Constructor for class eu.svjatoslav.alyverkko_cli.commands.task_processor.Task
- TaskProcess - Class in eu.svjatoslav.alyverkko_cli.commands.task_processor
-
TODO: what if directory disappeared that contained original input file ? Response cannot be written back anymore.
- TaskProcess(Task) - Constructor for class eu.svjatoslav.alyverkko_cli.commands.task_processor.TaskProcess
-
Creates a new AI task with a given mail query.
- TaskProcessorCommand - Class in eu.svjatoslav.alyverkko_cli.commands.task_processor
-
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.
- TaskProcessorCommand() - Constructor for class eu.svjatoslav.alyverkko_cli.commands.task_processor.TaskProcessorCommand
- temperature - Variable in class eu.svjatoslav.alyverkko_cli.model.Model
-
Model-specific temperature value (null if not configured).
- topic - Variable in class eu.svjatoslav.alyverkko_cli.commands.JoinFilesCommand
-
Topic name, used as the basis for the output file name.
- topK - Variable in class eu.svjatoslav.alyverkko_cli.model.Model
-
Model-specific Top-K parameter controlling token selection (null if not configured).
- topP - Variable in class eu.svjatoslav.alyverkko_cli.model.Model
-
Model-specific top-p value (null if not configured).
- toString() - Method in class eu.svjatoslav.alyverkko_cli.commands.task_processor.Task
-
Returns a string containing a summary of the
Taskobject.
U
- userPrompt - Variable in class eu.svjatoslav.alyverkko_cli.commands.task_processor.Task
-
The user's prompt text (the main request or query).
- Utils - Class in eu.svjatoslav.alyverkko_cli
-
General utility functions for the Älyverkko CLI application.
- Utils() - Constructor for class eu.svjatoslav.alyverkko_cli.Utils
W
- WizardCommand - Class in eu.svjatoslav.alyverkko_cli.commands
-
Interactive configuration wizard that helps users validate and fix their configuration files.
- WizardCommand() - Constructor for class eu.svjatoslav.alyverkko_cli.commands.WizardCommand
All Classes and Interfaces|All Packages