Files
Finlytic/FinlyticSentiment/Util/SettingKeys.cs
T

24 lines
1.4 KiB
C#

using FinlyticCore.Models.Settings;
namespace FinlyticSentiment.Util;
public static class SettingKeys
{
// --- Logging-Kanäle ---
public static readonly SettingKey<bool> SentimentChannel = new("Logging.Channel.Sentiment", true);
public static readonly SettingKey<bool> MqttChannel = new("Logging.Channel.MQTT", true);
public static readonly SettingKey<bool> HealthPingChannel = new("Logging.Channel.Health", true);
// --- FinBERT & Modell-Parameter ---
public static readonly SettingKey<int> MaxBatchSize = new("FinBert.MaxBatchSize", 10);
public static readonly SettingKey<double> MinimumConfidenceThreshold = new("FinBert.MinConfidenceThreshold", 0.60);
public static readonly SettingKey<int> TimeoutSeconds = new("FinBert.TimeoutSeconds", 30);
public static readonly SettingKey<int> SentimentWindowDays = new("Sentiment.WindowDays", 14);
public static readonly SettingKey<double> DecayFactorPerDay = new("Sentiment.DecayFactorPerDay", 0.90);
public static readonly SettingKey<bool> EnableAutoSummarization = new("Feature.EnableAutoSummarization", true);
// --- N8N / Webhook-Konfiguration ---
public static readonly SettingKey<string> GermanWebhookUrl = new("N8N.GermanWebhookUrl", "https://n8n.kleidukos.me/webhook/sentiment/de");
public static readonly SettingKey<string> EnglishWebhookUrl = new("N8N.EnglishWebhookUrl", "https://n8n.kleidukos.me/webhook/sentiment/en");
}