mirror of
https://github.com/MoonlitJolteon/frc-stat-predictor.git
synced 2025-10-31 21:20:20 +00:00
Installation and Setup
-
Prerequisites:
- Python 3.8+
- Ollama
-
Clone the Repository: (If you have not already, skip if you have the file contents)
-
Create a Virtual Environment:
python -m venv .venv source venv/bin/activate # On Windows use `venv\Scripts\activate` -
Install Dependencies:
pip install -r requirements.txt -
Set up Ollama:
- Download and install Ollama from https://ollama.com/.
- Run
ollama pull <model_name>to download the desired language model (e.g.,ollama pull llama2).
Configuration
- Configure:
- The code uses
config.json.exampleas a template. Copy this file toconfig.json. - Edit
config.jsonto provide- The Blue Alliance (TBA) API key
- Indiana Scouting Alliance (ISA) API key
- Preferred Ollama model
- The code uses
Running the Application
-
Run the Main Script:
python main.py
Description
Languages
Python
72.9%
HTML
27.1%