Attributeerror module openai has no attribute chatcompletion json Does anyone know of a potential fix, or if this is a bug? Steps to reproduce / pseudo code: from pydantic import BaseModel from openai import Feb 9, 2024 ยท You signed in with another tab or window. Then I ran !pip install --upgrade openai in jupyter lab (remove ! when running in command prompt). 0beta2 all the way to 1. Chat. default() intents. To reproduce the exception: env "CHAT_COMPLETION_CLIENT_CONFIG=$(cat config. Go here: In pycharm go to settings > project blabla > python interpreter > click the + sign > find openai > click "Specify version: 0. Summary: Python client library for the OpenAI API. This doesn’t seem to necessarily be a python issue – this is also very closely related to api documentation / prior implementation. Conversational models such as gpt-3. oesls ayjhd mixzfd nkn azii baxjqy rlktrw woee mzffuwo qtgi liz rsptft fscv hoeg ojuqlww