NEWVectors or files. Pick a path.Start →
    Training

    PDF Data Extraction Pipeline

    Extract structured data from PDFs including tables, forms, and text. Convert unstructured documents into structured, queryable data.

    text
    image
    Multi-Tier
    from mixpeek import Mixpeek
    client = Mixpeek(api_key="YOUR_API_KEY", namespace="pdf-data")
    # 1. A bucket for the invoices, and a collection that splits every page into
    # classified blocks (paragraph, table, form, list, header, figure) with OCR text
    bucket = client.buckets.create(
    bucket_name="invoices",
    bucket_schema={"properties": {"invoice": {"type": "pdf"}}},
    )
    collection = client.collections.create(
    collection_name="invoices",
    source={"type": "bucket", "bucket_ids": [bucket["bucket_id"]]},
    feature_extractor={
    "feature_extractor_name": "document_graph_extractor",
    "version": "v1",
    "parameters": {
    "layout_detector": "docling",
    },
    },
    )
    # 2. Upload and process
    client.buckets.upload(
    bucket["bucket_id"],
    blobs=[{"property": "invoice", "type": "pdf", "data": "s3://your-bucket/invoices/inv-1042.pdf"}],
    )
    client.collections.trigger(collection["collection_id"])
    # 3. Pull the table blocks, with page and bounding box
    tables = client.documents.list(
    collection["collection_id"],
    filters={"AND": [{"field": "object_type", "operator": "eq", "value": "table"}]},
    )
    for block in tables["results"]:
    print(block["page_number"], block["bbox"], block.get("text_corrected") or block["text_raw"])

    Feature Extractors

    Document Graph Extractor

    Decompose PDFs into spatial blocks (paragraphs, tables, forms, headers) with layout classification and E5 text embeddings.

    Retriever Stages

    Use Cases Using This Recipe

    Advanced
    8 min

    SNF Documentation Intelligence

    Automate MDS assessments and clinical documentation for skilled nursing facilities

    40% less time on charting

    Documentation time reduction

    Who It's For

    SNF operators, MDS coordinators, directors of nursing, and post-acute care organizations managing clinical documentation across skilled nursing facilities

    Intermediate

    Insurance Claims Document Processing

    Extract structured data from claims documents, photos, and correspondence automatically

    70% reduction in manual document handling

    Adjuster data entry time

    Who It's For

    Insurance carriers, claims adjusters, and third-party administrators processing 1,000+ claims monthly across property, casualty, auto, and health lines

    Intermediate

    Enterprise RAG Search

    Ask questions across all your enterprise data and get sourced, verifiable answers

    80% faster from question to answer

    Information retrieval time

    Who It's For

    Financial services firms, consulting organizations, legal teams, and enterprise knowledge workers who need to synthesize information across thousands of internal documents, reports, and presentations