|
|
cf4ce1081d
|
cmm: the 'tag' command now uses the new 'ChatDB'
|
2023-09-01 12:46:23 +02:00 |
|
|
|
168c1f0f65
|
chat: fixed handling of unsupported files in DB and chache dir
|
2023-09-01 12:44:27 +02:00 |
|
|
|
e922ab38bd
|
chat: added tags_frequency() function and test
|
2023-09-01 12:35:32 +02:00 |
|
|
|
94a5b50247
|
added new module 'openai.py'
|
2023-09-01 10:19:11 +02:00 |
|
|
|
05ae13c147
|
added new module 'ai.py'
|
2023-09-01 09:08:36 +02:00 |
|
|
|
86663e072e
|
configuration: added AIConfig class
|
2023-09-01 09:08:36 +02:00 |
|
|
|
4f11d78f37
|
added tokens() function to Message and Chat
|
2023-09-01 09:01:09 +02:00 |
|
|
|
60583a27b2
|
added tests for 'chat.py'
|
2023-08-31 15:47:58 +02:00 |
|
|
|
d438ba86c6
|
added new module 'chat.py'
|
2023-08-31 15:47:58 +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 |
|
|
|
73d2a9ea3b
|
fixed test case file cleanup
|
2023-08-29 11:36:01 +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 |
|
|
|
fc1b8006a0
|
tests: added testcases for Message.from/to_file() and others
|
2023-08-26 19:22:15 +02:00 |
|
|
|
aa89270876
|
tests: splitted 'test_main.py' into 3 modules
|
2023-08-26 19:22:15 +02:00 |
|
|
|
0d6a6dd604
|
gitignore: added vim session file
|
2023-08-26 19:22:15 +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 |
|
|
|
dfc1261931
|
added testcases for messages.py
|
2023-08-26 19:22:10 +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 |
|
|
|
ef46f5efc9
|
added testcases for Tag and TagLine classes
|
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 |
|
|
|
e8343fde01
|
test_main: added type annotations and a helper class / function
|
2023-08-16 11:15:48 +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 |
|
|
|
ba41794f4e
|
mypy: added 'disallow_untyped_defs = True'
|
2023-08-15 09:47:58 +02:00 |
|
|
|
a5075b14a0
|
added short aliases for subcommands
|
2023-08-13 08:41:59 +02:00 |
|
|
|
e8eba0b755
|
Merge pull request 'Using subcommands instead of arguments' (#2) from subcommands into main
Reviewed-on: #2
|
2023-08-12 21:37:05 +02:00 |
|
|
|
1e15a52e26
|
updated README and some minor renaming
|
2023-08-12 18:34:19 +02:00 |
|
|
|
c4a7c07a0c
|
fixed tests
|
2023-08-12 14:16:16 +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
|
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 |
|