alpha new hybridretriver line
This commit is contained in:
@@ -24,11 +24,8 @@
|
||||
<th>Modell</th>
|
||||
<th>Version</th>
|
||||
<th>Stream</th>
|
||||
<th>Temp</th>
|
||||
<th>Top K</th>
|
||||
<th>Top P</th>
|
||||
<th>Repeat</th>
|
||||
<th>Ctx</th>
|
||||
<th>Sampling</th>
|
||||
<th class="text-warning">Retrieval</th>
|
||||
<th>Status</th>
|
||||
<th class="text-end">Aktionen</th>
|
||||
</tr>
|
||||
@@ -52,27 +49,47 @@
|
||||
{% endif %}
|
||||
</td>
|
||||
|
||||
<td>{{ config.temperature }}</td>
|
||||
<td>{{ config.topK }}</td>
|
||||
<td>{{ config.topP }}</td>
|
||||
<td>{{ config.repeatPenalty }}</td>
|
||||
<td>{{ config.numCtx }}</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>
|
||||
</td>
|
||||
|
||||
{# ========================= #}
|
||||
{# Retrieval Group #}
|
||||
{# ========================= #}
|
||||
<td class="text-warning">
|
||||
<div class="small">
|
||||
<div><strong>Chunks:</strong> {{ config.retrievalMaxChunks }}</div>
|
||||
<div><strong>VectorK:</strong> {{ config.retrievalVectorTopK }}</div>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
{% if config.active %}
|
||||
<span class="badge bg-success">Aktiv</span>
|
||||
{% else %}
|
||||
<span class="badge bg-dark border border-secondary">
|
||||
Inaktiv
|
||||
</span>
|
||||
Inaktiv
|
||||
</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
|
||||
<td class="text-end">
|
||||
<a href="{{ path('admin_model_config_test_retrieval', {id: config.id}) }}"
|
||||
class="btn btn-sm btn-outline-warning me-1">
|
||||
Test Retrieval
|
||||
</a>
|
||||
|
||||
{% if not config.active and is_granted('ROLE_SUPER_ADMIN') %}
|
||||
|
||||
{# Aktivieren via POST + CSRF #}
|
||||
<form method="post"
|
||||
action="{{ path('admin_model_config_activate', {id: config.id}) }}"
|
||||
class="d-inline"
|
||||
@@ -82,12 +99,11 @@
|
||||
name="_token"
|
||||
value="{{ csrf_token('activate_model_config_' ~ config.id) }}">
|
||||
|
||||
<button class="btn btn-sm btn-outline-success me-2">
|
||||
<button class="btn btn-sm btn-outline-success me-1">
|
||||
Aktivieren
|
||||
</button>
|
||||
</form>
|
||||
|
||||
{# Löschen via POST + CSRF #}
|
||||
<form method="post"
|
||||
action="{{ path('admin_model_config_delete', {id: config.id}) }}"
|
||||
class="d-inline"
|
||||
@@ -105,13 +121,12 @@
|
||||
{% else %}
|
||||
<span class="text-secondary small">—</span>
|
||||
{% endif %}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
{% else %}
|
||||
<tr>
|
||||
<td colspan="10" class="text-center text-secondary py-4">
|
||||
<td colspan="7" class="text-center text-secondary py-4">
|
||||
Keine Konfiguration vorhanden.
|
||||
</td>
|
||||
</tr>
|
||||
@@ -132,13 +147,11 @@
|
||||
|
||||
<div class="card bg-black border-info">
|
||||
<div class="card-body p-0">
|
||||
|
||||
<iframe
|
||||
src="/index.html?admin_test=1"
|
||||
class="w-100 border-0"
|
||||
style="height:75vh;"
|
||||
></iframe>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -146,4 +159,5 @@
|
||||
Der Agent läuft im isolierten Admin-Test-Modus.
|
||||
Keine Persistenz. Keine produktive Session.
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user