tsx import React from 'react' import { PromptInput } from './PromptInput' import { ModelSelector } from './ModelSelector' import { OptimizationResult } from './OptimizationResult' import { ComparisonView } from './ComparisonView' import { LoadingState } from './LoadingState' import { ErrorMessage } from './ErrorMessage' import { useAppStore } from '@/store/useAppStore' /** * Main component for the Prompt Enhancement application * Orchestrates the different components and handles the main workflow */ export function PromptEnhancer() { const { prompt, selectedModel, isOptimizing, result, error, showComparison, canOptimize, optimizePrompt, setShowComparison } = useAppStore() return (
{/* Header Section */}

KI-Prompt Optimierung

Transformiere deine Prompts in präzise, effektive Anweisungen für maximale KI-Performance. Wähle deine Ziel-KI und lass unser System die Optimierung übernehmen.

{/* Main Input Section */}
{/* Input Column */}

Dein Prompt

Ziel-KI auswählen

{/* Action Buttons */}
{result && ( )}
{/* Output Column */}
{error && } {isOptimizing && } {result && !showComparison && } {result && showComparison && } {!result && !isOptimizing && !error && (

Bereit zur Optimierung

Gib deinen Prompt ein und wähle eine Ziel-KI aus, um zu beginnen.

)}
{/* Features Section */}

Warum Prompt Enhancer verwenden?

KI-spezifische Optimierung

Jede KI-Plattform hat einzigartige Anforderungen. Unsere Engine berücksichtigt das.

Messbare Verbesserungen

Strukturierte, spezifischere und ausführbarere Prompts für bessere KI-Ergebnisse.

Produktionsreif

Robuste Fehlerbehandlung, Optimierung und Benutzerfreundlichkeit in jedem Detail.

) }