1
Create a Python file
Create a file
session_state_in_instructions.py2
Add code to file
session_state_in_instructions.py
3
Create a virtual environment
Open the
Terminal and create a python virtual environment.4
Install libraries
5
Set OpenAI Key
6
Set your
OPENAI_API_KEY as an environment variable. You can get one from OpenAI.7
Mac
Windows
8
Run the team