3 ms·
did they break the api? from openai import OpenAI Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: cannot import name 'Op
by singularity2001 3y ago
did they break the api?
from openai import OpenAI
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'OpenAI' from 'openai'
If so where is the current documentation?
- petercooper 3y agov1.0/1.1 of the `openai` Python package differ significantly from the 0.x versions. You'll want to upgrade the package before following the instructions you were following. More info here: https://github.com/openai/openai-python/discussions/631 https://github.com/openai/openai-python/discussions/631
- singularity2001 3y agothanks, migration guide included! I wished this was linked or integrated visibly in public documentation