Add targets in Web project

This allow to copy binaries and make the project work.

Update example model in appsettings
This commit is contained in:
SignalRT 2023-11-13 23:26:29 +01:00
parent e8f024a03a
commit 46ace3ddd7
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<Import Project="..\LLama\LLamaSharp.Runtime.targets" />
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<Nullable>disable</Nullable>

View File

@ -6,5 +6,5 @@
}
},
"AllowedHosts": "*",
"ModelPath": "..\\..\\LLamaModel\\ggml-model-f32-q4_0.bin"
"ModelPath": "..\\LLama.Unittest\\Models\\llama-2-7b-chat.Q4_0.gguf"
}