Find answers from the community

Updated 7 months ago

Anyone know why the JSONReader at https

At a glance

The post asks why the JSONReader is not included in the default list of file extensions to Readers map in the Llama Index project. The comments suggest that a community member may submit a pull request to include the mapping, but another community member points out that it can be overridden by passing in the file extractor to the class constructor. There is no explicitly marked answer in the comments.

Useful resources
L
d
5 comments
mmmm not sure!
haha, should i submit a PR to include the mapping ? I dont think there is a way to override it outside the framework ?
You can actually override, by passing in file_extractor={".pdf", JSONReader()} to the class constructor

Thanks for the PR though!
Add a reply
Sign up and join the conversation on Discord