Weather-aware task planning system. FastAPI backend + React frontend, with a hybrid ML/dictionary/token-semantics classifier and a reminder-driven todo workflow.
- Backend API: http://127.0.0.1:8012
- Backend docs: http://127.0.0.1:8012/docs
- Frontend: http://127.0.0.1:5173/index.html
- Local inference confidence threshold: 0.62
flowchart LR
UI[React Frontend] --> API[FastAPI Routes]
API --> Analyze[Task Analysis Engine]
Analyze --> ML[Unified ML System]
Analyze --> Judge[Auto Judge + Dictionary + Token Semantics]
API --> Weather[Weather Service Demo or OpenWeather]
API --> Score[Scoring Engine]
Score --> Alt[Alternative Activities]
UI --> Store[Task Store + Reminder Scheduler]
Store --> Browser[Notification + Vibration + Ringtone]
- Hybrid local analysis combining ML, dictionary, and token semantics.
- Optional OpenAI path when enabled per request and key is present.
- Clarification and suggestion fields for ambiguous user input.
- Live or deterministic demo weather.
- Coordinate-aware weather lookup.
- Weather-based score plus alternatives and best schedule recommendation.
- One-week timetable scheduling with conflict-aware slot handling.
- Reminder engine with browser notifications, vibration, and ringtone presets.
- Due-time Activity Check workflow:
- Yes, completed: remove completed due task.
- No, reschedule: move to next best available slot.
- POST /api/analyze-task
- POST /api/weather
- POST /api/score
- POST /api/analyze
- GET /api/alternatives
- GET /api/health
- POST /api/predict
- POST /api/feedback
- GET /api/learning-status
- POST /api/chat-assistant
- POST /api/backend-cli
python -m pip install -r requirements.txtcd frontend
npm installCopy .env.example to .env and fill in (both keys optional — app falls back to demo if absent):
OPENAI_API_KEY=sk-...
OPENWEATHER_API_KEY=...
OPENAI_MODEL=gpt-4o-miniFrontend defaults live in frontend/.env.local:
VITE_API_URL=http://127.0.0.1:8012
VITE_USE_DEMO_WEATHER=falsepython -m uvicorn backend.main:app --host 127.0.0.1 --port 8012cd frontend
npm run dev -- --host 127.0.0.1 --port 5173.\run_backend_tests.cmd- docs/README.md
- docs/architecture/system_design.md
- docs/backend/api_routes.md
- docs/backend/ai_engine.md
- docs/frontend/components.md
- docs/frontend/hooks.md
- docs/frontend/services.md