run-llama / llama_parse

Parse files for optimal RAG
https://www.llamaindex.ai
MIT License
3.19k stars 312 forks source link

premium mode code example #425

Closed zahidekilic closed 1 month ago

zahidekilic commented 1 month ago

When I parse the same document from the web interface with llamaparse premium, it reads it very well, but when I do it via the API, it reads it in lower quality. Can you share the python code of the premium parse operation done with the default options, without any options selected from the web interface?

BinaryBrain commented 1 month ago

Hi @zahidekilic, Premium Mode is working on my side when using the premium_mode parameter set to true via the API. Can you give me the JobID you have when calling the API? Maybe also the part of the code where you call the API.

zahidekilic commented 1 month ago

updating llama-index package saved my day. thank you for your response.

BinaryBrain commented 1 month ago

You're welcome :)