How srujan-cpu/startologer_ai works
This is a web application for evaluating startup pitch materials: users upload documents and receive an analysis, extracted metrics, benchmark comparisons, and a result dashboard. The main path runs from the upload dialog through the frontend API to Flask, then through document parsing, AI analysis, and benchmarking; results may also be persisted in Firestore. Authentication and trial access are separate supporting capabilities. The README is empty, so the map relies on the supplied source excerpts and SOURCE INDEX; some backend and dashboard details are therefore represented only where those sources establish the relationship.
Main entry points: initialEndpoints.py Flask API routes · orchestrator.py Analysis orchestrator · api.service.ts Frontend API · document_parser_agent.py Document parser agent
Components 20
Web app
- Upload dialog
project-root/frontend/src/app/shared/file-upload-dialog/file-upload-dialog/file-upload-dialog.ts - Frontend API
project-root/frontend/src/app/services/api.service.ts - Result dashboard
project-root/frontend/src/app/components/result-dashboard/result-dashboard.ts - Authentication
project-root/frontend/src/app/auth/auth.service.ts - Trial tracking
project-root/frontend/src/app/services/trial.service.ts
API and access
- Flask API routes
project-root/backend/routes/initialEndpoints.py - Input processing
project-root/backend/services/inputProcessService.py
Analysis pipeline
- Analysis orchestrator
project-root/backend/agents/orchestrator.py - Document parser agent
project-root/backend/agents/document_parser_agent.py - Text extraction
project-root/backend/textExtraction/textExtractor.py - Document AI
project-root/backend/services/documentai_service.py - Startup analysis
project-root/backend/agents/analysis_agent.py - Analysis helper
project-root/backend/helpers/analysis_helper.py - Metric extraction
project-root/backend/helpers/metric_extractor.py - Benchmark agent
project-root/backend/agents/benchmark_agent.py
Data services
- Benchmark comparison
project-root/backend/services/benchmark_service.py - Firestore
project-root/backend/services/firestore_service.py
Other components
- User
- Firebase Auth
- Benchmark CSV source
Connections 19
- User → Upload dialog: selects documents
project-root/frontend/src/app/shared/file-upload-dialog/file-upload-dialog/file-upload-dialog.ts - Upload dialog → Frontend API: submits analysis
project-root/frontend/src/app/shared/file-upload-dialog/file-upload-dialog/file-upload-dialog.ts - Frontend API → Trial tracking: checks trial
project-root/frontend/src/app/services/api.service.ts - Frontend API → Flask API routes: posts documents
project-root/frontend/src/app/services/api.service.ts - Result dashboard → Frontend API: requests results
project-root/frontend/src/app/components/result-dashboard/result-dashboard.ts - User → Authentication: signs in
project-root/frontend/src/app/auth/auth.service.ts - Authentication → Firebase Auth: authenticates
project-root/frontend/src/app/auth/auth.service.ts - Flask API routes → Input processing: validates input
project-root/backend/routes/initialEndpoints.py - Flask API routes → Analysis orchestrator: starts analysis
project-root/backend/routes/initialEndpoints.py - Analysis orchestrator → Document parser agent: parses documents
project-root/backend/agents/orchestrator.py - Analysis orchestrator → Startup analysis: analyzes text
project-root/backend/agents/orchestrator.py - Analysis orchestrator → Benchmark agent: benchmarks results
project-root/backend/agents/orchestrator.py - Document parser agent → Document AI: uses document service
project-root/backend/agents/document_parser_agent.py - Document parser agent → Text extraction: uses text extraction
project-root/backend/agents/document_parser_agent.py - Startup analysis → Analysis helper: uses analysis helper
project-root/backend/agents/analysis_agent.py - Startup analysis → Metric extraction: extracts metrics
project-root/backend/agents/analysis_agent.py - Benchmark agent → Benchmark comparison: gets comparisons
project-root/backend/agents/benchmark_agent.py - Benchmark comparison → Benchmark CSV source: loads benchmark rows
- Flask API routes → Firestore: stores and retrieves analyses
project-root/backend/routes/initialEndpoints.py