feat(175): NLI-Classifier auf Mobile mit Llama-Fallback (Phase 1) #241
No reviewers
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!241
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat-175-mobile-nli-classifier"
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?
Summary
nli-classifier.ts: mDeBERTa-v3-base-xnli (~280 MB Q8 ONNX), multilingual DE/EN. Lazy-Load, Forward-Pass pro Kandidat, Score = Entailment-Wahrscheinlichkeit.model-manager.tsist jetzt Orchestrator: rejection-store-Filter → NLI als Fast-Path → Llama als Fallback wenntop.score < 0.7ODER bei NLI-Error.use-auto-suggest-tags.ts,mail-batch-categorizer.ts) bleiben unveraendert — selbesuggest()-Signatur.Was sich aendert (Verhalten)
Native Build
onnxruntime-react-nativeist eine native Dependency. EAS-Dev-Client muss neu gebaut werden, bevor das auf dem Geraet laeuft. CI bleibt gruen, weil dort nur typecheck/test/install laufen (kein RN-Build).Refs #175
Test plan
pnpm installokpnpm --filter @mrrmlab/mobile typecheckokpnpm --filter @mrrmlab/mobile test11/11 gruenNLI hit ... → [Tag], Llama bleibt idleNLI uncertain ... → Llama fallback