From 46ace3ddd7d98b98e0c2e95a20b72013b4e0889a Mon Sep 17 00:00:00 2001 From: SignalRT Date: Mon, 13 Nov 2023 23:26:29 +0100 Subject: [PATCH] Add targets in Web project This allow to copy binaries and make the project work. Update example model in appsettings --- LLama.Web/LLama.Web.csproj | 2 +- LLama.WebAPI/appsettings.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LLama.Web/LLama.Web.csproj b/LLama.Web/LLama.Web.csproj index 5a46c5e8..7e5bd9bd 100644 --- a/LLama.Web/LLama.Web.csproj +++ b/LLama.Web/LLama.Web.csproj @@ -1,5 +1,5 @@ - + net7.0 disable diff --git a/LLama.WebAPI/appsettings.json b/LLama.WebAPI/appsettings.json index 09cfdb13..f3e225ab 100644 --- a/LLama.WebAPI/appsettings.json +++ b/LLama.WebAPI/appsettings.json @@ -6,5 +6,5 @@ } }, "AllowedHosts": "*", - "ModelPath": "..\\..\\LLamaModel\\ggml-model-f32-q4_0.bin" + "ModelPath": "..\\LLama.Unittest\\Models\\llama-2-7b-chat.Q4_0.gguf" }