Commit Graph

57 Commits

Author SHA1 Message Date
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
078675386f Experiment with a much shorter default prompt template. 2023-05-03 12:19:14 -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
745a8c3ac5 Provide a confirm button for deletion of chats. 2023-05-02 12:36:21 -04:00
Adam Treat
60acc18625 Use different border colors if we're current or being edited. 2023-05-02 11:34:39 -04:00
Adam Treat
c217b7538a Generate names via llm. 2023-05-02 11:19:17 -04:00
Adam Treat
548e68ee0c Allow removing chats. 2023-05-01 20:56:53 -04:00
Adam Treat
d91dd567e2 Hot swapping of conversations. Destroys context for now. 2023-05-01 20:27:07 -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
869175bc06 Send optout for real and only once. 2023-04-29 11:05:44 -04:00
Adam Treat
264408f5bd Always hardcode. 2023-04-29 04:06:26 -04:00
Adam Treat
edbd48fe22 Require a direct choice for opt-in 2023-04-29 03:55:06 -04:00
Adam Treat
6bdd866b6d Always hardcode. 2023-04-28 22:46:01 -04:00
Adam Treat
90821b6581 Fixup. 2023-04-28 22:37:59 -04:00
Adam Treat
a018a3176e Set the folder when the browse opens 2023-04-28 22:24:59 -04:00
Adam Treat
49d55dd295 Don't delete symlink unless we're uninstalling. 2023-04-28 22:07:37 -04:00
Aaron Miller
c274a03fe7 use C locale for DoubleValidator
Closes https://github.com/nomic-ai/gpt4all-chat/issues/126
2023-04-28 20:45:40 -04:00
Adam Treat
812431f78d New startup dialog features. 2023-04-28 11:03:16 -04:00
Adam Treat
ac2aba313a Fix settings dialog to use onClosed handler. 2023-04-28 11:03:16 -04:00
Aaron Miller
d224d2a2f7 make download path in settings match dl dialog 2023-04-27 17:41:38 -04:00
Adam Treat
83f08b6c29 Small fix. 2023-04-27 16:45:24 -04:00
Adam Treat
a6679b18bd Have to be able to change the download path from the download dialog and other fixes. 2023-04-27 16:27:53 -04:00
Adam Treat
6f94c7e84b Provide a description and make the downloader cleaner and prettier. 2023-04-27 14:52:40 -04:00
Adam Treat
317a37a240 Eliminate binding loop. 2023-04-25 21:42:11 -04:00
Adam Treat
9a42c5f321 Spelling. 2023-04-25 16:33:01 -04:00
Aaron Miller
cea7b039f1 settings: remove color hardcode & tab radius, darken border 2023-04-25 16:24:55 -04:00
Aaron Miller
7253ab4686 tab UI fixes 2023-04-25 16:24:55 -04:00
Aaron Miller
3a1c72f26a use TextField onEditingFinished instead of onAccepted
this will save settings on defocus instead of only
on pressing enter

Closes https://github.com/nomic-ai/gpt4all/issues/440
2023-04-25 16:24:55 -04:00
Aaron Miller
aa20bafc91 new settings (model path, repeat penalty) w/ tabs 2023-04-25 16:24:55 -04:00
Adam Treat
b8b6137122 A new default prompt template. Seems to work well with the repeat penalty. 2023-04-25 12:37:14 -04:00
Adam Treat
b6937c39db Infinite context window through trimming. 2023-04-25 11:20:51 -04:00
Aaron Miller
6e92d93b53 persistent threadcount setting
threadcount is now on the Settings object and
gets reapplied after a model switch
2023-04-24 18:05:08 -04:00
Adam Treat
13c71bfa4a Make clear this is optional and bump the version. 2023-04-24 13:40:10 -04:00
Adam Treat
bd33548167 Guide the user in what we're looking for in terms of proper response. 2023-04-24 11:14:23 -04:00
Adam Treat
a956f59337 Fix link color and nomic name. 2023-04-24 01:15:12 -04:00
Adam Treat
0e831a5dbc Fixes for some theme issues on macOS. 2023-04-24 00:14:52 -04:00
Adam Treat
3c68b01034 Fix button theme. 2023-04-23 23:57:41 -04:00
Adam Treat
f355603d18 Use same basic theme throughout. 2023-04-23 23:56:33 -04:00
Adam Treat
b150e199b3 Small fixes. 2023-04-23 22:05:24 -04:00
Adam Treat
6f94d612d8 Use the regular font pixel size for now. 2023-04-23 21:11:55 -04:00
Adam Treat
35e7503571 Make the download use a temp file to save ram and make it threaded. 2023-04-23 19:43:20 -04:00
Adam Treat
29685b3eab Provide a non-priviledged place for model downloads when exe is installed to root. 2023-04-23 11:28:17 -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
fa1add3665 Hardcode more of the style to get around differences on OS. 2023-04-23 07:48:06 -04:00
Adam Treat
876f0537b4 Perform a health check on the datalake before we enable network. 2023-04-23 07:35:38 -04:00