Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

page separator not working on current llama parser version on python. #395

Open
bilalayaz2 opened this issue Sep 10, 2024 · 5 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@bilalayaz2
Copy link

Note: we're aware of some missing content in the output and layout issues on tables. Please refrain from opening new issues on this topic unless if you think it's different from what has already been reported.

Describe the bug
Llama parse current version's page separator parameter is not functional while accessing through the api.

Client:
Please remove untested options:

  • Python Library

Options
parser = LlamaParse(
api_key=self.api_key,
parsing_instruction=self.pi,
language="en",
page_separator="|======================|",
result_type=self.result_type,
do_not_cache=True,
invalidate_cache=True,
)

@bilalayaz2 bilalayaz2 added the bug Something isn't working label Sep 10, 2024
@hexapode hexapode self-assigned this Sep 10, 2024
@hexapode
Copy link
Contributor

Could you share a job_id with us where you envcounter the issue, we were not able to reproduce when using the api? You can found them in the history tab of cloud.llamaindex.ai/parse for past jobs.

@bilalayaz2
Copy link
Author

I just tried it again for you to give you a job_id but the history tab did not update so i currently have no job_id at hand.
And the same code works in llama-parse==0.4.9 on python.

@hexapode
Copy link
Contributor

We just update the history tab if you log now, it should allow you to see:
Job id
What went wrong during the parsing (page by page granularity)
The output

@hexapode
Copy link
Contributor

What version of the python package are you using we are currently at 0.5.5 on python

@bilalayaz2
Copy link
Author

bilalayaz2 commented Sep 11, 2024

I'm facing this issue on llama-parser 0.5.5 and tried on both python 3.12.0 and 3.12.6
Job-id = 26064475-e158-4eb1-8ade-49ed0dc25528
The result in job details on the history tab does contain the page separator but the response from the api thats saved as markdown does not have this page separator, but when I use llama-parse 0.4.9, page separator is present in the file saved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants