2026-07-09 17:01:05 +02:00
|
|
|
|
using BS.Shared;
|
2026-05-26 12:30:29 +02:00
|
|
|
|
using System;
|
2025-11-28 14:54:24 +01:00
|
|
|
|
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
|
2025-11-28 14:54:24 +01:00
|
|
|
|
{
|
2026-05-27 15:34:53 +02:00
|
|
|
|
internal class BaseSystemPromptBuilder
|
2025-11-28 14:54:24 +01:00
|
|
|
|
{
|
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; }
|
2025-11-28 14:54:24 +01:00
|
|
|
|
|
2026-02-20 12:51:18 +01:00
|
|
|
|
public BaseSystemPromptBuilder(string path)
|
2025-11-28 14:54:24 +01:00
|
|
|
|
{
|
2026-02-20 12:51:18 +01:00
|
|
|
|
Path = path;
|
2025-11-28 14:54:24 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-07-09 17:01:05 +02:00
|
|
|
|
protected string getCustomSystemPrompt()
|
2025-11-28 14:54:24 +01:00
|
|
|
|
{
|
2026-02-20 12:51:18 +01:00
|
|
|
|
var path = Path;
|
2025-11-28 14:54:24 +01:00
|
|
|
|
return File.ReadAllText(path);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|