optimize ux and set new maxhchunk val

This commit is contained in:
team 1
2026-04-13 18:25:05 +02:00
parent f7685c6fb5
commit c23cfc664f
3 changed files with 8 additions and 7 deletions

View File

@@ -15,8 +15,8 @@ use Symfony\Component\Uid\Uuid;
final readonly class IngestFlow final readonly class IngestFlow
{ {
public const CHUNK_LIMIT_HARD = 120000; public const CHUNK_LIMIT_HARD = 25000;
private const CHUNK_LIMIT_WARN = 100000; private const CHUNK_LIMIT_WARN = 20000;
public function __construct( public function __construct(
private KnowledgeIngestService $knowledgeIngestService, private KnowledgeIngestService $knowledgeIngestService,

View File

@@ -83,7 +83,7 @@
</div> </div>
{# ================= KNOWLEDGE CAPACITY ================= #} {# ================= KNOWLEDGE CAPACITY ================= #}
{% set percent = chunkLimit > 0 ? (chunkCount / chunkLimit * 100)|round(1) : 0 %} {% set percent = chunkLimit > 0 ? (chunkCount / chunkLimit * 100)|round(3) : 0 %}
<div class="col-lg-6 col-xl-3"> <div class="col-lg-6 col-xl-3">
<div class="card bg-black border-secondary text-light h-100"> <div class="card bg-black border-secondary text-light h-100">
@@ -93,7 +93,7 @@
<h4 class="mb-2"> <h4 class="mb-2">
{{ chunkCount|number_format(0, ',', '.') }} {{ chunkCount|number_format(0, ',', '.') }}
<span class="text-secondary small"> <span class="text-secondary small">
/ {{ chunkLimit|number_format(0, ',', '.') }} / {{ chunkLimit|number_format(0, ',', '.') }} Chunks
</span> </span>
</h4> </h4>

View File

@@ -10,9 +10,10 @@
<div class="card bg-black border-secondary text-info"> <div class="card bg-black border-secondary text-info">
<div class="card-body"> <div class="card-body">
<h1 class="h4 mb-4 text-center text-info"> <h1 class="h3 mb-2 text-center text-info">
Heyl-Neomeris KI/RAG Login Heyl Neomeris
</h1> </h1>
<h2 class="h6 mb-2 mt-1 text-center text-info">KI/RAG System-Login</h2>
{% if error %} {% if error %}
<div class="alert alert-danger"> <div class="alert alert-danger">
@@ -64,7 +65,7 @@
</div> </div>
<div class="text-center mt-3 small text-secondary"> <div class="text-center mt-3 small text-secondary">
Zugriff nur für autorisierte Administratoren. Zugriff nur für autorisierte Personen.
</div> </div>
</div> </div>