Starting with V1.0, things like ``` import openai import config api_key = config.api_key openai.api_key = api_key openai.Completion.create(engine=...) ``` are no longer supported, hence needed to be replaced with something like ``` import config from openai import OpenAI client = OpenAI(api_key=config.api_key) client.completions.create(model=... ``` I have just noticed this while taking this [Udemy Course](https://www.udemy.com/course/the-ai-engineer-course-complete-ai-engineer-bootcamp/learn/)