Commit Graph

81 Commits

Author SHA1 Message Date
Adam Treat
06bb6960d4 Add about dialog. 2023-05-05 10:47:05 -04:00
Adam Treat
f291853e51 First attempt at providing a persistent chat list experience.
Limitations:

1) Context is not restored for gpt-j models
2) When you switch between different model types in an existing chat
   the context and all the conversation is lost
3) The settings are not chat or conversation specific
4) The sizes of the chat persisted files are very large due to how much
   data the llama.cpp backend tries to persist. Need to investigate how
   we can shrink this.
2023-05-04 15:31:41 -04:00
Adam Treat
01accf9e33 Don't exceed the window size for dialogs. 2023-05-03 08:37:45 -04:00
Adam Treat
0f70289ba4 Changes the datalake feature so all conversations are captured when opted-in. 2023-05-03 07:54:45 -04:00
Adam Treat
4a09f0f0ec More extensive usage stats to help diagnose errors and problems in the ui. 2023-05-02 20:31:17 -04:00
Adam Treat
21dc522200 Don't block the GUI when reloading via combobox. 2023-05-02 15:02:25 -04:00
Adam Treat
a48226613c Turn the chat list into a model. 2023-05-01 17:13:20 -04:00
Adam Treat
8f80f8e3a2 Break out the drawer into own component. 2023-05-01 13:51:46 -04:00
Adam Treat
6e6b96375d Handle the fwd of important signals from LLM object so qml doesn't have to deal with which chat is current. 2023-05-01 12:41:03 -04:00
Adam Treat
c0d4a9d426 Continue to shrink the API space for qml and the backend. 2023-05-01 12:30:54 -04:00
Adam Treat
ed59190e48 Consolidate these into single api from qml to backend. 2023-05-01 12:24:51 -04:00
Adam Treat
4d87c46948 Major refactor in prep for multiple conversations. 2023-05-01 09:10:05 -04:00
Adam Treat
e005ab8c0a Move the reset and id into the chat object. 2023-04-30 21:05:54 -04:00
Adam Treat
d1e3198b65 Add new C++ version of the chat model. Getting ready for chat history. 2023-04-30 20:28:43 -04:00
Adam Treat
b3a0bd158c Fix bug with startup order and new logos. 2023-04-28 14:11:18 -04:00
Adam Treat
43eef81ca8 New startup dialog features. 2023-04-28 11:03:16 -04:00
Adam Treat
97baf3d486 Make the input area wrap automatically. 2023-04-27 11:54:53 -04:00
Adam Treat
db3acf9980 Silence warning. 2023-04-27 11:44:41 -04:00
Adam Treat
d16306a205 Actually fix. 2023-04-25 22:49:23 -04:00
Adam Treat
704ce45a39 Remember to stringify the new response too. 2023-04-25 22:47:01 -04:00
Adam Treat
2e0c9e4e13 Fix problem with datalake ingest when the response contains json forbidden chars that are not properly escaped. 2023-04-25 22:17:44 -04:00
Adam Treat
73715075c9 Don't display button when no context. 2023-04-25 21:20:56 -04:00
Aaron Miller
15a979b327 new settings (model path, repeat penalty) w/ tabs 2023-04-25 16:24:55 -04:00
Adam Treat
b8b254cd9c Fix the send message only when enter has been pressed or the send icon has been clicked. 2023-04-25 12:13:17 -04:00
Adam Treat
cf8a4dd868 Infinite context window through trimming. 2023-04-25 11:20:51 -04:00
Adam Treat
78df869dc4 Whitespace only. 2023-04-24 11:32:26 -04:00
Adam Treat
4b7d6171cd Shrink the drawer button to fit with everything else. 2023-04-24 11:31:54 -04:00
Adam Treat
70f0e86bec Fix link color and nomic name. 2023-04-24 01:15:12 -04:00
Adam Treat
a4126d4863 Make network button consistent. 2023-04-24 00:31:39 -04:00
Adam Treat
2d67b9691d Fix regenerate. 2023-04-24 00:27:45 -04:00
Adam Treat
90dce85c09 Scooch the tool buttons a bit. 2023-04-24 00:25:57 -04:00
Adam Treat
7369ba6b48 Shrink the combo a bit. 2023-04-24 00:22:31 -04:00
Adam Treat
c40f0d9f28 Shrink the icons a bit. 2023-04-24 00:20:21 -04:00
Adam Treat
fc34d1d3b2 Update the datalake support. 2023-04-23 21:05:38 -04:00
Adam Treat
73df702abe Make font size themeable. 2023-04-23 11:23:02 -04:00
Adam Treat
e06cff8b48 Consolidate all colors to a central theme object. 2023-04-23 09:42:35 -04:00
Adam Treat
652e00ea15 Hardcode the color/style for combobox popup. 2023-04-23 08:04:27 -04:00
Adam Treat
3ef96b3ec5 Perform a health check on the datalake before we enable network. 2023-04-23 07:35:38 -04:00
Adam Treat
c366fc8054 Move the popup dialog into own file and disable network for now. 2023-04-23 07:05:43 -04:00
Adam Treat
889d7d8563 Move settings dialog into own file. 2023-04-23 06:58:07 -04:00
Adam Treat
1f65e381ee New thumbs up/down support for gpt4all-datalake. 2023-04-22 22:09:14 -04:00
Adam Treat
3e7cf346d6 Restore basic functionality. 2023-04-21 09:56:06 -04:00
Adam Treat
670bbe4db5 Make the settings dialog persist across sessions. 2023-04-21 08:23:39 -04:00
Adam Treat
65abaa19e5 Fix warning and update llama.cpp submodule to latest. 2023-04-20 13:27:11 -04:00
Adam Treat
cd5f525950 Add multi-line prompt support. 2023-04-20 08:31:33 -04:00
Adam Treat
55084333a9 Add llama.cpp support for loading llama based models in the gui. We now
support loading both gptj derived models and llama derived models.
2023-04-20 06:19:09 -04:00
Aaron Miller
f1b87d0b56 Add thread count setting 2023-04-19 08:33:13 -04:00
Adam Treat
e6cb6a2ae3 Add a new model download feature. 2023-04-18 21:10:06 -04:00
Adam Treat
1eda8f030e Allow unloading/loading/changing of models. 2023-04-18 11:42:38 -04:00
Aaron Miller
3a82a1d96c remove fill color for prompt template box 2023-04-18 08:47:37 -04:00