feat(Sentiment): update sentiment service

This commit is contained in:
2026-08-09 21:01:42 +02:00
parent aff831cf58
commit 05d55a324c
15 changed files with 1772 additions and 0 deletions
@@ -0,0 +1,23 @@
using System;
namespace FinlyticSentiment.Entities;
/// <summary>
/// Entity representing runtime operational settings for FinlyticSentiment stored in PostgreSQL.
/// </summary>
public class SentimentSettingsEntity
{
public Guid Id { get; set; } = Guid.NewGuid();
public double MinConfidenceScore { get; set; } = 0.70;
public int MaxBatchSize { get; set; } = 10;
public int SweepIntervalMinutes { get; set; } = 2;
public string GermanWebhookUrl { get; set; } = "https://n8n.kleidukos.me/webhook/sentiment/de";
public string EnglishWebhookUrl { get; set; } = "https://n8n.kleidukos.me/webhook/sentiment/en";
public DateTime UpdatedAt { get; set; } = DateTime.UtcNow;
}