alyverkko-cli.git
2 days agoAdd GUI launcher. Rename list command to listmodels. master
Svjatoslav Agejenko [Mon, 6 May 2024 22:18:46 +0000 (01:18 +0300)]
Add GUI launcher. Rename list command to listmodels.

5 days agoWatch for filesystem events instead of periodically rescanning all files
Svjatoslav Agejenko [Fri, 3 May 2024 20:42:05 +0000 (23:42 +0300)]
Watch for filesystem events instead of periodically rescanning all files

5 days agoBetter handling of CLI arguments and temporary files.
Svjatoslav Agejenko [Fri, 3 May 2024 03:59:24 +0000 (06:59 +0300)]
Better handling of CLI arguments and temporary files.

8 days agoRemove brainstorm mode. Add config file support.
Svjatoslav Agejenko [Tue, 30 Apr 2024 05:29:51 +0000 (08:29 +0300)]
Remove brainstorm mode. Add config file support.

11 days agoRemove string trimming in various methods
Svjatoslav Agejenko [Sat, 27 Apr 2024 09:37:34 +0000 (12:37 +0300)]
Remove string trimming in various methods

The updated code no longer trims the input and response strings in several methods. This change was made in the methods that handle AI task results and clean up AI responses. This tweaking potentially keeps the original formatting without performing unnecessary text manipulations.

11 days agoRefactor code and fix error message methods
Svjatoslav Agejenko [Sat, 27 Apr 2024 09:32:13 +0000 (12:32 +0300)]
Refactor code and fix error message methods

The code has been refactored for better readability and maintainability. In addition, error message methods have been renamed for consistency. The classes model and ModelLibrary have been moved to a new package for structural organization of the project. Unused imports have been cleaned up and temporary file handling has been improved to ensure proper cleanup. The user and AI response handling have been simplified as well.

12 days agoRename variables and refactor docstrings
Svjatoslav Agejenko [Fri, 26 Apr 2024 21:38:01 +0000 (00:38 +0300)]
Rename variables and refactor docstrings

The variable 'llamaExecutable' has been renamed to 'llamaCppExecutable' in MailCorrespondent.java for clarity. Method 'getAiQueryString' is renamed to 'buildAiQuery' in AiTask.java. Additionally, various edits are performed to enhance readability and clarity in document index.html and index.org. Unresolved 'TODO' comments have been added to guide further enhancements.

13 days agoRefactor MailCorrespondent class for commandline arguments
Svjatoslav Agejenko [Thu, 25 Apr 2024 15:06:48 +0000 (18:06 +0300)]
Refactor MailCorrespondent class for commandline arguments

Optimized the MailCorrespondent class to handle commandline arguments better. Specifically, added the 'mailDirectory' as a cli argument while preserving the modelLibrary object. Arguments are mandatory, ensuring the application runs as expected.

13 days agoRefactored mail retrieval, added guard against directories
Svjatoslav Agejenko [Thu, 25 Apr 2024 15:02:16 +0000 (18:02 +0300)]
Refactored mail retrieval, added guard against directories

Simplified the empty mail folder check to streamline the code and added a condition to filter out directories. This ensures that only mail files are processed, preventing potential errors.

13 days agoAdd commandline option for llama executable path
Svjatoslav Agejenko [Thu, 25 Apr 2024 14:55:05 +0000 (17:55 +0300)]
Add commandline option for llama executable path

The llama executable path is no longer hardcoded and is now a required commandline option for both MailCorrespondent and Brainstorm modes. Corresponding adjustments have been made to the AiTask implementations and tests. The hardcoded path method in the Configuration file has also been removed.

13 days agoAdd maven.xml configuration file and update install script
Svjatoslav Agejenko [Thu, 25 Apr 2024 14:41:33 +0000 (17:41 +0300)]
Add maven.xml configuration file and update install script

A new Maven configuration file, maven.xml, has been added to set project-specific settings. The install script has been updated to reference this configuration when invoking Maven's clean and package commands. These changes allow for greater control over the build process.

13 days agoUpdate dependency versions in pom.xml
Svjatoslav Agejenko [Thu, 25 Apr 2024 14:34:30 +0000 (17:34 +0300)]
Update dependency versions in pom.xml

The version of the 'cli-helper' dependency has been updated from '1.2-SNAPSHOT' to '1.2'. Similarly, the version of the 'testng' dependency has been changed from 'RELEASE' to '7.4.0'. These updates ensure we are using the stable versions of these dependencies.

13 days agoInitial commit.
Svjatoslav Agejenko [Thu, 25 Apr 2024 14:00:33 +0000 (17:00 +0300)]
Initial commit.