Playground/Language & data/Document extraction
ReliabilityDocs
API ACTIVITY

Usage & budget

PLAYGROUND REQUEST LIMITS

Steady requests. Visible limits.

0 active · 0/20 queued

Default browser queue: one start every 1.2 seconds (at most 50/minute), up to 2 active calls and 20 waiting (lifted when server unthrottled mode is active). Waiting requests cancel when their run is stopped.

Default server limiter: 60 requests per rolling 60 seconds and 2 concurrent calls per server instance unless lifted by server configuration.

Source: playground policy in lib/requestRateLimit.ts. Upstream HTTP 429 pauses calls until its reported reset; without a reset time, retry requires your action. No automatic retries or background replay.

Connecting
Document extraction

Every value, grounded.

Find likely values. Let Herb choose. Trace each result back to the source.

Closed-set extraction
WORKSPACE GUIDE

Document extraction

Select dates, vendors and amounts from values actually present in a document.

DocumentCandidatesSource evidence

What you provide

Document text and the fields you select, such as date, counterparty, or amount. Use synthetic documents for experiments.

What happens

Local logic finds exact source candidates. Herb ranks those candidates plus null; it cannot invent a value outside the supplied set.

What you get

Selected values linked to source evidence, or null when no candidate is selected. Request failures stay visible as failed runs.

Walk through a run

  1. 01

    Start with a document

    Load the invoice or paste your own synthetic text.

  2. 02

    Choose the fields

    Select dates, counterparty, amount, or document type, then run extraction.

  3. 03

    Check the source

    Each selected value points back to exact source evidence. A null result means no value was selected.

Try this

Load the invoice, extract its fields, then remove the date from the source and compare the next result.

Execution limits

Herb can choose only from source candidates or null. A provider error is a failed run, not a missing value.

Explore the example. Check the evidence.

Source document

Plain text · up to 40,000 characters340
Fields to extract
01 Find candidates02 Rank with Herb

Values come directly from your document. Every field includes a null option.

10 candidates · 4 fields

Extracted fields

0/4
DocumentCandidatesSource evidence

The source has the answers.

Run extraction to see selected values, probabilities, and source evidence.

Probability is Herb’s score for its selected choice, not a guarantee of accuracy.