Find answers from the community

Updated 2 years ago

Hey is it possible to create a single

Hey, is it possible to create a single documents file that loads data from a variety of sources. Eg. I load a website, then a pdf, then a google doc?
j
1 comment
hey! each data loader just returns a list of documents, you can just join them together into a bigger list if that works!

e.g.
Plain Text
docs1 = GoogleDocsReader(...).load_data(...)
docs2 = NotionReader(...).load_data(...)
docs3 = SimpleDirectoryReader(...).load_data(...)

does that help?
Add a reply
Sign up and join the conversation on Discord