fix: Sidebar — MagicHelp (TrOCR) + Bildung & Schule Kategorie entfernt

Diese Module gehoeren nur in den Admin Lehrer (macmini:3002),
nicht ins Compliance Dashboard. Entfernt: Education Search,
Zeugnisse-Crawler, Abitur-Archiv, Klausur-Korrektur, Magic Help.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-03-04 09:49:05 +01:00
parent 10e1bf45ae
commit 119689ee9e
12 changed files with 6 additions and 502 deletions

View File

@@ -80,16 +80,9 @@ export interface AIModuleLink {
/**
* KI-Daten-Pipeline Module
* Diese Module bilden eine zusammenhaengende Pipeline mit Datenfluss.
* Datenfluss: Magic Help ⟷ OCR-Labeling → RAG Pipeline → Daten & RAG
* Datenfluss: OCR-Labeling → RAG Pipeline → Daten & RAG
*/
export const AI_PIPELINE_MODULES: AIModuleLink[] = [
{
id: 'magic-help',
name: 'Magic Help',
href: '/ai/magic-help',
description: 'TrOCR Testing & LoRA Fine-Tuning',
icon: '✨',
},
{
id: 'ocr-labeling',
name: 'OCR-Labeling',
@@ -149,39 +142,13 @@ export const AI_MODULES: AIModuleLink[] = [
*/
export const AI_MODULE_RELATIONS: Record<string, AIModuleLink[]> = {
// KI-Daten-Pipeline Relations
'magic-help': [
{
id: 'ocr-labeling',
name: 'OCR-Labeling',
href: '/ai/ocr-labeling',
description: 'Ground Truth erstellen',
},
{
id: 'rag-pipeline',
name: 'RAG Pipeline',
href: '/ai/rag-pipeline',
description: 'Erkannte Texte indexieren',
},
],
'ocr-labeling': [
{
id: 'magic-help',
name: 'Magic Help',
href: '/ai/magic-help',
description: 'TrOCR testen & fine-tunen',
},
{
id: 'rag-pipeline',
name: 'RAG Pipeline',
href: '/ai/rag-pipeline',
description: 'Trainierte Daten indexieren',
},
{
id: 'klausur-korrektur',
name: 'Klausur-Korrektur',
href: '/ai/klausur-korrektur',
description: 'OCR in Aktion',
},
],
'rag-pipeline': [
{
@@ -204,12 +171,6 @@ export const AI_MODULE_RELATIONS: Record<string, AIModuleLink[]> = {
href: '/ai/rag-pipeline',
description: 'Neue Dokumente indexieren',
},
{
id: 'klausur-korrektur',
name: 'Klausur-Korrektur',
href: '/ai/klausur-korrektur',
description: 'RAG-Suche nutzen',
},
],
// KI-Werkzeuge Relations (Standalone-Tools)
'llm-compare': [
@@ -233,12 +194,6 @@ export const AI_MODULE_RELATIONS: Record<string, AIModuleLink[]> = {
href: '/ai/llm-compare',
description: 'KI-Provider vergleichen',
},
{
id: 'klausur-korrektur',
name: 'Klausur-Korrektur',
href: '/ai/klausur-korrektur',
description: 'BQAS in Aktion',
},
],
}
@@ -259,24 +214,11 @@ export interface DataFlowConnection {
/**
* Definiert den Datenfluss zwischen den AI-Modulen
*
* Magic Help ⟷ OCR-Labeling: Bidirektionaler Austausch (LoRA + Ground Truth)
* OCR-Labeling → RAG Pipeline: Ground Truth für Training
* RAG Pipeline → Daten & RAG: Embeddings für Vektor-Suche
* Daten & RAG → Klausur-Korrektur: RAG-Suche für Bewertung
*/
export const DATA_FLOW_CONNECTIONS: DataFlowConnection[] = [
{
from: 'magic-help',
to: 'ocr-labeling',
label: 'LoRA Model',
description: 'Verbessertes TrOCR-Modell für OCR-Labeling',
},
{
from: 'ocr-labeling',
to: 'magic-help',
label: 'TrOCR Export',
description: 'Ground Truth Daten im TrOCR-Format für Fine-Tuning',
},
{
from: 'ocr-labeling',
to: 'rag-pipeline',
@@ -289,12 +231,6 @@ export const DATA_FLOW_CONNECTIONS: DataFlowConnection[] = [
label: 'Embeddings',
description: 'Vektor-Embeddings indexierter Dokumente',
},
{
from: 'rag',
to: 'klausur-korrektur',
label: 'RAG-Suche',
description: 'Semantische Suche für Erwartungshorizonte',
},
]
// =============================================================================