Files
BeWoPlaner/Server/Components/AICore/Prompt/SystemPrompts/BaseSystemPromptBuilder.cs

26 lines
435 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2025-12-04 15:06:39 +01:00
namespace AICore.Prompt.SystemPrompts
{
2025-12-04 15:06:39 +01:00
public class BaseSystemPromptBuilder
{
2026-02-20 12:51:18 +01:00
public string Path { get; set; }
2026-02-20 12:51:18 +01:00
public BaseSystemPromptBuilder(string path)
{
2026-02-20 12:51:18 +01:00
Path = path;
}
2026-02-20 12:51:18 +01:00
protected string getCustomSystemPrompt()
{
2026-02-20 12:51:18 +01:00
var path = Path;
return File.ReadAllText(path);
}
}
}