Premium Mode
Premium mode leverages state-of-the-art multimodal models and heuristic text parsing techniques to extract text from the most complex documents with our best accuracy possible.
To use the premium mode, set premium_mode
to True
.
parser = LlamaParse(Using the API:
premium_mode=True
)
curl -X 'POST' \
'https://api.cloud.llamaindex.ai/api/parsing/upload' \
-H 'accept: application/json' \
-H 'Content-Type: multipart/form-data' \
-H "Authorization: Bearer $LLAMA_CLOUD_API_KEY" \
--form 'premium_mode="true"' \
-F 'file=@/path/to/your/file.pdf;type=application/pdf'