Commit Graph

12 Commits

Author SHA1 Message Date
Scot McConnaughay 2abc2ecfca Fixed WebAPI
Upgraded to .NET8.0
Fixed logging (removed Console replaced with Ilogger)
Fixed warnings (Null Strings, etc).

The application now returns data from the back-end chat services.
2023-12-18 09:03:48 -07:00
Philipp Bauer 29c5c6e93c Update the StatefulChatService to use new ChatSession integration 2023-12-10 09:34:32 -06:00
Martin Evans 0f03e8f1a3 Added workaround to LLama.Web and LLama.WebAPI 2023-10-03 21:08:31 +01:00
Martin Evans 3f80190f85 Minimal changes required to remove non-async inference. 2023-09-14 21:04:14 +01:00
Martin Evans 29df14cd9c Converted ModelParams into a `record` class. This has several advantages:
- Equality, hashing etc all implemented automatically
 - Default values are defined in just one place (the properties) instead of the constructor as well
 - Added test to ensure that serialization works properly
2023-08-23 00:58:25 +01:00
Martin Evans f3511e390f WIP demonstrating changes to support multi-context. You can see this in use in `TalkToYourself`, along with notes on what still needs improving.
The biggest single change is renaming `LLamaModel` to `LLamaContext`
2023-08-13 01:10:08 +01:00
xbotter a074385568
add stream example 2023-06-24 19:59:20 +08:00
xbotter 16f2cb9c4e
add history chat example 2023-06-24 19:43:32 +08:00
xbotter 2fe4ccfb58
update webapi example 2023-06-24 19:05:02 +08:00
Yaohui Liu 5679e08718
feat: add ILLamaExecutor.InferAsync. 2023-06-11 05:44:21 +08:00
Yaohui Liu aaa0cba9f8
test: update the examples after refactoring. 2023-06-10 18:54:26 +08:00
Haiping Chen 21c36cbf80 Added WebAPI. 2023-05-11 21:45:34 -05:00