This project contains a solver for the Gandalf AI challenge.
Before running the test environment, make sure you have set up your OpenAI API key as an environment variable named OPENAI_API_KEY
. You can do this by running:
export OPENAI_API_KEY=your_api_key_here
Replace your_api_key_here
with your actual OpenAI API key.
To run the test environment, follow these steps:
- Ensure you have Python 3.7+ installed on your system.
- Install the required dependencies:
pip install poetry poetry install
- Activate the virtual environment:
poetry shell
- Navigate to the solver directory:
cd solver
- Run the test_env.py file:
python -m tests.test_env
This will start the test environment, which will attempt to solve the Gandalf AI challenge using the implemented agent.