(1) I can perfectly run the code in the notebook in deeplearning.AI.
(2) However, when I copied the code to run in vscode locally, I got the follow error:
(3) After some googling, I found that this may be due to the deployment of this model in Langchain which was not supported by openai any more. However, I do not have idea to change to another embedding model.
(4) I did follow to install these versions of libraries as
pip install crewai==0.28.8 crewai_tools==0.1.6 langchain_community==0.0.29
Thanks for help.