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

26 lines
435 B
C#

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AICore.Prompt.SystemPrompts
{
public class BaseSystemPromptBuilder
{
public string Path { get; set; }
public BaseSystemPromptBuilder(string path)
{
Path = path;
}
protected string getCustomSystemPrompt()
{
var path = Path;
return File.ReadAllText(path);
}
}
}