# HeGFlow 


```bash
# Set up OpenAI API key and store in environment.
export OPENAI_API_KEY=<YOUR KEY HERE>

# Create environment with Python 3.10
conda create -n HeGFlow python=3.10 -y

# Activate environment
conda activate HeGFlow

# Install required packages
pip install -r requirements.txt

python experiments/run_GSM8K.py \
    --llm_name gpt-4o-mini \          
    --domain gsm8k \            
    --optimized_reflection True \              
    --data_dir "dataset/gsm8k"          