feat(sentiment): dynamic settings, IFinlyticLogger, live log streaming, and EF migration
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user