Commit Graph

9 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
9a65f73392 Move the promptCallback to own function. 2023-04-27 11:08:15 -04:00
Adam Treat
ebf660d2bd Provide an initial impl. of the C interface. NOTE: has not been tested. 2023-04-27 09:43:24 -04:00
Adam Treat
ebc51b3e8d Clean up the docs a bit more still. 2023-04-26 08:22:38 -04:00
Adam Treat
ae7ca04408 Clean up the docs a bit more. 2023-04-26 08:22:38 -04:00
Adam Treat
4e5c4927fc Clean up the docs a bit. 2023-04-26 08:22:38 -04:00
Adam Treat
04190e6107 Only need one opaque pointer. 2023-04-26 08:22:38 -04:00
Adam Treat
d86b441c5d Fixup the api a bit. 2023-04-26 08:22:38 -04:00
Adam Treat
4b47478626 Move the backend code into own subdirectory and make it a shared library. Begin fleshing out the C api wrapper that bindings can use. 2023-04-26 08:22:38 -04:00