205 Commits

Author SHA1 Message Date
22bebc16ed fixed min nr of expected arguments 2023-08-12 14:16:16 +02:00
f7ba0c000f renamed 'model' command to 'config' 2023-08-12 14:16:16 +02:00
Oleksandr Kozachuk
b6eb7d9af8 Fix autocompletion. 2023-08-12 13:58:15 +02:00
f371a6146e moved 'read_config' to storage.py and added 'write_config' 2023-08-12 13:55:39 +02:00
Oleksandr Kozachuk
6ed459be6f Fix tests. 2023-08-12 13:17:10 +02:00
Oleksandr Kozachuk
1fb9144192 Change REDAME.md with the new call semantics. 2023-08-12 12:44:13 +02:00
Oleksandr Kozachuk
4b2f634b79 Remove wrong comment and make it more readable. 2023-08-12 12:30:07 +02:00
Oleksandr Kozachuk
e4d055b900 Fix the max_tokens, temperature, and model setup. 2023-08-12 12:20:49 +02:00
bc5e6228a6 defined 'ConfigType' for configuration file type hinting 2023-08-12 10:21:09 +02:00
056bf4c6b5 fixed almost all tests 2023-08-12 09:51:13 +02:00
93a8b0081a main: cleanup 2023-08-12 09:50:54 +02:00
5119b3a874 fixed 'ask' command 2023-08-12 08:28:07 +02:00
5a435c5f8f fixed 'tag' and 'hist' commands 2023-08-12 08:20:00 +02:00
f90e7bcd47 fixed 'hist' command and simplified reading the config file 2023-08-12 08:13:31 +02:00
6406d2f5b5 started to implement sub-commands 2023-08-11 18:27:33 +02:00
Oleksandr Kozachuk
df91ca863a Fix the supported python version in README.md and set it to 3.9, also add some classifiers. 2023-08-11 11:03:04 +02:00
Oleksandr Kozachuk
bc9baff0dc Add official repository URL. 2023-08-10 11:29:54 +02:00
juk0de
7a92ebe539
README: Added 'Contributing' section 2023-08-10 08:26:27 +02:00
Oleksandr Kozachuk
9b6b13993c Output the tag list sorted alphabetically. 2023-08-05 23:07:39 +02:00
Oleksandr Kozachuk
c5c4a6628f Allow character ":" in tags. 2023-08-05 21:00:30 +02:00
f8ed0e3636 tags are now separated by ' ' (old format is still readable) 2023-08-05 18:02:03 +02:00
Oleksandr Kozachuk
caf5244d52 Add action -L to list all available models 2023-08-05 16:04:25 +02:00
Oleksandr Kozachuk
ca3a53e68b Fix backwards compatibility of -W flag. 2023-08-05 15:35:27 +02:00
Oleksandr Kozachuk
820d938060 Fix tests for Python 3.10. 2023-08-05 14:42:38 +02:00
Oleksandr Kozachuk
8bb2a002a6 Fixed tests. 2023-08-05 13:21:17 +02:00
Oleksandr Kozachuk
01de75bef3 Improve -l output. 2023-08-05 12:39:46 +02:00
Oleksandr Kozachuk
1bb553b223 Merge branch 'main' of stage.fjerkroa.no:ok/ChatMastermind 2023-08-05 12:36:13 +02:00
Oleksandr Kozachuk
bb8aa2f817 Fix read_file declaration. 2023-08-05 12:36:04 +02:00
OK
0d31b88567 Merge pull request 'Changes from https://github.com/juk0de/ChatMastermind.git' (#2) from juk into main
Reviewed-on: https://stage.fjerkroa.no/gitea/ok/ChatMastermind/pulls/2
2023-08-05 12:30:24 +02:00
Oleksandr Kozachuk
b234bc25ea Changes from https://github.com/juk0de/ChatMastermind.git 2023-08-05 12:24:53 +02:00
Oleksandr Kozachuk
a5d527bc01 Remove app for now. 2023-08-05 12:22:05 +02:00
Oleksandr Kozachuk
9dde163a3c Temporary stuff. 2023-08-05 12:21:30 +02:00
8e4a02b932 added option '-a' to match all tags when selecting chat history entries 2023-08-05 11:41:36 +02:00
5d55bed0ec added option '-l' to list all tags and their frequency 2023-08-05 11:16:06 +02:00
32bd17594b Added option '-W' to print chat history with filenames 2023-08-05 08:09:35 +02:00
b57d78a875 added option '-w' to print chat history with tags 2023-08-04 22:24:30 +02:00
Oleksandr Kozachuk
bcfb41917a Add App. 2023-06-26 17:53:16 +02:00
Oleksandr Kozachuk
648d7b35cc Merge branch 'main' of fstage:ok/ChatMastermind 2023-05-08 13:59:42 +02:00
Oleksandr Kozachuk
6ae0e7d084 Improve handling of printing source code only output. 2023-05-07 16:32:24 +02:00
Oleksandr Kozachuk
e0fac306cb Change default number of answers to 1 2023-05-07 15:01:48 +02:00
Oleksandr Kozachuk
63a202376d Optimize tags retrival in TXT files. 2023-05-07 14:43:56 +02:00
Oleksandr Kozachuk
c5fd466dda Change storage to use text format per default, instead of yaml, but still support yaml. 2023-05-07 14:31:17 +02:00
Oleksandr Kozachuk
57caba5360 Ignore noweb for now. 2023-05-07 14:02:19 +02:00
Oleksandr Kozachuk
df2f5e01a5 Fix handling of -q and -s, add pre-commit checks. 2023-04-19 15:28:19 +02:00
Oleksandr Kozachuk
ad10af8f4f Improve source code extraction 2023-04-08 11:32:29 +02:00
Oleksandr Kozachuk
eed180e7a6 Add possibility to print just the source code 2023-04-07 23:42:26 +02:00
Oleksandr Kozachuk
16f059920b Name files with autogenerated numbers 2023-04-07 21:55:47 +02:00
Oleksandr Kozachuk
4375b6aafd Small change 2023-04-07 18:02:36 +02:00
Oleksandr Kozachuk
eb1aec6d42 Add db to .gitignore 2023-04-07 17:59:46 +02:00
Oleksandr Kozachuk
1dd9adbba2 Remove initial db directory. 2023-04-07 17:58:58 +02:00