24 lines
1.4 KiB
C#
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", 30);
|
|
public static readonly SettingKey<double> TimeDecayHalfLifeDays = new("Sentiment.TimeDecayHalfLifeDays", 7.0);
|
|
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");
|
|
}
|