Find answers from the community

s
F
Y
a
P
Updated last month

Hello herpaderp 7784 I am using the

Hello , I am using the RemoteDepthReader with the use_gpt_import flag set as true, however i still get an error saying Invalid document type: <class 'llama_index.readers.schema.base.Document'>.

It seems like it still returns Documents using the llama_index base class which is causing an issue still I still use gpt_index.

Are the document loaders defaulting to llama_index now irrespective of the use_gpt_import flag?

cc:
j
o
6 comments
hey @oguntadej , can you try refresh_cache=True?
by default we actually cache your existing files
I did, same issue. Finally figured it out
Seems like remote depth requires the remote, simpledirectoryreader and many more readers.

However, these readers are set up to use llama index
oh i see. so our refresh cache isn't recursive
that's a good catch @oguntadej
Add a reply
Sign up and join the conversation on Discord