Commit Graph

81 Commits

Author SHA1 Message Date
Adam Treat
c2a81e5692 Add about dialog. 2023-05-05 10:47:05 -04:00
Adam Treat
01e582f15b 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
fec5093351 Don't exceed the window size for dialogs. 2023-05-03 08:37:45 -04:00
Adam Treat
005898b1bc Changes the datalake feature so all conversations are captured when opted-in. 2023-05-03 07:54:45 -04:00
Adam Treat
db094c5b92 More extensive usage stats to help diagnose errors and problems in the ui. 2023-05-02 20:31:17 -04:00
Adam Treat
a7c02a52ca Don't block the GUI when reloading via combobox. 2023-05-02 15:02:25 -04:00
Adam Treat
925ad70833 Turn the chat list into a model. 2023-05-01 17:13:20 -04:00
Adam Treat
1b1c3f6333 Break out the drawer into own component. 2023-05-01 13:51:46 -04:00
Adam Treat
482f543675 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
8b94a23253 Continue to shrink the API space for qml and the backend. 2023-05-01 12:30:54 -04:00
Adam Treat
385743b302 Consolidate these into single api from qml to backend. 2023-05-01 12:24:51 -04:00
Adam Treat
414a12c33d Major refactor in prep for multiple conversations. 2023-05-01 09:10:05 -04:00
Adam Treat
75c8bf28a1 Move the reset and id into the chat object. 2023-04-30 21:05:54 -04:00
Adam Treat
bbffa7364b Add new C++ version of the chat model. Getting ready for chat history. 2023-04-30 20:28:43 -04:00
Adam Treat
5aecb3c0e2 Fix bug with startup order and new logos. 2023-04-28 14:11:18 -04:00
Adam Treat
812431f78d New startup dialog features. 2023-04-28 11:03:16 -04:00
Adam Treat
83fb05345e Make the input area wrap automatically. 2023-04-27 11:54:53 -04:00
Adam Treat
80bcbcd137 Silence warning. 2023-04-27 11:44:41 -04:00
Adam Treat
52c4215b11 Actually fix. 2023-04-25 22:49:23 -04:00
Adam Treat
7f56275f4f Remember to stringify the new response too. 2023-04-25 22:47:01 -04:00
Adam Treat
e3ae98f975 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
a62e5edab1 Don't display button when no context. 2023-04-25 21:20:56 -04:00
Aaron Miller
aa20bafc91 new settings (model path, repeat penalty) w/ tabs 2023-04-25 16:24:55 -04:00
Adam Treat
70b06d5cf1 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
b6937c39db Infinite context window through trimming. 2023-04-25 11:20:51 -04:00
Adam Treat
654e0322b3 Whitespace only. 2023-04-24 11:32:26 -04:00
Adam Treat
a28c27da8a Shrink the drawer button to fit with everything else. 2023-04-24 11:31:54 -04:00
Adam Treat
a956f59337 Fix link color and nomic name. 2023-04-24 01:15:12 -04:00
Adam Treat
5079842714 Make network button consistent. 2023-04-24 00:31:39 -04:00
Adam Treat
c9eb7fd5e1 Fix regenerate. 2023-04-24 00:27:45 -04:00
Adam Treat
3cf9e40edb Scooch the tool buttons a bit. 2023-04-24 00:25:57 -04:00
Adam Treat
618555747d Shrink the combo a bit. 2023-04-24 00:22:31 -04:00
Adam Treat
5b7d3c4813 Shrink the icons a bit. 2023-04-24 00:20:21 -04:00
Adam Treat
ee7a14ec45 Update the datalake support. 2023-04-23 21:05:38 -04:00
Adam Treat
09c27f6ec4 Make font size themeable. 2023-04-23 11:23:02 -04:00
Adam Treat
2e6baace9d Consolidate all colors to a central theme object. 2023-04-23 09:42:35 -04:00
Adam Treat
a387785a6d Hardcode the color/style for combobox popup. 2023-04-23 08:04:27 -04:00
Adam Treat
876f0537b4 Perform a health check on the datalake before we enable network. 2023-04-23 07:35:38 -04:00
Adam Treat
42eec8b64c Move the popup dialog into own file and disable network for now. 2023-04-23 07:05:43 -04:00
Adam Treat
42e8f3faec Move settings dialog into own file. 2023-04-23 06:58:07 -04:00
Adam Treat
b8fcd406dc New thumbs up/down support for gpt4all-datalake. 2023-04-22 22:09:14 -04:00
Adam Treat
bb834ecde8 Restore basic functionality. 2023-04-21 09:56:06 -04:00
Adam Treat
7794b26e69 Make the settings dialog persist across sessions. 2023-04-21 08:23:39 -04:00
Adam Treat
4e06ed4f0a Fix warning and update llama.cpp submodule to latest. 2023-04-20 13:27:11 -04:00
Adam Treat
9c85a2ceb2 Add multi-line prompt support. 2023-04-20 08:31:33 -04:00
Adam Treat
71b308e914 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
00cb5fe2a5 Add thread count setting 2023-04-19 08:33:13 -04:00
Adam Treat
169afbdc80 Add a new model download feature. 2023-04-18 21:10:06 -04:00
Adam Treat
2b1cae5a7e Allow unloading/loading/changing of models. 2023-04-18 11:42:38 -04:00
Aaron Miller
8a4f7897f4 remove fill color for prompt template box 2023-04-18 08:47:37 -04:00