optimize gui
add help text sections
This commit is contained in:
@@ -15,17 +15,67 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{# ========================================================= #}
|
||||
{# MODEL CONFIG DESCRIPTION #}
|
||||
{# ========================================================= #}
|
||||
<div class="card bg-black border-secondary text-light mb-4 shadow-sm">
|
||||
<div class="card-body">
|
||||
|
||||
<h5 class="text-info mb-3">Was steuert die Modell-Konfiguration?</h5>
|
||||
|
||||
<p class="small text-light mb-3">
|
||||
Die Modell-Konfiguration definiert die vollständige
|
||||
Generierungsumgebung des Agents. Sie trennt strikt zwischen:
|
||||
</p>
|
||||
|
||||
<ul class="small text-light mb-3">
|
||||
<li>LLM-Verhalten (Sampling & Kontext)</li>
|
||||
<li>Retrieval-Parameter (Vektor-Wissen)</li>
|
||||
<li>Streaming-Modus</li>
|
||||
</ul>
|
||||
|
||||
<h6 class="text-info mt-3">LLM Sampling</h6>
|
||||
|
||||
<p class="small text-light mb-3">
|
||||
Parameter wie Temperature, TopK und TopP beeinflussen die
|
||||
kreative Varianz der Antwort. Repeat Penalty steuert Wiederholungen,
|
||||
während <code>numCtx</code> die maximale Kontextgröße des Modells festlegt.
|
||||
</p>
|
||||
|
||||
<h6 class="text-info mt-3">Retrieval Vector Wissen</h6>
|
||||
|
||||
<p class="small text-light mb-3">
|
||||
Retrieval-Parameter bestimmen, wie viele Chunks aus dem
|
||||
NDJSON-Vektorindex geladen werden und wie viele
|
||||
Top-K Kandidaten aus der FAISS-Suche berücksichtigt werden.
|
||||
Diese Werte beeinflussen die Wissensbreite der Antwort,
|
||||
nicht deren Kreativität.
|
||||
</p>
|
||||
|
||||
<h6 class="text-info mt-3">Architektur-Prinzip</h6>
|
||||
|
||||
<p class="small text-light mb-0">
|
||||
Das Retrieval ist deterministisch und vom LLM getrennt.
|
||||
Das Modell erhält ausschließlich die vorselektierten
|
||||
Chunks als Kontext. Änderungen hier verändern die
|
||||
Wissensbasis der Antwort — nicht den gespeicherten Index.
|
||||
Pro Modell kann genau eine Konfiguration aktiv sein.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card bg-black border-secondary">
|
||||
<div class="card-body p-0">
|
||||
|
||||
<table class="table table-dark table-striped table-hover align-middle mb-0">
|
||||
<thead class="table-secondary text-dark">
|
||||
<tr>
|
||||
<th>Modell</th>
|
||||
<th>Version</th>
|
||||
<th>Stream</th>
|
||||
<th>Sampling</th>
|
||||
<th class="text-warning">Retrieval</th>
|
||||
<th>LLM Modell</th>
|
||||
<th>Profil-Version</th>
|
||||
<th>Streaming</th>
|
||||
<th>LLM Sampling</th>
|
||||
<th class="text-warning">Retrieval Vector Wissen</th>
|
||||
<th>Status</th>
|
||||
<th class="text-end">Aktionen</th>
|
||||
</tr>
|
||||
@@ -49,22 +99,16 @@
|
||||
{% endif %}
|
||||
</td>
|
||||
|
||||
{# ========================= #}
|
||||
{# Sampling Group #}
|
||||
{# ========================= #}
|
||||
<td>
|
||||
<div class="small">
|
||||
<div><strong>T:</strong> {{ config.temperature }}</div>
|
||||
<div><strong>K:</strong> {{ config.topK }}</div>
|
||||
<div><strong>P:</strong> {{ config.topP }}</div>
|
||||
<div><strong>R:</strong> {{ config.repeatPenalty }}</div>
|
||||
<div><strong>Ctx:</strong> {{ config.numCtx }}</div>
|
||||
<div><strong>Temperature:</strong> {{ config.temperature }}</div>
|
||||
<div><strong>TopK:</strong> {{ config.topK }}</div>
|
||||
<div><strong>TopP:</strong> {{ config.topP }}</div>
|
||||
<div><strong>Repeat Penalty:</strong> {{ config.repeatPenalty }}</div>
|
||||
<div><strong>NumCtx:</strong> {{ config.numCtx }}</div>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
{# ========================= #}
|
||||
{# Retrieval Group #}
|
||||
{# ========================= #}
|
||||
<td class="text-warning">
|
||||
<div class="small">
|
||||
<div><strong>Chunks:</strong> {{ config.retrievalMaxChunks }}</div>
|
||||
@@ -119,14 +163,14 @@
|
||||
</form>
|
||||
|
||||
{% else %}
|
||||
<span class="text-secondary small">—</span>
|
||||
<span class="text-light small">—</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
{% else %}
|
||||
<tr>
|
||||
<td colspan="7" class="text-center text-secondary py-4">
|
||||
<td colspan="7" class="text-center py-4">
|
||||
Keine Konfiguration vorhanden.
|
||||
</td>
|
||||
</tr>
|
||||
@@ -138,8 +182,8 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mt-4 mb-4 small text-secondary">
|
||||
Hinweis: Änderungen wirken sich unmittelbar auf die Generierungsparameter
|
||||
<div class="mt-4 mb-4 small text-light">
|
||||
Hinweis: Änderungen wirken sich unmittelbar auf Sampling- und Retrieval-Parameter
|
||||
des aktiven Modells aus. Pro Modell kann nur eine Version aktiv sein.
|
||||
</div>
|
||||
|
||||
@@ -155,7 +199,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mt-3 small text-secondary">
|
||||
<div class="mt-3 small text-light">
|
||||
Der Agent läuft im isolierten Admin-Test-Modus.
|
||||
Keine Persistenz. Keine produktive Session.
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user