Find answers from the community

S
Surya
Offline, last seen 6 months ago
Joined September 25, 2024
I am trying to follow https://gpt-index.readthedocs.io/en/latest/examples/query_engine/pdf_tables/recursive_retriever.html for reading a doc with table and text. I am trying in windows. The query engine engine is failing.

ValueError: Query id pandas1 not found in either retriever_dict or query_engine_dict
2 comments
S
b
I am facing Authorization error when I try to do import llama_index.
AuthenticationError Traceback (most recent call last)
File ~\AppData\Local\anaconda3\Lib\site-packages\tenacity__init.py:382, in Retrying.call__(self, fn, args, **kwargs) 381 try:--> 382 result = fn(args, kwargs) 383 except BaseException: # noqa: B902File C:\experiments\llama_index\llama_index\embeddings\openai.py:185, in get_embeddings(list_of_text, engine, kwargs)
183 list_of_text = [text.replace("\n", " ") for text in list_of_text]
--> 185 data = openai.Embedding.create(input=list_of_text, model=engine, **kwargs).data
186 return [d["embedding"] for d in data]
1 comment
L