Hello everyone! Encountered a weird behavior (prob a bug) from SimpleDirectoryReader and load_data(). Namely, when I try to get metadata with multiple workers it bugs out. ''' reader = SimpleDirectoryReader(dir=dir, file_metadata=get_meta) documents=reader.load_data(num_workers=4) '''
results in can't get attribute 'get_meta' on <module 'main'>