Skip to content
Log in

LLM enrichment

Optional add-on: run an extra model pass with your own prompt over text, tables, or figures.

LLM enrichment is an optional add-on. It runs an extra model pass with your own prompt over form regions, tables, or figures, and changes how that content is written in the output. Pages without a matching block continue through r-1 unchanged. See Credit usage for the price of prompted blocks.

Add a prompt

Add an entry to enhance.agentic with a scope and a prompt:

result = client.parse.run(
    input=upload.file_id,
    settings={"model": "r-1"},
    enhance={
        "agentic": [{
            "scope": "table",
            "prompt": "Write each footnote marker as [n] after the value it belongs to.",
        }]
    },
)
const result = await client.parse.run({
  input: upload.file_id,
  settings: { model: 'r-1' },
  enhance: {
    agentic: [{
      scope: 'table',
      prompt: 'Write each footnote marker as [n] after the value it belongs to.',
    }],
  },
});
curl -X POST https://platform.reducto.ai/parse \
  -H "Authorization: Bearer $REDUCTO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "input": "reducto://your-file-id",
    "settings": {"model": "r-1"},
    "enhance": {
      "agentic": [{
        "scope": "table",
        "prompt": "Write each footnote marker as [n] after the value it belongs to."
      }]
    }
  }'

Scopes

scope Applies to Options
"text" Form regions, such as key-value fields. Not body text. prompt
"table" Tables. prompt, mode: "default" runs on tables likely to benefit, "max" runs on every table.
"figure" Figures. prompt, advanced_chart_agent (see Advanced chart extraction).

You can add one entry per scope in the same request.

An enhance.agentic entry without a prompt is a legacy Parse feature and does nothing useful on r-1. See Legacy Parse settings.

Type to search…

escClose