|
|
bf1cbff6a2
|
cmm: the 'print' command now uses 'Message.from_file()'
|
2023-09-06 08:23:09 +02:00 |
|
|
|
f93a57c00d
|
cmm: tags completion now uses 'Message.tags_from_dir' (fixes tag completion for me)
|
2023-09-06 08:23:09 +02:00 |
|
|
|
b0504aedbe
|
cmm: the 'hist' command now uses the new 'ChatDB'
|
2023-09-06 08:23:09 +02:00 |
|
|
|
eb0d97ddc8
|
cmm: the 'tags' command now uses the new 'ChatDB'
|
2023-09-06 08:23:09 +02:00 |
|
|
|
7e25a08d6e
|
chat: added functions for finding and deleting messages
|
2023-09-06 08:23:09 +02:00 |
|
|
|
63040b3688
|
message / chat: output improvements
|
2023-09-04 23:03:29 +02:00 |
|
|
|
6e2d5009c1
|
chat: new possibilites for adding messages and better tests
|
2023-09-04 08:58:08 +02:00 |
|
|
|
44cd1fab45
|
message: added rename_tags() function and test
|
2023-09-03 09:09:39 +02:00 |
|
|
|
4b0f40bccd
|
message: fixed Answer header for TXT format
|
2023-09-03 09:09:39 +02:00 |
|
|
|
fa292fb73a
|
message: improved robustness of Question and Answer content checks and tests
|
2023-09-03 09:09:39 +02:00 |
|
|
|
f9d749cdd8
|
chat: added clear_cache() function and test
|
2023-09-03 09:09:39 +02:00 |
|
|
|
ba56caf013
|
chat: improved history printing
|
2023-09-03 09:09:39 +02:00 |
|
|
|
d80c3962bd
|
chat: fixed handling of unsupported files in DB and chache dir
|
2023-09-03 09:09:39 +02:00 |
|
|
|
ddfe29b951
|
chat: added tags_frequency() function and test
|
2023-09-03 09:09:39 +02:00 |
|
|
|
d93598a74f
|
configuration: added AIConfig class
|
2023-09-03 09:09:39 +02:00 |
|
|
|
7f612bfc17
|
added tokens() function to Message and Chat
|
2023-09-02 07:45:44 +02:00 |
|
|
|
9f4897a5b8
|
added new module 'chat.py'
|
2023-09-02 07:45:44 +02:00 |
|
|
|
214a6919db
|
tags: some clarification and new tests
|
2023-08-31 15:47:58 +02:00 |
|
|
|
b83cbb719b
|
added 'message_in()' function and test
|
2023-08-31 09:21:51 +02:00 |
|
|
|
8e1cdee3bf
|
fixed Message.filter_tags
|
2023-08-30 08:22:50 +02:00 |
|
|
|
169f1bb458
|
fixed handling empty tags in TXT file
|
2023-08-28 14:53:04 +02:00 |
|
|
|
7f91a2b567
|
Added tags filtering (prefix and contained string) to TagLine and Message
|
2023-08-28 14:53:04 +02:00 |
|
|
|
580c86e948
|
tags: TagLine constructor now supports multiline taglines and multiple spaces
|
2023-08-26 19:22:15 +02:00 |
|
|
|
879831d7f5
|
configuration: added 'as_dict()' as an instance function
|
2023-08-26 19:22:15 +02:00 |
|
|
|
173a46a9b5
|
added new module 'message.py'
|
2023-08-26 10:52:38 +02:00 |
|
|
|
604e5ccf73
|
tags.py: converted most TagLine functions to module functions
|
2023-08-18 12:21:46 +02:00 |
|
|
|
b13a68836a
|
added new module 'tags.py' with classes 'Tag' and 'TagLine'
|
2023-08-18 12:21:46 +02:00 |
|
|
|
a5c91adc41
|
configuration: minor improvements / fixes
Could not extend the subclass of 'TypedDict' the way I wanted, so I switched to 'dataclass'.
|
2023-08-17 07:46:47 +02:00 |
|
Oleksandr Kozachuk
|
380b7c1b67
|
Python 3.9 compatibility.
|
2023-08-16 12:24:03 +02:00 |
|
|
|
ee8deed320
|
configuration: added validation
|
2023-08-16 11:15:47 +02:00 |
|
|
|
dc13213c4d
|
configuration is now a TypedDict in its own module
|
2023-08-16 08:14:41 +02:00 |
|
|
|
4303fb414f
|
added typ hints for all functions in 'main.py', 'utils.py', 'storage.py' and 'api_client.py'
|
2023-08-15 23:53:24 +02:00 |
|
|
|
a5075b14a0
|
added short aliases for subcommands
|
2023-08-13 08:41:59 +02:00 |
|
|
|
1e15a52e26
|
updated README and some minor renaming
|
2023-08-12 18:34:19 +02:00 |
|
|
|
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
|
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 |
|
|
|
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
|
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 |
|