LLamaSharp/LLama.Examples
Martin Evans ccc49eb1e0
BatchedExecutor Save/Load (#681)
* Added the ability to save and load individual conversations in a batched executor.
 - New example
 - Added `BatchedExecutor.Load(filepath)` method
 - Added `Conversation.Save(filepath)` method
 - Added new (currently internal) `SaveState`/`LoadState` methods in LLamaContext which can stash some extra binary data in the header

* Added ability to save/load a `Conversation` to an in-memory state, instead of to file.

* Moved the new save/load methods out to an extension class specifically for the batched executor.

* Removed unnecessary spaces
2024-04-23 15:46:56 +01:00
..
Assets Delete default prompt 2024-03-26 23:19:32 +01:00
Examples BatchedExecutor Save/Load (#681) 2024-04-23 15:46:56 +01:00
Extensions Moved spinner out to an extension, so it can easily be used in other examples 2023-09-24 19:24:52 +01:00
ExampleRunner.cs BatchedExecutor Save/Load (#681) 2024-04-23 15:46:56 +01:00
LLama.Examples.csproj Added Whisper.net x LLamaSharp examples for Speech Detection and Speech Chat 2024-04-07 18:58:27 +03:00
Program.cs Logging interceptor (#649) 2024-04-05 16:42:27 +01:00
UserSettings.cs Example InteractiveExecutor 2024-03-26 23:19:32 +01:00