Auf internes Config System umgestiegen
This commit is contained in:
@@ -10,13 +10,6 @@ namespace BeWo.Service.Core
|
||||
{
|
||||
public static class BeWoServerPathHelper
|
||||
{
|
||||
/// <summary>
|
||||
/// Holt den Ordner, wo sich die systemPrompts befinden
|
||||
/// </summary>
|
||||
public static string GetAiSystemPromptPath()
|
||||
=> Path.Combine(getRoot(), "AI", "systemPrompts");
|
||||
|
||||
|
||||
public static string GetUniqueRequestLogFile()
|
||||
{
|
||||
var folder_path = Path.Combine(getLogRootPath(), "ai", "requests");
|
||||
|
||||
@@ -52,7 +52,11 @@ namespace BeWo.Service.Core
|
||||
case SpecialConfig.None:
|
||||
break;
|
||||
case SpecialConfig.AiConfig:
|
||||
return "ai.config.json";
|
||||
return Path.Combine("ai", "ai.config.json");
|
||||
case SpecialConfig.CustomFunctionPreSystemPrompt:
|
||||
return Path.Combine("ai", "systemPrompts", "customFunctionPreSystemPrompt.txt");
|
||||
case SpecialConfig.CustomPreSystemPrompt:
|
||||
return Path.Combine("ai", "systemPrompts", "customPreSystemPrompt.txt");
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user