An automated solver for Concurso Primavera mathematics exams using GPT models. This project downloads exam papers from concursoprimavera.es, processes them, and solves them using OpenAI's GPT models.
demo.mp4
- Clone the repository:
git clone https://github.com/yourusername/GPT-Primavera.git
cd GPT-Primavera
- Create a
.env
file in the root directory and add your OpenAI API key:
OPENAI_API_KEY="your_api_key_here" (with quotes)
- Install dependencies:
pip install -r requirements.txt
You can change the GPT model by modifying the MODEL
variable in src/config.py
Run the main script to process and solve all exams:
python main.py
This will:
- Download exam papers and solutions
- Process and solve the exams
- Generate statistics