Files

34 lines
752 B
C#
Raw Permalink Normal View History

2026-07-09 17:01:05 +02:00
using BS.Shared;
2026-05-26 12:30:29 +02:00
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
{
2026-05-27 15:34:53 +02:00
internal class BaseSystemPromptBuilder
{
2026-05-26 12:30:29 +02:00
public readonly static Dictionary<AiActionType, string> Translations = new Dictionary<AiActionType, string>
{
{AiActionType.ServiceRecord, "Zeiterfassung" },
{AiActionType.ServiceRecordConversation, "Zeiterfassung" },
{AiActionType.ServiceRecordDocumentation, "Zeiterfassung" },
};
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-07-09 17:01:05 +02:00
protected string getCustomSystemPrompt()
{
2026-02-20 12:51:18 +01:00
var path = Path;
return File.ReadAllText(path);
}
}
}