Find answers from the community

Home
Members
oguntadej
o
oguntadej
Offline, last seen 2 months ago
Joined September 25, 2024
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:
6 comments
j
o
Hello @jerryjliu0 I get an null response whenever I try to query when I try to query the pinecone namespace. Here's the code:

indexer = GPTPineconeIndex('', pinecone_index=self.index, pinecone_kwargs={'namespace': self.namespace}) response = indexer.query(self.query) print(response) return response

Am I missing anything?
4 comments
o
j