NLI-Only Mode (EXPO_PUBLIC_NLI_ONLY) für Kalibrierung — Llama-Fallback abschaltbar #262
Labels
No labels
app/archiv
app/einkaufslisten
app/imap-client
app/wissensbasis
arch-answered
arch-question
area/api
area/auth
area/infra
area/mobile
area/shared
area/ui
area/web
portfolio-status
prio/high
prio/low
prio/medium
roadmap/public
size/l
size/m
size/s
size/xl
size/xs
status/blocked
status/needs-info
type/bug
type/chore
type/docs
type/feature
type/idea
type/refactor
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
admin-mrrm/mrrmlabapp#262
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Während der NLI-Kalibrierung (#251 ff.) springt bei jedem
score < 0.30der Llama-Fallback an. Auf flakigem Mobile-Netz reißt der 2GB-Download regelmäßig ab (Software caused connection abort/Failed to load model), und der 90s-Timeout inmail-batch-categorizerkillt die ganzesuggest()-Aufruf — auch wenn NLI vorher erfolgreich gescored und in die Debug-JSONL geloggt hat.Dazu kommt: für die Kalibrierung brauchen wir Llama nicht. Wir wollen nur saubere NLI-Score-Distributionen sehen.
Fix
Neuer ENV-Flag
EXPO_PUBLIC_NLI_ONLY=1(analog zuEXPO_PUBLIC_NLI_DEBUG_LOG). Wenn gesetzt, gibtmailModelManager.suggest()bei NLI-Uncertain oder NLI-Fehler einfach[]zurück statt nach Llama zu greifen.Effekt:
Scope
Tests
model-manager.spec.ts: bei NLI uncertain + flag →[]zurück, Llama nicht aufgerufen