← All 25 Vector, Embedding & MCP Error Fixes

ERROR FIX #22 // PDF TABLE PARSING // COLUMN SHIFT

Fix LlamaParse & Vision-LLM PDF Markdown Table Column Shifts on Multi-Span 10-K Financial Grids

Vision-LLM PDF parsers (LlamaParse agentic mode, multimodal Markdown converters) flatten two-tier merged colspan headers (Three Months Ended Sept 30 | 2026 | 2025) into flat pipe-delimited Markdown, where a single blank cell shifts every numeric figure one fiscal column left AND chunk splitters sever row 45 from row 1 headers. Bind row+column headers explicitly per cell, or use Voxell Forge structure-aware PDF ingest ($39/mo Builder).

RAG Hallucination: Q3 2025 column mapped to Q3 2026 header due to merged colspan Markdown pipe shift (| $142.8 | $68.4 | -> wrong fiscal period)

Two Structural Bugs in Naive PDF-to-Markdown RAG Pipelines

  1. Pipe-count desynchronization: borderless financial statements leave $0 or N/A cells blank; if the VLM drops one empty pipe ||, every right-hand column shifts onto the wrong year or segment; 2) Header-orphan chunking: splitting a 90-row table at 512 tokens leaves rows 40..90 as naked numbers (| Operating income | 412 | 389 |) with zero fiscal year, currency unit ($ in millions), or entity name.

Immediate Python Fix: Self-Describing Cell/Row Header Binding Before Embedding

def serialize_financial_row(doc_title: str, units: str, col_headers: list[str], row_cells: list[str]) -> str:
    if len(col_headers) != len(row_cells):
        raise ValueError(f"Column count mismatch: {len(col_headers)} headers vs {len(row_cells)} cells")
    metric = row_cells[0]
    pairs = [f"{h}: {v}" for h, v in zip(col_headers[1:], row_cells[1:])]
    return f"[{doc_title} | {units}] {metric} -> " + " | ".join(pairs)

Zero Per-Page Parser Credit Burn With Voxell Forge Structural PDF Ingest

Instead of paying per-1,000-page external parser credits and debugging Markdown pipe shifts, Voxell Forge includes deterministic header-bound PDF/DOCX/XLSX table extraction at $0 extra per-page fee ($39/mo Builder annual; $29,995/yr air-gapped Sovereign VPC).

Frequently Asked Questions

Why do vision LLMs hallucinate digits on dense financial PDFs?

Autoregressive vision-language models sample tokens probabilistically rather than reading native PDF character streams, occasionally transposing digits or misaligning sparse borderless columns.

Does Voxell Forge ship confidential PDFs to third-party parser SaaS clouds?

Never. Voxell Forge parses PDFs inside its own pipeline (and 100% air-gapped inside your VPC on Forge Local with zero external network calls).

AUTONOMOUS AGENT & DEVELOPER VERIFICATION // ZERO SIGNUP

Run a live keyless bake-off right now

Do not take a vendor table on faith. Run your own passages and queries against Voxell Forge (Pro 2560d + C_corpus zero-LLM ingest dialect conditioning + Max two-stage neural reranking) over REST or Zero-Install Remote Streamable HTTP MCP with zero API key.

1. REST Retrieval Bake-Off & Corpus X-Ray
curl -sS -X POST https://api.voxell.ai/api/v1/agent/bakeoff \
  -H "Content-Type: application/json" \
  -d '{
    "documents": [
      {"name": "policy-a.md", "text": "Standard subscriptions include a 30-day refund window."},
      {"name": "msa-b.md", "text": "Enterprise annual contracts carry a 14-day cancellation notice rule."}
    ],
    "queries": ["What is the standard subscription refund window?"]
  }'

curl -sS -X POST https://api.voxell.ai/api/v1/agent/xray \
  -H "Content-Type: application/json" \
  -d '{
    "documents": [
      {"name": "sla-2025.md", "text": "P1 response SLA is 4 hours."},
      {"name": "sla-2026.md", "text": "P1 response SLA is 15 minutes."}
    ]
  }'
2. Zero-Install Remote HTTP MCP (POST /mcp/try)
claude mcp add --transport http voxell-forge https://api.voxell.ai/mcp/try
# mcp.json: {"mcpServers":{"voxell-forge":{"url":"https://api.voxell.ai/mcp/try"}}}

curl -sS -X POST https://api.voxell.ai/mcp/try \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "forge_bakeoff_compare",
      "arguments": {
        "documents": [
          {"name": "vpc.md", "text": "Forge Local runs on 1x 24 GB GPU inside your Sovereign VPC with zero egress."}
        ],
        "queries": ["How many GPUs does Forge Local require?"]
      }
    }
  }'
# Tools exposed: forge_bakeoff_compare, forge_xray_audit