63 lines
5.1 KiB
TypeScript
63 lines
5.1 KiB
TypeScript
// =============================================================================
|
||
// WIZARD STEPS CONFIG
|
||
// =============================================================================
|
||
|
||
export const WIZARD_STEPS = [
|
||
{ id: 1, title: 'Grundlegendes', description: 'Titel, Beschreibung und KI-Kategorie' },
|
||
{ id: 2, title: 'Datenkategorien', description: 'Welche Daten werden verarbeitet?' },
|
||
{ id: 3, title: 'Verarbeitungszweck', description: 'Zweck der Datenverarbeitung' },
|
||
{ id: 4, title: 'Automatisierung', description: 'Grad der Automatisierung' },
|
||
{ id: 5, title: 'Hosting & Modell', description: 'Technische Details' },
|
||
{ id: 6, title: 'Datentransfer', description: 'Internationaler Datentransfer' },
|
||
{ id: 7, title: 'Datenhaltung', description: 'Aufbewahrung und Speicherung' },
|
||
{ id: 8, title: 'Vertraege', description: 'Compliance und Vereinbarungen' },
|
||
]
|
||
|
||
// =============================================================================
|
||
// KI-Anwendungskategorien als Auswahlkacheln
|
||
// =============================================================================
|
||
|
||
export const AI_USE_CATEGORIES = [
|
||
{ value: 'content_generation', label: 'Content-Erstellung', icon: '✍️', desc: 'Texte, Berichte, E-Mails, Dokumentation automatisch erstellen' },
|
||
{ value: 'image_generation', label: 'Bilder erstellen', icon: '🎨', desc: 'KI-generierte Bilder, Grafiken, Produktfotos' },
|
||
{ value: 'marketing_material', label: 'Marketingmaterial', icon: '📢', desc: 'Werbetexte, Social Media Posts, Newsletter generieren' },
|
||
{ value: 'customer_service', label: 'Kundenservice / Chatbot', icon: '💬', desc: 'Automatisierte Kundenanfragen, FAQ-Bots, Support-Tickets' },
|
||
{ value: 'crm_analytics', label: 'CRM & Kundenanalyse', icon: '👥', desc: 'Kundensegmentierung, Churn-Vorhersage, Lead-Scoring' },
|
||
{ value: 'hr_recruiting', label: 'Bewerberauswahl / HR', icon: '🧑💼', desc: 'CV-Screening, Matching, Mitarbeiteranalysen' },
|
||
{ value: 'financial_analysis', label: 'Finanzdaten analysieren', icon: '📊', desc: 'Buchhaltung, Forecasting, Betrugserkennung, Risikobewertung' },
|
||
{ value: 'predictive_maintenance', label: 'Predictive Maintenance', icon: '🔧', desc: 'Vorausschauende Wartung, Ausfallvorhersage, IoT-Sensoranalyse' },
|
||
{ value: 'production_analytics', label: 'Produktionsdatenauswertung', icon: '🏭', desc: 'Qualitaetskontrolle, Prozessoptimierung, OEE-Analyse' },
|
||
{ value: 'document_analysis', label: 'Dokumentenanalyse', icon: '📄', desc: 'Vertraege, Rechnungen, PDFs automatisch auswerten und klassifizieren' },
|
||
{ value: 'code_development', label: 'Softwareentwicklung', icon: '💻', desc: 'Code-Generierung, Code-Review, Test-Erstellung, Dokumentation' },
|
||
{ value: 'translation', label: 'Uebersetzung', icon: '🌍', desc: 'Automatische Uebersetzung von Texten, Dokumenten, Webinhalten' },
|
||
{ value: 'search_knowledge', label: 'Wissensmanagement / Suche', icon: '🔍', desc: 'Interne Wissensdatenbank, RAG-basierte Suche, FAQ-Systeme' },
|
||
{ value: 'data_extraction', label: 'Datenextraktion', icon: '⛏️', desc: 'OCR, Formularerkennung, strukturierte Daten aus Freitext' },
|
||
{ value: 'risk_compliance', label: 'Risiko & Compliance', icon: '⚖️', desc: 'Compliance-Pruefung, Risikobewertung, Audit-Unterstuetzung' },
|
||
{ value: 'supply_chain', label: 'Lieferkette & Logistik', icon: '🚛', desc: 'Bedarfsprognose, Routenoptimierung, Bestandsmanagement' },
|
||
{ value: 'medical_health', label: 'Medizin & Gesundheit', icon: '🏥', desc: 'Diagnoseunterstuetzung, Bildanalyse, Patientendaten' },
|
||
{ value: 'security_monitoring', label: 'Sicherheit & Monitoring', icon: '🛡️', desc: 'Anomalieerkennung, Bedrohungsanalyse, Zugriffskontrolle' },
|
||
{ value: 'personalization', label: 'Personalisierung', icon: '🎯', desc: 'Produktempfehlungen, dynamische Preisgestaltung, A/B-Testing' },
|
||
{ value: 'voice_speech', label: 'Sprache & Audio', icon: '🎙️', desc: 'Spracherkennung, Text-to-Speech, Meeting-Transkription' },
|
||
{ value: 'other', label: 'Sonstiges', icon: '➕', desc: 'Anderer KI-Anwendungsfall' },
|
||
]
|
||
|
||
// Map Profil-Branche to domain value for backend compatibility
|
||
export function industryToDomain(industries: string[]): string {
|
||
if (!industries || industries.length === 0) return 'general'
|
||
const first = industries[0].toLowerCase()
|
||
if (first.includes('gesundheit') || first.includes('pharma')) return 'healthcare'
|
||
if (first.includes('finanz') || first.includes('versicherung')) return 'finance'
|
||
if (first.includes('bildung')) return 'education'
|
||
if (first.includes('handel') || first.includes('commerce')) return 'retail'
|
||
if (first.includes('it') || first.includes('technologie')) return 'it_services'
|
||
if (first.includes('beratung') || first.includes('consulting')) return 'consulting'
|
||
if (first.includes('produktion') || first.includes('industrie') || first.includes('maschinenbau')) return 'manufacturing'
|
||
if (first.includes('marketing') || first.includes('agentur')) return 'marketing'
|
||
if (first.includes('recht')) return 'legal'
|
||
return 'general'
|
||
}
|
||
|
||
export function toggleInArray(arr: string[], value: string): string[] {
|
||
return arr.includes(value) ? arr.filter(v => v !== value) : [...arr, value]
|
||
}
|