From c23cfc664f6b8eb6262b0fcafa98f52e62ca887c Mon Sep 17 00:00:00 2001 From: team 1 Date: Mon, 13 Apr 2026 18:25:05 +0200 Subject: [PATCH] optimize ux and set new maxhchunk val --- src/Ingest/IngestFlow.php | 4 ++-- templates/admin/dashboard/index.html.twig | 4 ++-- templates/admin/security/login.html.twig | 7 ++++--- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/Ingest/IngestFlow.php b/src/Ingest/IngestFlow.php index 25d76e7..ef2734e 100644 --- a/src/Ingest/IngestFlow.php +++ b/src/Ingest/IngestFlow.php @@ -15,8 +15,8 @@ use Symfony\Component\Uid\Uuid; final readonly class IngestFlow { - public const CHUNK_LIMIT_HARD = 120000; - private const CHUNK_LIMIT_WARN = 100000; + public const CHUNK_LIMIT_HARD = 25000; + private const CHUNK_LIMIT_WARN = 20000; public function __construct( private KnowledgeIngestService $knowledgeIngestService, diff --git a/templates/admin/dashboard/index.html.twig b/templates/admin/dashboard/index.html.twig index ae37501..cf63378 100644 --- a/templates/admin/dashboard/index.html.twig +++ b/templates/admin/dashboard/index.html.twig @@ -83,7 +83,7 @@ {# ================= KNOWLEDGE CAPACITY ================= #} - {% set percent = chunkLimit > 0 ? (chunkCount / chunkLimit * 100)|round(1) : 0 %} + {% set percent = chunkLimit > 0 ? (chunkCount / chunkLimit * 100)|round(3) : 0 %}
@@ -93,7 +93,7 @@

{{ chunkCount|number_format(0, ',', '.') }} - / {{ chunkLimit|number_format(0, ',', '.') }} + / {{ chunkLimit|number_format(0, ',', '.') }} Chunks

diff --git a/templates/admin/security/login.html.twig b/templates/admin/security/login.html.twig index e7704fe..04e0bea 100644 --- a/templates/admin/security/login.html.twig +++ b/templates/admin/security/login.html.twig @@ -10,9 +10,10 @@
-

- Heyl-Neomeris KI/RAG Login +

+ Heyl Neomeris

+

KI/RAG System-Login

{% if error %}
@@ -64,7 +65,7 @@
- Zugriff nur für autorisierte Administratoren. + Zugriff nur für autorisierte Personen.