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

Parsing error on API but not frontend #555

Open
meghajadav opened this issue Dec 16, 2024 · 2 comments
Open

Parsing error on API but not frontend #555

meghajadav opened this issue Dec 16, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@meghajadav
Copy link

meghajadav commented Dec 16, 2024

Describe the bug
I have incorporated Llama parse in my code with premium_mode=True. llama-index==0.11 and llama-parse=0.5.17 when I am parsing the document using llamacloud it parses the document correctly with premium mode checked but the same document when parsed using API key from the code it parses incorrectly and from the credits i can see it is not using premium mode though set premium_mode=True.

Files
If possible, please provide the PDF file causing the issue.

Job ID
If you have it, please provide the ID of the job you ran.
You can find it here: https://cloud.llamaindex.ai/parse in the "History" tab.

Client:
Please remove untested options:

  • Python Library
  • API
  • Frontend (cloud.llamaindex.ai)
  • Typescript Library
  • Notebook

Additional context
Add any additional context about the problem here.
What options did you use? Premium mode, multimodal, fast mode, parsing instructions, etc.
Screenshots, code snippets, etc.

@meghajadav meghajadav added the bug Something isn't working label Dec 16, 2024
@meghajadav meghajadav changed the title I have incorporated Llama parse in my code with premium_mode=True. I have incorporated Llama parse in my code with premium_mode=True. llama-index==0.11 and llama-parse=0.5.17 when I am parsing the document using llamacloud it parses the document correctly with premium mode checked but the same document when parsed using API key from the code it parses incorrectly and from the credits i can see it is not using premium mode though set premium_mode=True. Dec 16, 2024
@meghajadav
Copy link
Author

parser = LlamaParse(
api_key = os.getenv('LLAMA_PARSER_API_KEY'),
result_type='markdown',
verbose=True,
language='en',
num_workers=2,
premium_mode=True
)

@BinaryBrain BinaryBrain changed the title I have incorporated Llama parse in my code with premium_mode=True. llama-index==0.11 and llama-parse=0.5.17 when I am parsing the document using llamacloud it parses the document correctly with premium mode checked but the same document when parsed using API key from the code it parses incorrectly and from the credits i can see it is not using premium mode though set premium_mode=True. Parsing error on API but not frontend Dec 18, 2024
@BinaryBrain
Copy link
Member

This shouldn't happen with premium_mode=True. Can you send me the jobID of the job created by your code so I can look at the logs?

@BinaryBrain BinaryBrain self-assigned this Dec 18, 2024
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