> ## Documentation Index
> Fetch the complete documentation index at: https://docs.moxus.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# PDF files

> Use PDF content for summarization, question answering, field extraction, table cleanup, and structured output.

PDF workflows are useful for contracts, papers, manuals, financial reports, product guides, and exported business documents. Extract the PDF content, pass the relevant context to a model, then ask for summaries, answers, or structured fields.

## Processing patterns

<Columns cols={2}>
  <Card title="Short documents" icon="file">
    Extract text and pass it directly as context when the document is short and well structured.
  </Card>

  <Card title="Long documents" icon="files">
    Split by section, page, or semantic chunk, then use retrieval and reranking for question answering.
  </Card>
</Columns>

## Suggested workflow

<Steps>
  <Step title="Extract text and page references">
    Keep headings, page numbers, and table context so answers can cite their source.
  </Step>

  <Step title="Chunk long documents">
    Split large PDFs by topic or page range to avoid sending unrelated context.
  </Step>

  <Step title="Choose an output format">
    Use prose for summaries, JSON for extraction, and Markdown tables for table cleanup.
  </Step>
</Steps>

<Warning>
  Before uploading contracts, financial records, HR files, or customer data, confirm your data policy and use isolated API keys with quota and model restrictions.
</Warning>

## Next steps

* [Embeddings and reranking](/en/guide/embeddings-and-rerank)
* [Structured output](/en/guide/structured-output)
