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 2 months ago
0
Follow
how to load all documents in the data
how to load all documents in the data
Inactive
0
Follow
m
mollel.
6 months ago
ยท
how to load all documents in the data folder
documents_gpt4o = parser_gpt4o.load_data("./data")
W
m
4 comments
Share
Open in Discord
W
WhiteFang_Jr
6 months ago
How did you created this parser? can you share that?
W
WhiteFang_Jr
6 months ago
Also the folder dir goes into the parser
m
mollel.
6 months ago
from llama_parse import LlamaParse
parser_gpt4o = LlamaParse(
result_type="markdown",
# api_key=api_key,
gpt4o_mode=True,
# gpt4o_api_key="<gpt4o_api_key>"
)
documents_gpt4o = parser_gpt4o.load_data("./data/Market Report_15 May 2024.pdf")
this works fines
But I need to load all pdf files from "data" directory
m
mollel.
6 months ago
i changed to list and it works thanks
Add a reply
Sign up and join the conversation on Discord
Join on Discord