Skip to content

Requirements

Install openai Python library

Before installing the module, simply run

pip install openai

You can also add it to your requirements.txt:

openai>=0.26.1

Note

The module works fine with any openai version >=0.26.1, but >=0.27.0 is recommended to use with ChatCompletion api.


Last update: April 30, 2023