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 6 months ago
0
Follow
Anyone know why the JSONReader at https
Anyone know why the JSONReader at https
Inactive
0
Follow
d
denen99
6 months ago
Β·
Anyone know why the JSONReader at
https://github.com/run-llama/llama_index/blob/main/llama-index-core/llama_index/core/readers/json.py#L51
is not included in the default list of file extensions to Readers map
https://github.com/run-llama/llama_index/blob/main/llama-index-core/llama_index/core/readers/file/base.py#L69
?
L
d
5 comments
Share
Open in Discord
L
Logan M
6 months ago
mmmm not sure!
d
denen99
6 months ago
haha, should i submit a PR to include the mapping ? I dont think there is a way to override it outside the framework ?
d
denen99
6 months ago
https://github.com/run-llama/llama_index/pull/14419
L
Logan M
6 months ago
You can actually override, by passing in
file_extractor={".pdf", JSONReader()}
to the class constructor
Thanks for the PR though!
d
denen99
6 months ago
ah very cool
Add a reply
Sign up and join the conversation on Discord
Join on Discord