llama_index
llama_index copied to clipboard
Reading PDF file from cloud storage (GCS)
Hi there,
Came across SimpleDirectoryReader
which lets you read in a file, given the file path.
I have files that I store on cloud (Google Cloud Storage) that I fetch from. Is there a way to use SimpleDirectoryReader
without the path that's required, but instead provide the file itself?
Currently I workaround it with the following by parsing myself and providing the documents to GPTSimpleVectorIndex
.