+
+
+
+
+ Educational Multi-Agent Analysis
+
+
+ Experience AI analysis from three distinct educational perspectives: Beginner, Expert, and Scholar lenses
+ with intelligent synthesis for comprehensive understanding.
+
+
+
+ {/* Authentication Status */}
+ {!isAuthenticated && (
+
+
+ Please log in to access educational analysis features. This requires authentication for optimal performance.
+
+
+ )}
+
+ {/* Content Input */}
+
+
+ {/* Error Display */}
+ {error && (
+
+ {error}
+
+ )}
+
+ {/* Progress Display */}
+ {loading && (
+
+
+
+
+
+ Educational Analysis in Progress
+
+
+
+
+
+
+ {currentStep}
+
+
+
+
Processing Details
+
+ - • Using parallel processing with dedicated AI services
+ - • Analysis typically takes 3-4 minutes for comprehensive results
+ - • Each perspective processes independently for authentic viewpoints
+ - • Synthesis combines all perspectives into unified insights
+
+
+
+
+
+ )}
+
+ {/* Analyze Button */}
+
+
+
+
+ {/* Results Display */}
+ {results && (
+
+
+
+
+
+ Educational Analysis Complete
+
+
+ Processing completed in {results.total_processing_time_seconds.toFixed(1)} seconds •
+ {Object.keys(results.results).length} perspectives analyzed
+
+
+
+
+
+
+ {Object.entries(results.results).map(([templateId, result]) => (
+
+ {getTemplateIcon(templateId)}
+ {result.template_name}
+
+ ))}
+ {results.synthesis_result && (
+
+
+ Synthesis
+
+ )}
+
+
+ {Object.entries(results.results).map(([templateId, result]) => (
+
+
+
+
+ {getTemplateIcon(templateId)}
+ {result.template_name}
+
+ Confidence: {(result.confidence_score * 100).toFixed(0)}%
+
+
+
+ {getTemplateDescription(templateId)} •
+ Processing time: {result.processing_time_seconds.toFixed(1)}s
+
+
+
+ {/* Key Insights */}
+ {result.key_insights && result.key_insights.length > 0 && (
+
+
Key Insights
+
+ {result.key_insights.map((insight, index) => (
+ -
+
+ {index + 1}
+
+ {insight}
+
+ ))}
+
+
+ )}
+
+ {/* Full Analysis */}
+
+
Detailed Analysis
+
+
+ {result.analysis}
+
+
+
+
+
+
+ ))}
+
+ {results.synthesis_result && (
+
+
+
+
+
+ Educational Synthesis - Unified Perspective
+
+ Confidence: {(results.synthesis_result.confidence_score * 100).toFixed(0)}%
+
+
+
+ Unified analysis combining all educational perspectives for comprehensive understanding
+
+
+
+ {/* Synthesis Insights */}
+ {results.synthesis_result.key_insights && results.synthesis_result.key_insights.length > 0 && (
+
+
Unified Insights
+
+ {results.synthesis_result.key_insights.map((insight, index) => (
+ -
+
+ {index + 1}
+
+ {insight}
+
+ ))}
+
+
+ )}
+
+ {/* Synthesis Analysis */}
+
+
Complete Educational Journey
+
+
+ {results.synthesis_result.analysis}
+
+
+
+
+
+
+ )}
+
+
+ )}
+
+ );
+};
+
+export default EducationalAnalysisView;
\ No newline at end of file