25 lines
475 B
C#
25 lines
475 B
C#
using System.IO;
|
|
|
|
namespace Szmedi.RvKits.LLMScript
|
|
{
|
|
public class PromptManager
|
|
{
|
|
private readonly string _systemPrompt;
|
|
|
|
public PromptManager(string promptPath)
|
|
{
|
|
_systemPrompt = File.ReadAllText(promptPath);
|
|
}
|
|
|
|
public string GetSystemPrompt()
|
|
{
|
|
return _systemPrompt;
|
|
}
|
|
|
|
public string BuildUserPrompt(string task)
|
|
{
|
|
return task.Trim();
|
|
}
|
|
}
|
|
}
|