An end-to-end AI dashboard that combines Machine Learning predictions with real-time F1 telemetry and an LLM-powered Race Engineer.
- π Predictive Timing Engine: A Random Forest model (RΒ²: 0.98) that estimates session durations based on circuit, session type, and start time.
- π‘ Live Telemetry Integration: Real-time track weather and driver intervals fetched via the OpenF1 API.
- π€ AI Race Engineer: A specialized agent (Llama 3.3) equipped with domain-specific guardrails, capable of analyzing both historical dataframes and live telemetry.
- π Advanced Analytics: Interactive Plotly visualizations for circuit comparisons, feature importance, and duration distributions.
- Languages: Python
- AI/ML: Scikit-Learn, LangChain, Groq (Llama 3.3-70b)
- Data: Pandas, OpenF1 API
- Frontend: Streamlit, Plotly
- Environment: Dotenv for API security
The system uses a ReAct Agent framework. When a user asks a question, the agent:
- Checks the historical dataframe for schedule data.
- Injects Live Telemetry if the OpenF1 API is active.
- Uses its Internal Knowledge for historical or driver-specific queries.
- Operates under strict Domain Guardrails to maintain focus on F1.
- Clone the repo:
git clone https://github.com/yourusername/f1-ai-pitwall.git - Install dependencies:
pip install -r requirements.txt - Create a
.envfile and add yourGROQ_API_KEY. - Run the app:
streamlit run app.py
Developed by Mohammad Ayan
Final Year CSE Student