Find answers from the community

Home
Members
MindwhY
M
MindwhY
Offline, last seen 3 weeks ago
Joined January 21, 2025
If asking for structure outoput from LlamaParse, where is the JSON stored in the Documents object?

parser = LlamaParse(
verbose=True,
parse_mode="parse_page_with_llm",
disable_image_extraction=True,
structured_output=True,
structured_output_json_schema=cv_schema
)

Path to your PDF file

pdf_file_path = "./CV.pdf"

Load and parse the PDF file

documents = await parser.aload_data(pdf_file_path)

Print the structured output

for document in documents:
print(document.text)
1 comment
M
M
MindwhY
·

Turn

When the structured extractor python full stack app from create-llama with the --pro flag, switching use_llama_parse: bool = False to True it seems to through an async error when you try to upload or delete a file

Also, since I'm in here, I'm looking for where I can turn off embedings and just index the markdown
50 comments
L
M