32 Commits

Author SHA1 Message Date
75314cd777 translation: speficied / implemented the question format for OpenAI based translations 2023-11-08 19:38:37 +01:00
44f7ebe365 translation: some small required refactoring 2023-11-08 18:20:22 +01:00
7b8ee56230 added new command 'translation' 2023-11-07 17:35:44 +01:00
Oleksandr Kozachuk
dbe72ff11c Activate and use OpenAI streaming API. 2023-10-21 14:21:48 +02:00
Oleksandr Kozachuk
2aee018708 Refactor message.Answer class in a way, that it can be constructed dynamically step by step, in preparation of using streaming API. 2023-10-20 13:43:31 +02:00
Oleksandr Kozachuk
114282dfd8 Add --glob and --location flags to hist and question commands, to be able to specify the location and files they should use. 2023-10-19 16:03:51 +02:00
Oleksandr Kozachuk
9b0951cb3f Change type msg_location to an Enum instead of Literal to be able to get all values easy and improve type checks. 2023-10-19 16:00:44 +02:00
3ea1f49027 cmm: added options '--tight' and '--no-paging' to the 'hist --print' cmd 2023-10-02 08:35:19 +02:00
8f56399844 cmm: replaced options '--with-tags' and '--with-file' with '--with-metadata' 2023-10-01 10:11:16 +02:00
e19c6bb1ea hist_cmd: added module 'test_hist_cmd.py' 2023-09-30 08:25:33 +02:00
811b2e6830 hist_cmd: implemented '--convert' option 2023-09-29 18:53:12 +02:00
efdb3cae2f question: moved around some code 2023-09-29 07:16:20 +02:00
6f3758e12e question_cmd: fixed '--create' option 2023-09-29 07:15:46 +02:00
b83b396c7b question_cmd: fixed msg specific argument creation 2023-09-23 08:11:11 +02:00
80c5dcc801 question_cmd: input tag options without a tag (e. g. '-t') now select ALL tags 2023-09-23 08:11:11 +02:00
0657a1bab8 question_cmd: fixed AI and model arguments when repeating messages 2023-09-22 13:43:31 +02:00
21f81f3569 question_cmd: implemented repetition of multiple messages 2023-09-22 13:43:31 +02:00
ed379ed535 print_cmd: added option to print latest message 2023-09-20 10:18:06 +02:00
561003aabe question_cmd: implemented repeating of the latest message 2023-09-20 10:17:59 +02:00
80a1457dd1 configuration: the cache folder can now be specified in the configuration file 2023-09-20 10:17:59 +02:00
98777295d6 refactor: renamed (almost) all Chat/ChatDB functions 2023-09-17 10:58:26 +02:00
17a0264025 question_cmd: now also accepts Messages as source files 2023-09-13 17:44:39 +02:00
Oleksandr Kozachuk
f96e82bdd7 Implement the config -l and config -m commands. 2023-09-12 16:34:17 +02:00
59b851650a question_cmd: when no tags are specified, no tags are selected 2023-09-10 19:57:06 +02:00
533ee1c1a9 question_cmd: added message filtering by tags 2023-09-10 19:18:44 +02:00
cf50818f28 question_cmd: fixed '--ask' command 2023-09-10 19:18:44 +02:00
53582a7123 question_cmd: fixed source code extraction and added a testcase 2023-09-10 19:14:11 +02:00
Oleksandr Kozachuk
39b518a8a6 Small fixes. 2023-09-09 16:05:27 +02:00
Oleksandr Kozachuk
d22877a0f1 Port print arguments -q/-a/-S from main to restructuring. 2023-09-09 15:38:40 +02:00
Oleksandr Kozachuk
7cf62c54ef Allow in question -s for just sourcing file and -S to source file with ``` encapsulation. 2023-09-09 15:16:17 +02:00
c0b7d17587 question_cmd: fixes 2023-09-09 08:51:44 +02:00
b1a23394fc cmm: splitted commands into separate modules (and more cleanup) 2023-09-09 08:31:45 +02:00