新增托盘图标
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user