Traceback (most recent call last):
File "/home/adctme/Downloads/kmcraft/llamadex/start_un.py", line 107, in <module>
index = node_parser.get_nodes_from_documents(documents)
File "/home/adctme/.local/lib/python3.10/site-packages/llama_index/node_parser/interface.py", line 61, in get_nodes_from_documents
nodes = self._parse_nodes(documents, show_progress=show_progress,
kwargs) File "/home/adctme/.local/lib/python3.10/site-packages/llama_index/node_parser/relational/unstructured_element.py", line 294, in _parse_nodes nodes = self.get_nodes_from_node(node) File "/home/adctme/.local/lib/python3.10/site-packages/llama_index/node_parser/relational/unstructured_element.py", line 279, in get_nodes_from_node extract_table_summaries(table_elements, self.llm, self.summary_query_str) File "/home/adctme/.local/lib/python3.10/site-packages/llama_index/node_parser/relational/unstructured_element.py", line 126, in extract_table_summaries service_context = ServiceContext.from_defaults(llm=llm) File "/home/adctme/.local/lib/python3.10/site-packages/llama_index/service_context.py", line 188, in from_defaults embed_model = resolve_embed_model(embed_model) File "/home/adctme/.local/lib/python3.10/site-packages/llama_index/embeddings/utils.py", line 50, 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-keysConsider using embed_model='local'.
Visit our documentation for more embedding options:
https://docs.llamaindex.ai/en/stable/module_guides/models/embeddings.html#modules**