---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://mixpeek.com/.well-known/search?q={query}"
  method: GET
  documentation: "https://mixpeek.com/llms.txt"
---

1.  [](/)
2.  [Capabilities](/capabilities)
3.  Document Structure Extraction

Back to Capabilities

Feature Extraction

# Document Structure Extraction

Extract structured document layout with sections, relationships, and VLM-corrected OCR

[Try Document Graph](/start)

### Why do anything?

Complex documents have structure (sections, tables, figures) that flat text extraction loses.

### Why now?

Document understanding requires preserving layout and relationships.

### Why this feature?

Extract document graph with sections, relationships, and VLM correction for OCR errors. Generates 1024D embeddings.

## How It Works

Document graph extractor preserves document structure with VLM-powered correction.

1

#### Layout Analysis

Detect sections, tables, figures

2

#### Graph Building

Build relationship graph between sections

3

#### VLM Correction

Vision-language model corrects OCR errors

4

#### Embedding

Generate 1024D embeddings per section

### Why This Approach

Graph structure preserves document semantics. VLM correction improves text quality.

## Where This Is Used

[

Enterprise

#### Complex Document Processing



](/enterprise)

## Integration

PythonAPI

client.collections.create(feature\_extractor={"feature\_extractor\_name": "document\_graph\_extractor", "version": "v1"})

[View Documentation](https://mixpeek.com/docs/overview/concepts)

## Related Capabilities

[

alternative

#### Text Extractor

Simpler text extraction



](/capabilities/text-extractor)