An implementation of a LLM-powered Bot designed for the TuringGame. This implementation is based on the TuringBotClient library.
Follow these steps to set up the project and start using it:
This project uses uv for dependency management. You can install uv by following the official documentation: https://docs.astral.sh/uv/.
To install uv, run:
curl -LsSf https://astral.sh/uv/install.sh | shOnce uv is installed, sync all dependencies:
uv sync --all-extrasThis ensures all required dependencies, including optional extras, are installed for the environment.
Additionally, this project uses pre-commit to enforce code formatting and quality checks before committing changes. Set up the pre-commit hooks by running:
uv run pre-commit installTo manually check all files using pre-commit, run:
uv run pre-commit run --all-filesThis project requires a .env file for configuration.
- Copy the
.env.exampletemplate and create your own.envfile:cp .env.example .env
- Update the
.envfile with your actual secrets and credentials. - Ensure
.envis never committed to Git (it is already included in.gitignore).
The .env file is used by both Docker Compose and FourMind for configuration.
- Build the Docker container using the provided
docker-compose.ymlfile:docker compose up -d --build
- If no docker is available, start the bot using the following command:
uv run fourmind