Hi @WhiteFang_Jr
When I execute this code, I encounter an issue with the following error:
ValueError:
**Could not load OpenAI embedding model. If you intended to use OpenAI, please check your OPENAI_API_KEY.
Original error:
No API key found for OpenAI.
Please set either the OPENAI_API_KEY environment variable or openai.api_key prior to initialization.
API keys can be found or created at
https://platform.openai.com/account/api-keysConsider using embed_model='local'.
Visit our documentation for more embedding options:
https://docs.llamaindex.ai/en/stable/module_guides/models/embeddings.html#modules**