How vivanparwani5526/orca---sih26176 works
ORCA is a marine decision-support application for fishers: users submit a natural-language or location-based query, and the backend assembles capability evidence into an explanation and decision displayed in the client. The tree identifies weather, waves, tides, PFZ/productivity, hazards, geofencing, routing, maps, and community catches as distinct product areas. The query route excerpt confirms selected service calls, and the PFZ/productivity excerpts confirm that relationship. Other service wiring is not fully sampled, so uncertain service-to-service links are omitted.
Main entry points: query.py Query endpoint · Dashboard.jsx Dashboard · api.js API client · App.jsx Application shell
Components 26
User interface
- Application shell
frontend/src/app/App.jsx - Query input
frontend/src/features/query/QueryBox.jsx - Dashboard
frontend/src/pages/Dashboard.jsx - Advanced dashboard
frontend/src/pages/AdvancedDashboard.jsx - Result panels
frontend/src/features/results/ResultContainer.jsx - API client
frontend/src/services/api.js
API and orchestration
- FastAPI application
backend/app/main.py - Query endpoint
backend/app/api/routes/query.py - Session context
backend/app/services/session_service.py - Agent orchestration
backend/app/services/multi_agent_service.py - Explanation generation
backend/app/services/explanation_service.py - Language handling
backend/app/services/language_service.py - Map data endpoint
backend/app/api/routes/map_data.py - Community catches endpoint
backend/app/api/routes/community.py
Marine intelligence
- Weather and waves
backend/app/services/weather_service.py - Tide and marine data
backend/app/services/tide_service.py - Marine hazards
backend/app/services/marine_advisory_service.py - Geofence assessment
backend/app/services/geofence_service.py - Route optimization
backend/app/services/route_optimizer_service.py - Fishing productivity
backend/app/services/fish_productivity_service.py - PFZ advisory
backend/app/services/pfz_service.py
Models and data
- PFZ marine engine
models/marine/FINAL_PFZ_MARINE_ENGINE/pfz_marine_engine.py - Weather predictor
models/weather/FINAL_WEATHER_ML/weather_predictor.py - Intent router
models/multi_agent/FINAL_MULTI_AGENT_SYSTEM/router.py
Other components
- Fisher
- Marine and weather data
Connections 30
- Fisher → Application shell: uses
- Application shell → Dashboard: opens
- Application shell → Advanced dashboard: switches mode
- Dashboard → Query input: offers query
- Query input → Dashboard: submits query
- Dashboard → API client: requests data
- Advanced dashboard → API client: requests data
- API client → Query endpoint: sends query
- FastAPI application → Query endpoint: mounts route
- Query endpoint → Session context: loads context
- Query endpoint → Agent orchestration: invokes agents
- Query endpoint → Weather and waves: gets weather
- Query endpoint → Fishing productivity: gets productivity
- Query endpoint → Geofence assessment: assesses boundary
- Query endpoint → Language handling: translates text
- Query endpoint → Explanation generation: builds explanation
- Fishing productivity → PFZ advisory: gets nearest PFZ
- Fishing productivity → PFZ marine engine: gets marine intelligence
- Agent orchestration → Intent router: routes intent
- Weather and waves → Weather predictor: predicts weather
- Marine and weather data → Weather and waves: supplies observations
- Marine and weather data → Tide and marine data: supplies marine data
- Query endpoint → Tide and marine data: gets tide data
- Query endpoint → Marine hazards: gets hazard data
- Query endpoint → Route optimization: gets route advice
- PFZ advisory → PFZ marine engine: loads PFZ intelligence
- Query endpoint → Map data endpoint: separate endpoint
- Query endpoint → Community catches endpoint: separate endpoint
- API client → Result panels: returns response
- Result panels → Fisher: shows assessment