Commit Graph

  • 17a0264025 question_cmd: now also accepts Messages as source files main #1 juk0de 2023-09-13 14:56:40 +0200
  • 7f4a16894e Add pre-commit checks into push webhook. Oleksandr Kozachuk 2023-09-13 11:08:02 +0200
  • 26e3d38afb Add the Gitea web hooks. Oleksandr Kozachuk 2023-09-13 10:53:12 +0200
  • b5af751193 openai: added test module juk0de 2023-09-13 08:49:06 +0200
  • a7345cbc41 ai_factory: fixed argument parsing bug juk0de 2023-09-13 07:52:05 +0200
  • 310cb9421e Merge pull request 'Cleanup after merge of restructurings #8' (#10) from cleanup into main juk0de 2023-09-12 20:23:08 +0200
  • 1ec3d6fcda Make it possible to specify the AI in config command. Oleksandr Kozachuk 2023-09-12 16:37:50 +0200
  • 544bf0bf06 Improve README.md Oleksandr Kozachuk 2023-09-12 16:34:39 +0200
  • f96e82bdd7 Implement the config -l and config -m commands. Oleksandr Kozachuk 2023-09-12 16:34:17 +0200
  • 2b62cb8c4b Remove the -*terminal_width() to save space on screen. Oleksandr Kozachuk 2023-09-09 19:24:45 +0200
  • a895c1fc6a Merge pull request 'ChatMasterMind Application Refactor and Enhancement' (#8) from restructurings into main juk0de 2023-09-12 07:36:04 +0200
  • ddfcc71510 Merge branch 'restructurings.main' into restructurings Oleksandr Kozachuk 2023-09-11 13:28:56 +0200
  • 17de0b9967 Remove old code. Oleksandr Kozachuk 2023-09-11 13:17:59 +0200
  • 33023d29f9 configuration: made 'default' AI ID optional juk0de 2023-09-11 07:38:49 +0200
  • 481f9ecf7c configuration: improved config file format juk0de 2023-09-10 08:37:06 +0200
  • 22fa187e5f question_cmd: when no tags are specified, no tags are selected juk0de 2023-09-10 08:25:33 +0200
  • b840ebd792 message: to_file() now uses intermediate temporary file juk0de 2023-09-10 19:56:50 +0200
  • 66908f5fed message: fixed matching with empty tag sets juk0de 2023-09-10 08:24:20 +0200
  • 2e08ccf606 openai: stores AI.ID instead of AI.name in message juk0de 2023-09-10 07:55:47 +0200
  • 595ff8e294 question_cmd: added message filtering by tags juk0de 2023-09-10 07:54:17 +0200
  • faac42d3c2 question_cmd: fixed '--ask' command juk0de 2023-09-10 07:52:07 +0200
  • 864ab7aeb1 chat: added check for existing files when creating new filenames juk0de 2023-09-10 19:18:14 +0200
  • cc76da2ab3 chat: added 'update_messages()' function and test juk0de 2023-09-10 07:39:00 +0200
  • f99cd3ed41 question_cmd: fixed source code extraction and added a testcase juk0de 2023-09-09 18:28:10 +0200
  • 6f3ea98425 Small fixes. Oleksandr Kozachuk 2023-09-09 16:05:27 +0200
  • 54ece6efeb Port print arguments -q/-a/-S from main to restructuring. Oleksandr Kozachuk 2023-09-09 15:38:40 +0200
  • 86eebc39ea Allow in question -s for just sourcing file and -S to source file with ``` encapsulation. Oleksandr Kozachuk 2023-09-09 15:16:17 +0200
  • 3eca53998b question cmd: added tests juk0de 2023-09-09 08:31:30 +0200
  • c4f7bcc94e question_cmd: fixes juk0de 2023-09-09 08:51:17 +0200
  • c52713c833 configuration: added tests juk0de 2023-09-08 10:40:22 +0200
  • ecb6994783 configuration et al: implemented new Config format juk0de 2023-09-06 22:52:03 +0200
  • 61e710a4b1 cmm: splitted commands into separate modules (and more cleanup) juk0de 2023-09-08 13:31:01 +0200
  • 21d39c6c66 cmm: removed all the old code and modules juk0de 2023-09-08 09:43:23 +0200
  • 6a4cc7a65d setup: added 'ais' subfolder juk0de 2023-09-08 09:23:29 +0200
  • d6bb5800b1 test_main: temporarily disabled all testcases juk0de 2023-09-06 22:12:05 +0200
  • 034e4093f1 cmm: added 'question' command juk0de 2023-09-04 22:35:53 +0200
  • 7d15452242 added new module 'ai_factory' juk0de 2023-09-05 23:24:20 +0200
  • 823d3bf7dc added new module 'openai.py' juk0de 2023-09-01 10:18:09 +0200
  • 4bd144c4d7 added new module 'ai.py' juk0de 2023-09-01 09:00:15 +0200
  • e186afbef0 cmm: the 'print' command now uses 'Message.from_file()' juk0de 2023-09-04 22:07:02 +0200
  • 5e4ec70072 cmm: tags completion now uses 'Message.tags_from_dir' (fixes tag completion for me) juk0de 2023-09-02 08:42:59 +0200
  • 4c378dde85 cmm: the 'hist' command now uses the new 'ChatDB' juk0de 2023-09-02 08:21:49 +0200
  • 8923a13352 cmm: the 'tags' command now uses the new 'ChatDB' juk0de 2023-09-01 12:46:23 +0200
  • e1414835c8 chat: added functions for finding and deleting messages juk0de 2023-09-06 08:16:55 +0200
  • abb7fdacb6 message / chat: output improvements juk0de 2023-09-04 08:49:43 +0200
  • 2e2228bd60 chat: new possibilites for adding messages and better tests juk0de 2023-09-03 10:18:16 +0200
  • 713b55482a message: added rename_tags() function and test juk0de 2023-09-02 10:19:14 +0200
  • d35de86c67 message: fixed Answer header for TXT format juk0de 2023-09-02 10:00:08 +0200
  • aba3eb783d message: improved robustness of Question and Answer content checks and tests juk0de 2023-09-01 16:00:24 +0200
  • 8e63831701 chat: added clear_cache() function and test juk0de 2023-09-02 09:19:47 +0200
  • c318b99671 chat: improved history printing juk0de 2023-09-02 08:18:41 +0200
  • 48c8e951e1 chat: fixed handling of unsupported files in DB and chache dir juk0de 2023-09-01 12:44:27 +0200
  • b22a4b07ed chat: added tags_frequency() function and test juk0de 2023-09-01 12:35:32 +0200
  • 33565d351d configuration: added AIConfig class juk0de 2023-09-01 09:07:58 +0200
  • 6737fa98c7 added tokens() function to Message and Chat juk0de 2023-09-01 08:57:54 +0200
  • 815a21893c added tests for 'chat.py' juk0de 2023-08-28 14:24:24 +0200
  • 64893949a4 added new module 'chat.py' juk0de 2023-08-24 16:49:54 +0200
  • a093f9b867 tags: some clarification and new tests juk0de 2023-08-31 15:47:29 +0200
  • dc3f3dc168 added 'message_in()' function and test juk0de 2023-08-31 09:19:38 +0200
  • 74c39070d6 fixed Message.filter_tags juk0de 2023-08-30 08:20:25 +0200
  • fde0ae4652 fixed test case file cleanup juk0de 2023-08-29 11:35:18 +0200
  • 238dbbee60 fixed handling empty tags in TXT file juk0de 2023-08-27 18:07:38 +0200
  • 17f7b2fb45 Added tags filtering (prefix and contained string) to TagLine and Message juk0de 2023-08-26 12:50:47 +0200
  • 9c2598a4b8 tests: added testcases for Message.from/to_file() and others juk0de 2023-08-20 19:59:38 +0200
  • acec5f1d55 tests: splitted 'test_main.py' into 3 modules juk0de 2023-08-20 08:46:03 +0200
  • c0f50bace5 gitignore: added vim session file juk0de 2023-08-21 08:29:48 +0200
  • 30ccec2462 tags: TagLine constructor now supports multiline taglines and multiple spaces juk0de 2023-08-19 08:30:24 +0200
  • 09da312657 configuration: added 'as_dict()' as an instance function juk0de 2023-08-19 08:04:41 +0200
  • 33567df15f added testcases for messages.py juk0de 2023-08-18 16:08:22 +0200
  • 264979a60d added new module 'message.py' juk0de 2023-08-18 16:07:50 +0200
  • 061e5f8682 tags.py: converted most TagLine functions to module functions juk0de 2023-08-18 12:11:56 +0200
  • 2d456e68f1 added testcases for Tag and TagLine classes juk0de 2023-08-17 08:28:15 +0200
  • 8bd659e888 added new module 'tags.py' with classes 'Tag' and 'TagLine' juk0de 2023-08-16 17:07:01 +0200
  • d4021eeb11 configuration: made 'default' AI ID optional juk0de 2023-09-11 07:38:49 +0200
  • c143c001f9 configuration: improved config file format juk0de 2023-09-10 08:37:06 +0200
  • 59b851650a question_cmd: when no tags are specified, no tags are selected juk0de 2023-09-10 08:25:33 +0200
  • 6f71a2ff69 message: to_file() now uses intermediate temporary file juk0de 2023-09-10 19:56:50 +0200
  • eca44b14cb message: fixed matching with empty tag sets juk0de 2023-09-10 08:24:20 +0200
  • b48667bfa0 openai: stores AI.ID instead of AI.name in message juk0de 2023-09-10 07:55:47 +0200
  • 533ee1c1a9 question_cmd: added message filtering by tags juk0de 2023-09-10 07:54:17 +0200
  • cf50818f28 question_cmd: fixed '--ask' command juk0de 2023-09-10 07:52:07 +0200
  • dd3d3ffc82 chat: added check for existing files when creating new filenames juk0de 2023-09-10 19:18:14 +0200
  • 1e3bfdd67f chat: added 'update_messages()' function and test juk0de 2023-09-10 07:39:00 +0200
  • 53582a7123 question_cmd: fixed source code extraction and added a testcase juk0de 2023-09-09 18:28:10 +0200
  • 39b518a8a6 Small fixes. Oleksandr Kozachuk 2023-09-09 16:05:27 +0200
  • d22877a0f1 Port print arguments -q/-a/-S from main to restructuring. Oleksandr Kozachuk 2023-09-09 15:38:40 +0200
  • 7cf62c54ef Allow in question -s for just sourcing file and -S to source file with ``` encapsulation. Oleksandr Kozachuk 2023-09-09 15:16:17 +0200
  • 3ef1339cc0 Fix extracting source file with type specification. Oleksandr Kozachuk 2023-09-09 11:53:32 +0200
  • 5fb5dde550 question cmd: added tests juk0de 2023-09-09 08:31:30 +0200
  • c0b7d17587 question_cmd: fixes juk0de 2023-09-09 08:51:17 +0200
  • 76f2373397 configuration: added tests juk0de 2023-09-08 10:40:22 +0200
  • eaa399bcb9 configuration et al: implemented new Config format juk0de 2023-09-06 22:52:03 +0200
  • b1a23394fc cmm: splitted commands into separate modules (and more cleanup) juk0de 2023-09-08 13:31:01 +0200
  • ed567afbea Make it possible to print just question or answer on printing files. Oleksandr Kozachuk 2023-09-08 15:54:29 +0200
  • 2df9dd6427 cmm: removed all the old code and modules juk0de 2023-09-08 09:43:23 +0200
  • 74a26b8c2f setup: added 'ais' subfolder juk0de 2023-09-08 09:23:29 +0200
  • 6e447018d5 Fix tags_completter. Oleksandr Kozachuk 2023-09-07 18:11:32 +0200
  • 893917e455 test_main: temporarily disabled all testcases juk0de 2023-09-06 22:12:05 +0200
  • ba5aa1fbc7 cmm: added 'question' command juk0de 2023-09-04 22:35:53 +0200
  • eb2fcba99d added new module 'ai_factory' juk0de 2023-09-05 23:24:20 +0200