Overview & Risk Context

PDF understanding auditing submits a lightweight synthetic PDF document carrying deterministic verification tokens to verify end-to-end document ingestion.

What this check measures

Validates whether PDF file content blocks pass intact across the relay and return accurate extracted facts.

Why this risk matters

Relays that support plain chat reliably often drop native document/file blocks silently or reject them behind poorly mapped OpenAI-compatible adapters.

When to run this check

Opt in before shipping invoice, contract, paper, or report ingestion pipelines against third-party relays.

File attachments follow stricter MIME and content-block rules than plain JSON text. Testing a compact synthetic PDF confirms actual document parsing works without risking private files.

Detection Methodology, Evidence & Limitations

Capability-gated opt-in check inside @lmspeed/audit generating a controlled synthetic PDF token test.
  1. 1. Probe

    Attach a lightweight valid synthetic PDF holding deterministic verification text.

  2. 2. Inspect

    Deliver the file payload through standard OpenAI-compatible input structures and record acceptance behavior.

  3. 3. Conclude

    Verify retrieved verification tokens, or skip cleanly when endpoint capabilities exclude PDF input.

How to read the verdict

Accurate PDF marker extraction passes; dropped files or silent hallucinations flag compatibility issues, while text-only setups skip gracefully.

Evidence basis & thresholds

Response agreement against synthetic PDF marker tokens using clean document payload encoding.

Scope limits & abstention conditions

Opt-in probe excluded from default runs; tests single-page clean PDF transport rather than scanned multi-column OCR fidelity.

Verification Sources & Baselines

Implemented in @lmspeed/audit v0.3.3 (ruleset independent-2026-11-22.2); supplementary capability/injection design cross-checked against Veridrop, LLMprobe-engine, and meow-llm-detector specs.

  • lmspeed/audit (v0.3.3)Open-source LMSpeed probe engine, catalog registry, and calibrated fingerprint protocols.

Frequently Asked Questions

Does LMSpeed upload real user PDFs during auditing?

No—it builds a tiny self-contained synthetic PDF containing deterministic verification tokens only.

Why do many OpenAI-compatible relays struggle with PDF attachments?

Not all providers accept raw PDF content parts over `/v1/chat/completions`, and relay translation layers frequently omit document fields.

What if the API returns an unsupported file format error?

Explicit unsupported-format errors clarify compatibility limits honestly, whereas silent stripping misleads your pipeline.

How does PDF Understanding pair with Image Understanding?

Enable both opt-in checks together to audit complete multimodal document and image pipelines.

All audit checks by category

Explore every single-check audit tool grouped by risk domain, with Fingerprint Detection pinned first for model-authenticity verification.