Skip to main content

Continuous Mode

Continuous mode's purpose is to parse files without any split between pages to have a better continuous result. It outputs only one page with all the content of the document.

It's especially better than other modes on documents that have tables that spans over two pages.

To use the continuous mode, set continuous_mode to True.

In Python:
parser = LlamaParse(
  continuous_mode=True
)
Using the API:
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 'continuous_mode="true"' \
  -F 'file=@/path/to/your/file.pdf;type=application/pdf'