How privex-chat/naukrisaathi works
NaukriSaathi is a WhatsApp-native hyperlocal labour marketplace. Workers register through conversational text or voice; employers describe a staffing need, and the bot returns nearby workers ranked with trust and profile signals. The graph also preserves verification, ratings, retention messaging, and the admin dashboard as distinct product capabilities. Relationships are based on README statements and SOURCE INDEX references; unsampled implementation details are not assumed.
Main entry points: worker_flow.py Worker registration · whatsapp.py WhatsApp gateway · supabase_client.py Marketplace data · employer_flow.py Employer search
Components 25
WhatsApp entry
- API backend
naukrisaathi/main.py - Message router
naukrisaathi/bot/router.py - Localized messages
naukrisaathi/bot/messages.py
Marketplace workflows
- Worker registration
naukrisaathi/bot/worker_flow.py - Employer search
naukrisaathi/bot/employer_flow.py - Voice processing
naukrisaathi/intelligence/voice_pipeline.py
Matching intelligence
- Worker matching
naukrisaathi/matching/engine.py - Entity extraction
naukrisaathi/intelligence/entity_extractor.py - Skill taxonomy
naukrisaathi/intelligence/skills_taxonomy.py - Semantic embeddings
naukrisaathi/intelligence/embedding_service.py - Geo-distance
naukrisaathi/intelligence/geo_service.py
Data and integrations
- Marketplace data
naukrisaathi/integrations/supabase_client.py - WhatsApp gateway
naukrisaathi/integrations/whatsapp.py - Evolution API
naukrisaathi/integrations/evolution_client.py - Meta Cloud API
naukrisaathi/integrations/meta_client.py
Trust and operations
- Admin dashboard
naukrisaathi/admin/routes.py - Payment integration
naukrisaathi/integrations/razorpay_client.py - Retention automation
naukrisaathi/scripts - Analytics utilities
naukrisaathi/utils/analytics.py
Other components
- Worker
- Employer
- Language model APIs
- Supabase
- Nominatim
Connections 39
- Worker → WhatsApp: messages
README.md - Employer → WhatsApp: searches
README.md - WhatsApp → API backend: sends webhook
README.md - API backend → Message router: dispatches
naukrisaathi/main.py - Message router → Worker registration: routes registration
naukrisaathi/bot/router.py - Message router → Employer search: routes search
naukrisaathi/bot/router.py - Message router → Localized messages: uses templates
naukrisaathi/bot/router.py - Worker registration → Localized messages: formats replies
naukrisaathi/bot/worker_flow.py - Employer search → Localized messages: formats replies
naukrisaathi/bot/employer_flow.py - Worker registration → Entity extraction: extracts profile
naukrisaathi/bot/worker_flow.py - Employer search → Entity extraction: extracts query
naukrisaathi/bot/employer_flow.py - Entity extraction → Language model APIs: requests extraction
naukrisaathi/intelligence/entity_extractor.py - Worker registration → Skill taxonomy: normalizes skills
naukrisaathi/bot/worker_flow.py - Entity extraction → Skill taxonomy: maps skills
naukrisaathi/intelligence/entity_extractor.py - Worker registration → Voice processing: handles voice notes
- Voice processing → Language model APIs: transcribes audio
naukrisaathi/intelligence/voice_pipeline.py - Worker registration → Marketplace data: saves profiles
naukrisaathi/bot/worker_flow.py - Worker registration → Semantic embeddings: embeds profiles
naukrisaathi/bot/worker_flow.py - Employer search → Worker matching: requests candidates
naukrisaathi/bot/employer_flow.py - Worker matching → Skill taxonomy: canonicalizes query
naukrisaathi/matching/engine.py - Worker matching → Semantic embeddings: embeds query
naukrisaathi/matching/engine.py - Worker matching → Geo-distance: filters distance
naukrisaathi/matching/engine.py - Worker matching → Marketplace data: queries workers
naukrisaathi/matching/engine.py - Geo-distance → Nominatim: geocodes locations
naukrisaathi/intelligence/geo_service.py - Marketplace data → Supabase: reads and writes
naukrisaathi/integrations/supabase_client.py - API backend → WhatsApp gateway: initializes messaging
naukrisaathi/main.py - Message router → WhatsApp gateway: sends replies
naukrisaathi/bot/router.py - WhatsApp gateway → Evolution API: delegates by mode
naukrisaathi/integrations/whatsapp.py - WhatsApp gateway → Meta Cloud API: delegates by mode
naukrisaathi/integrations/whatsapp.py - API backend → Admin dashboard: mounts dashboard
naukrisaathi/main.py - Admin dashboard → Marketplace data: loads dashboard data
naukrisaathi/admin/routes.py - Admin dashboard → WhatsApp gateway: onboards workers
naukrisaathi/admin/routes.py - Employer search → Payment integration: offers paid search
naukrisaathi/bot/employer_flow.py - Employer search → Marketplace data: records ratings follow-up
naukrisaathi/bot/employer_flow.py - Retention automation → Marketplace data: selects follow-ups
naukrisaathi/scripts/send_followups.py - Retention automation → WhatsApp gateway: sends notifications
naukrisaathi/scripts/notify_workers.py - Retention automation → WhatsApp gateway: sends reminders
naukrisaathi/scripts/ping_workers.py - Admin dashboard → Analytics utilities: computes analytics
naukrisaathi/admin/routes.py - Analytics utilities → Marketplace data: reads event data
naukrisaathi/utils/analytics.py