Final
This commit is contained in:
@@ -124,16 +124,6 @@
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Prompt\SystemPrompts\system_prompt3.txt" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\Shared\Shared.csproj">
|
||||
<Project>{2f50b83d-a3f0-4ec4-979a-3f9b7e3d8ed4}</Project>
|
||||
<Name>Shared</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ServerUtils\ServerUtils.csproj">
|
||||
<Project>{ec2349fb-7fe0-4ad1-b28b-a7a27af80a57}</Project>
|
||||
<Name>ServerUtils</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Prompt\Factories\" />
|
||||
</ItemGroup>
|
||||
@@ -141,5 +131,15 @@
|
||||
<None Include="app.config" />
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\Shared\Shared.csproj">
|
||||
<Project>{2F50B83D-A3F0-4EC4-979A-3F9B7E3D8ED4}</Project>
|
||||
<Name>Shared</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ServerUtils\ServerUtils.csproj">
|
||||
<Project>{EC2349FB-7FE0-4AD1-B28B-A7A27AF80A57}</Project>
|
||||
<Name>ServerUtils</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
@@ -10,7 +10,7 @@ namespace BeWo.Service
|
||||
public enum WebConfigSetting
|
||||
{
|
||||
OpenWebUIUrl,
|
||||
OllamaWebUIUrl,
|
||||
OllamaUrl,
|
||||
XRechnungApiUrl,
|
||||
StoredFilesFolderPath,
|
||||
StoredTenantFilesFolderPath,
|
||||
@@ -27,7 +27,7 @@ namespace BeWo.Service
|
||||
{
|
||||
None = -1,
|
||||
OpenWebUIKey,
|
||||
OllamaWebUIKey,
|
||||
OllamaKey,
|
||||
GetGkvSumApiKey,
|
||||
DownloadReportApiKey,
|
||||
OpenrouteServiceApiKey,
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace BeWo.Service.ServiceProxy
|
||||
private static readonly Lazy<OpenWebApiClient> _OpenWebApiClient = new Lazy<OpenWebApiClient>(()
|
||||
=> new OpenWebApiClient(MergedConfig.GetSetting(WebConfigSetting.OpenWebUIUrl), MergedConfig.GetSecretSetting(WebSecretConfigSetting.OpenWebUIKey)));
|
||||
private static readonly Lazy<OllamaApiClient> _OllamaApiClient = new Lazy<OllamaApiClient>(()
|
||||
=> new OllamaApiClient(MergedConfig.GetSetting(WebConfigSetting.OllamaWebUIUrl), MergedConfig.GetSecretSetting(WebSecretConfigSetting.OllamaWebUIKey)));
|
||||
=> new OllamaApiClient(MergedConfig.GetSetting(WebConfigSetting.OllamaUrl), MergedConfig.GetSecretSetting(WebSecretConfigSetting.OllamaKey)));
|
||||
private static readonly Lazy<XRechnungApiClient> _XRechnungFacade = new Lazy<XRechnungApiClient>(() => new XRechnungApiClient());
|
||||
|
||||
public static OpenWebApiClient OpenWebApiClient => _OpenWebApiClient.Value;
|
||||
|
||||
Reference in New Issue
Block a user