basic.py
Run the Example
1
Set up your virtual environment
2
Install dependencies
3
Export your Fireworks API key
4
Use the current Fireworks model
Replace
accounts/fireworks/models/llama-v3p1-405b-instruct with accounts/fireworks/models/gpt-oss-120b in the saved file.5
Run the example
Save the code above as
basic.py, then run: