How unknown420-alt/ai-dataset-labeling-marketplace works
This is a two-sided dataset-labeling marketplace: owners publish datasets and tasks, while labelers claim tasks and submit per-item labels, with AI suggestions assisting the human workflow. Owners then review submissions, inspect consensus and analytics, and export labeled results; the README also documents model training and prediction. The graph preserves these product stages and the frontend/API/data layers. Some capabilities are documented but their implementation excerpts were not available, so those links are marked unverified rather than inferred as direct calls.
Main entry points: App.jsx App and dashboard · router.py API router · api.js API client · database.py Async database
Components 25
React client
- App and dashboard
frontend/src/App.jsx - Signup and login
frontend/src/components/Login.jsx - Task management
frontend/src/components/owner/TasksTab.jsx - Dataset management
frontend/src/components/owner/DatasetsTab.jsx - Labeling workspace
frontend/src/components/labeler/LabelingTab.jsx - Review workspace
frontend/src/components/owner/ReviewTab.jsx - Owner analytics
frontend/src/components/owner/AnalyticsTab.jsx - Shared UI components
frontend/src/components/ui - API client
frontend/src/api.js
API workflows
- FastAPI application
app/main.py - API router
app/api/v1/router.py - Authentication
app/api/v1/auth.py - Dataset endpoints
app/api/v1/datasets.py - Task endpoints
app/api/v1/tasks.py - Labeling endpoints
app/api/v1/labeling.py
Data and services
- AI suggestions
app/services/llm.py - Item upload
app/services/upload.py - Token security
app/services/security.py - Marketplace records
app/models - Async database
app/core/database.py
Review and training
- Review and exports
app/api/v1/review.py - Train and predict
app/services/training.py
Other components
- Dataset owner
- Labeler
- PostgreSQL
Connections 31
- Dataset owner → App and dashboard: uses
README.md - Labeler → App and dashboard: uses
README.md - App and dashboard → Signup and login: routes auth
frontend/src/App.jsx - App and dashboard → Task management: shows dashboard
- App and dashboard → Dataset management: shows dashboard
- App and dashboard → Labeling workspace: shows dashboard
- App and dashboard → Review workspace: shows dashboard
- App and dashboard → Owner analytics: shows dashboard
- Signup and login → API client: calls
frontend/src/components/Login.jsx - Task management → API client: calls
frontend/src/components/owner/TasksTab.jsx - Labeling workspace → API client: calls
frontend/src/components/labeler/LabelingTab.jsx - Review workspace → API client: calls
frontend/src/components/owner/ReviewTab.jsx - API client → FastAPI application: HTTP requests
README.md - FastAPI application → API router: mounts routes
app/main.py - API router → Authentication: registers
app/api/v1/router.py - API router → Dataset endpoints: registers
app/api/v1/router.py - API router → Task endpoints: registers
app/api/v1/router.py - API router → Labeling endpoints: registers
app/api/v1/router.py - API router → Review and exports: registers
app/api/v1/router.py - Authentication → Token security: uses
app/api/v1/auth.py - Task endpoints → Token security: authenticates
app/api/v1/tasks.py - Authentication → Async database: opens session
app/api/v1/auth.py - Task endpoints → Async database: opens session
app/api/v1/tasks.py - Review and exports → Async database: queries records
app/api/v1/review.py - Async database → PostgreSQL: stores data
README.md - Dataset endpoints → Item upload: uses upload
- Labeling endpoints → AI suggestions: requests suggestions
- Review workspace → Review and exports: requests review data
frontend/src/components/owner/ReviewTab.jsx - Owner analytics → Review and exports: requests analytics
- Dataset endpoints → Train and predict: trains and predicts
README.md - Task endpoints → Async database: persists tasks
app/api/v1/tasks.py