Currently, the simplest way is to clone this repository and run the main.py
file.
- Ensure you have an openai API key in your environment variables.
# Put this in your .bashrc or .zshrc, to avoid having to do it every time
export OPENAI_API_KEY="your-api-key"
-
Be sure to open the Thymio Suite before running the script.
-
Run the script.
# Clone the repository
git clone https://github.com/AurelienRibon/thymio-by-llm.git
cd thymio-by-llm
# (optional) Create a virtual environment
pip3 -m venv .venv
source .venv/bin/activate
# Install the required packages
pip3 install -r requirements.txt
# Run the main file
python3 src/main.py