20 lines
1.1 KiB
C#
20 lines
1.1 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);
|
|
}
|