I have upgraded llama_index to latest version : 0.6.20 and trying to run below code :
from llama_index import SimpleDirectoryReader
documents = SimpleDirectoryReader("./data", filename_as_id=True).load_data()
But, getting below error :
documents = SimpleDirectoryReader("input/multi", filename_as_id=True).load_data()
TypeError: init() got an unexpected keyword argument 'filename_as_id'
Add a reply
Sign up and join the conversation on Discord