from llama_index.core import Settings from llama_index.llms.openai import OpenAI from llama_index.embeddings.openai import OpenAIEmbedding
--------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) <ipython-input-5-cb3dd03bead6> in <cell line: 2>() 1 from llama_index.core import Settings ----> 2 from llama_index.llms.openai import OpenAI 3 from llama_index.embeddings.openai import OpenAIEmbedding 4 5 embed_model = OpenAIEmbedding(model="text-embedding-3-large") ModuleNotFoundError: No module named 'llama_index.llms' --------------------------------------------------------------------------- NOTE: If your import is failing due to a missing package, you can manually install dependencies using either !pip or !apt. To view examples of installing some common dependencies, click the "Open Examples" button below. ---------------------------------------------------------------------------
pip install llama-index-llms-openai
pip install llama-index-embeddings-openai llama-index-agent-openai llama-parse