using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AICore.Prompt.SystemInstruction { public class BaseSystemInstructionBuilder { public string SystemPromptFolderPath { get; set; } public BaseSystemInstructionBuilder(string systemPromptFolderPath) { SystemPromptFolderPath = systemPromptFolderPath; } protected string getCustomSystemPrompt(string file) { var systemPrompts = SystemPromptFolderPath; var path = Path.Combine(systemPrompts, file); return File.ReadAllText(path); } } }