logical_puzzle.py
Run the Example
1
Set up your virtual environment
2
Install dependencies
3
Export your API keys
4
Run the example
Save the code above as
logical_puzzle.py, then run:Solve the missionaries-and-cannibals river crossing with an ASCII diagram, contrasting gpt-4o built-in chain-of-thought with a deepseek-reasoner reasoning model.
Set up your virtual environment
Install dependencies
Export your API keys
Run the example
logical_puzzle.py, then run: