life_in_500000_years.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
life_in_500000_years.py, then run:Compare gpt-4o built-in chain-of-thought against a deepseek-reasoner reasoning model on a 500,000-year sci-fi short story, streaming full reasoning for both.
Set up your virtual environment
Install dependencies
Export your API keys
Run the example
life_in_500000_years.py, then run: