runtime error

Exit code: 3. Reason: ackage, level) File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 680, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 850, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/app/main.py", line 94, in <module> data_ingestion_from_directory() File "/app/main.py", line 42, in data_ingestion_from_directory index = VectorStoreIndex.from_documents(new_documents) File "/home/user/.local/lib/python3.9/site-packages/llama_index/core/indices/base.py", line 119, in from_documents return cls( File "/home/user/.local/lib/python3.9/site-packages/llama_index/core/indices/vector_store/base.py", line 72, in __init__ else Settings.embed_model File "/home/user/.local/lib/python3.9/site-packages/llama_index/core/settings.py", line 64, in embed_model self._embed_model = resolve_embed_model("default") File "/home/user/.local/lib/python3.9/site-packages/llama_index/core/embeddings/utils.py", line 66, in resolve_embed_model raise ValueError( 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-keys Consider using embed_model='local'. Visit our documentation for more embedding options: https://docs.llamaindex.ai/en/stable/module_guides/models/embeddings.html#modules ****** [2025-01-02 19:26:20 +0000] [7] [INFO] Worker exiting (pid: 7) [2025-01-02 19:26:22 +0000] [1] [ERROR] Worker (pid:7) exited with code 3 [2025-01-02 19:26:22 +0000] [1] [ERROR] Shutting down: Master [2025-01-02 19:26:22 +0000] [1] [ERROR] Reason: Worker failed to boot.

Container logs:

Fetching error logs...