Commit Graph

7 Commits

Author SHA1 Message Date
Shiva Pochampally
b5efec5a60 Merge branch 'main' of github.com:SirBlobby/VTHacks13 2025-09-28 06:00:56 -04:00
Shiva Pochampally
770645bf01 Optimized and shortened prompt 2025-09-28 05:59:54 -04:00
694a0ad426 feat: Implement AI crash magnitude prediction API and integrate with map components 2025-09-28 04:54:41 -04:00
fbb6953473 Add Flask API endpoints and testing scripts for safety analysis
- Created requirements.txt for Flask and related libraries.
- Implemented test_api.py to validate API endpoints including health check, weather data retrieval, crash analysis, route finding, and single route fetching.
- Developed test_crash_endpoint.py for focused testing on crash analysis endpoint.
- Added test_flask_endpoints.py for lightweight tests using Flask's test client with mocked dependencies.
- Introduced SafetyAnalysisModal component in the frontend for displaying detailed safety analysis results.
- Implemented flaskApi.ts to handle API requests for weather data and crash analysis, including data transformation to match frontend interfaces.
2025-09-28 03:59:32 -04:00
Shiva Pochampally
7fafa7321f Added flask server for API endpoints for MongoDB Agent and LLM Summarization 2025-09-28 02:12:44 -04:00
Shiva Pochampally
92eabc8c2a Added meteo API functionality to the MongoDB agent and LLM summary 2025-09-28 00:49:47 -04:00
Shiva Pochampally
016b95a564 Added LLM and MongoDB Agent Scripts 2025-09-28 00:03:37 -04:00