openai.error.InvalidRequestError: Resource not found -> Model list

I guess something related to WSL. I closed the terminal, open a new one, and all now works. Very strange.

Anyhow, thanks for all the help!

1 Like

Need to pass deployment_id.
EMBEDDINGS = OpenAIEmbeddings(model_kwargs={“deployment_id”: “text-embedding-ada-002”}