How shireeshavelugoti-web/al-powered-intelligent-sales-forecasting-platform works
Al-Powered-Intelligent-Sales-Forecasting-Platform is a lead-management and sales-intelligence application, with a FastAPI backend and a React dashboard in the tree (the README’s Streamlit description appears out of date). The workflow is to manage prospects, generate company analysis and qualification scores, then prepare outreach and review pipeline forecasts. The graph includes the documented model-inspection capability; unsampled ML and AI internals and frontend-to-API request wiring are not expanded beyond the evidence provided.
Main entry points: App.tsx Workspace shell · main.py FastAPI application · analysis.py Company analysis · scroing.py Lead scoring
Components 20
Sales workspace
- Workspace shell
frontend/src/App.tsx - Prospect directory
frontend/src/components/DirectoryView.tsx - Lead editor
frontend/src/components/LeadFormDrawer.tsx - Pipeline forecast
frontend/src/components/ForecastView.tsx - Forecast chart
frontend/src/components/PipelineForecastChart.tsx - Account workbench
frontend/src/components/WorkbenchView.tsx - Model view
frontend/src/components/ModelArchitectureView.tsx - Sales data types
frontend/src/types/sales.ts
API workflows
- FastAPI application
app/main.py - Lead management
app/routers/leads.py - Company analysis
app/routers/analysis.py - Lead scoring
app/routers/scroing.py - Outreach generation
app/routers/outreach.py - API schemas
app/schemas.py
Lead intelligence
- Company analysis service
app/ai_service.py - Outreach AI service
app/services/ai_service.py - Scoring logic
app/services/scoring_service.py
Persistence
- Database session
app/database.py - Sales records
app/models.py
Other components
- Sales operator
Connections 31
- Sales operator → Workspace shell: uses
- Workspace shell → Prospect directory: renders
frontend/src/App.tsx - Workspace shell → Lead editor: renders
frontend/src/App.tsx - Workspace shell → Pipeline forecast: renders
frontend/src/App.tsx - Workspace shell → Account workbench: renders
frontend/src/App.tsx - Workspace shell → Model view: renders
frontend/src/App.tsx - Pipeline forecast → Forecast chart: renders
frontend/src/components/ForecastView.tsx - Prospect directory → Sales data types: uses types
frontend/src/components/DirectoryView.tsx - Lead editor → Sales data types: uses types
frontend/src/components/LeadFormDrawer.tsx - Forecast chart → Sales data types: uses types
frontend/src/components/PipelineForecastChart.tsx - Account workbench → Sales data types: uses types
frontend/src/components/WorkbenchView.tsx - FastAPI application → Database session: creates tables
app/main.py - FastAPI application → Lead management: registers
app/main.py - FastAPI application → Company analysis: registers
app/main.py - FastAPI application → Outreach generation: registers
app/main.py - FastAPI application → Lead scoring: registers
app/main.py - Lead management → Database session: gets sessions
app/routers/leads.py - Lead management → Sales records: reads/writes
app/routers/leads.py - Lead management → API schemas: validates
app/routers/leads.py - Company analysis → Database session: gets sessions
app/routers/analysis.py - Company analysis → Sales records: reads/writes
app/routers/analysis.py - Company analysis → API schemas: validates
app/routers/analysis.py - Company analysis → Company analysis service: calls
app/routers/analysis.py - Outreach generation → Database session: gets sessions
app/routers/outreach.py - Outreach generation → Sales records: reads/writes
app/routers/outreach.py - Outreach generation → API schemas: validates
app/routers/outreach.py - Outreach generation → Outreach AI service: generates content
app/routers/outreach.py - Lead scoring → Database session: gets sessions
app/routers/scroing.py - Lead scoring → Sales records: reads/writes
app/routers/scroing.py - Lead scoring → API schemas: validates
app/routers/scroing.py - Lead scoring → Scoring logic: calculates scores
app/routers/scroing.py