Skip to content

ProcessingConfig

ProcessingConfig controls how EdgeParse processes PDFs. All fields have sensible defaults.

use edgeparse_core::api::config::ProcessingConfig;
let config = ProcessingConfig {
// All fields use defaults
..ProcessingConfig::default()
};

Configuration options are passed as keyword arguments:

import edgeparse
result = edgeparse.convert("document.pdf",
format="json",
pages="1-5",
table_method="cluster",
)

Configuration options are passed in an options object:

import { convert } from "edgeparse";
const result = convert("document.pdf", {
format: "json",
pages: "1-5",
tableMethod: "cluster",
});
OptionTypeDefaultDescription
formatstring"markdown"Output format
pagesstringall pagesPage range
table_methodstring"auto"Table detection: "border", "cluster", "auto"
hybridstringnoneHybrid backend