Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
π
π
π
Powered by
Hall
Inactive
Updated 2 years ago
0
Follow
Sub folders
Sub folders
Inactive
0
Follow
p
paapi
2 years ago
Β·
Hey I have a question so if I want to do indexing in a files folder where I have sub folders and in each of them there are files to index , is there any way I could I am kinda confused
L
p
3 comments
Share
Open in Discord
L
Logan M
2 years ago
Yea I think the simple directory reader will recursively check all folders, just gotta point it to the top level
Plain Text
Copy
documents = SimpleDirectoryReader("./data", recursive=True).load_data()
p
paapi
2 years ago
Alright thank you I will try it out
p
paapi
2 years ago
@Logan M thank you for the help it worked
Add a reply
Sign up and join the conversation on Discord
Join on Discord