Find answers from the community

Updated 2 years ago

I was using simple directory reader and

I was using simple directory reader and had a couple of files out of about 100 I was ingesting that had some data that was not liked and it failed without a meaningful error message. Is there a way to get it to ignore or log errors, or other ways to better debug? Or alternatively I could just loop feed each document individually and can put in some error handling, any advice would be appreciated, thanks!
a
1 comment
Oh sorry I can see it in the docs now, must have overlooked it. Instead of deleting this, thought I would put the link incase anyone makes same oversight ... link: https://gpt-index.readthedocs.io/en/latest/reference/readers.html#gpt_index.readers.SimpleDirectoryReader
Add a reply
Sign up and join the conversation on Discord