Commit Graph

27 Commits

Author SHA1 Message Date
acx
c6efe1ce38 autoformatting 2023-03-02 18:07:57 +02:00
acx
364b15bf78 add history, system prompt, save and resend previous messages for gpt3.5turbo model 2023-03-02 18:06:18 +02:00
biaocy
3d96e6382c Add chat completion 2023-03-02 13:47:12 +08:00
acx
d7d0394b95 Add pipe mode, init prompt and prompt from file and as arguments 2023-02-27 00:13:25 +02:00
acx
bdd5effd7f Method extractions, snakecase everywhere, because ppl would think I haven't read Clean Code:p 2023-02-24 13:57:20 +02:00
axilleasx
32681c4c3d Finalise chat context, build cc in memory 2023-02-15 23:40:10 +02:00
acx
4bb0323d98 Change init prompt, keep chat context Q&A shorter than max tokens by removing first Q&A 2023-02-14 13:52:32 +02:00
acx
d936725fcd WIP: non working chat context 2023-02-14 01:30:39 +02:00
acx
e832b43b1b Formatting 2023-02-09 01:03:37 +02:00
acx
3885cc7a8c Add request parameters, temp, model, tokens, image size. Add default values 2023-02-09 01:01:26 +02:00
acx
b0400fc4ca Add colors to json response 2023-02-08 21:52:26 +02:00
acx
7a7434ffa0 Add model retrieval and complete view commands 2023-02-08 20:26:08 +02:00
acx
22d7e0d9ab Add error handling function for chat and image 2023-01-26 15:55:42 +02:00
acx
edf6b16f27 Change history file permissions 2023-01-26 14:16:42 +02:00
acx
c1557c0c19 Rename token to key 2023-01-26 13:21:56 +02:00
acx
27bdfe9721 add new line 2023-01-21 22:12:17 +02:00
acx
e6a0636200 cleanup 2023-01-21 21:39:12 +02:00
acx
3853e778a3 Add history, autoformatting on vscode 2023-01-21 21:36:20 +02:00
acx
d811f932e9 Format chat response for image 2023-01-13 16:40:28 +02:00
acx
fba8d9b82c Fix var name, add spacing for formatting 2023-01-13 16:12:31 +02:00
acx
52dbc660c3 Add image generation 2023-01-13 15:30:47 +02:00
acx
295544baf3 Remove awk, use sed to remove only two first lines and maintain response formatting 2023-01-12 13:53:31 +02:00
acx
91a374a7f5 Rename prompt variable 2023-01-12 12:36:44 +02:00
acx
2ddb5057a5 Escape quotation marks in prompt 2023-01-12 12:34:53 +02:00
acx
d90fa4f0bb is it a typo, if no one notices? 2023-01-07 20:08:09 +02:00
acx
c2368923dd Reduce max tokens 2022-12-15 16:47:39 +02:00
acx
0e2d40dd59 Add cli script 2022-12-14 17:49:48 +02:00