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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Usage: marker_single [OPTIONS] FPATH
|
| 2 |
+
|
| 3 |
+
Convert a single PDF to markdown.
|
| 4 |
+
|
| 5 |
+
Options:
|
| 6 |
+
--force_layout_block [Line|Span|FigureGroup|TableGroup|ListGroup|PictureGroup|Page|Caption|Code|Figure|Footnote|Form|Equation|Handwriting|TextInlineMath|ListItem|PageFooter|PageHeader|Picture|SectionHeader|Table|Text|TableOfContents|Document|ComplexRegion|TableCell|Reference]
|
| 7 |
+
--llm_service TEXT LLM service to use - should be full import
|
| 8 |
+
path, like
|
| 9 |
+
marker.services.gemini.GoogleGeminiService
|
| 10 |
+
--converter_cls TEXT Converter class to use. Defaults to PDF
|
| 11 |
+
converter.
|
| 12 |
+
--use_llm BOOLEAN Enable higher quality processing with LLMs.
|
| 13 |
+
--languages TEXT Comma separated list of languages to use for
|
| 14 |
+
OCR.
|
| 15 |
+
--page_range TEXT Page range to convert, specify comma
|
| 16 |
+
separated page numbers or ranges. Example:
|
| 17 |
+
0,5-10,20
|
| 18 |
+
--disable_image_extraction Disable image extraction.
|
| 19 |
+
--disable_multiprocessing Disable multiprocessing.
|
| 20 |
+
--config_json TEXT Path to JSON file with additional
|
| 21 |
+
configuration.
|
| 22 |
+
--processors TEXT Comma separated list of processors to use.
|
| 23 |
+
Must use full module path.
|
| 24 |
+
--output_format [markdown|json|html]
|
| 25 |
+
Format to output results in.
|
| 26 |
+
-d, --debug Enable debug mode.
|
| 27 |
+
--output_dir PATH Directory to save output.
|
| 28 |
+
--lowres_image_dpi INTEGER DPI setting for low-resolution page images
|
| 29 |
+
used for Layout and Line Detection. Default
|
| 30 |
+
is 96. (Applies to: DocumentBuilder)
|
| 31 |
+
--highres_image_dpi INTEGER DPI setting for high-resolution page images
|
| 32 |
+
used for OCR. Default is 192. (Applies to:
|
| 33 |
+
DocumentBuilder)
|
| 34 |
+
--disable_ocr Disable OCR processing. Default is False.
|
| 35 |
+
(Applies to: DocumentBuilder)
|
| 36 |
+
--layout_batch_size OPTIONAL The batch size to use for the layout model.
|
| 37 |
+
Default is None, which will use the default
|
| 38 |
+
batch size for the model. (Applies to:
|
| 39 |
+
LayoutBuilder, LLMLayoutBuilder)
|
| 40 |
+
--force_layout_block TEXT Skip layout and force every page to be
|
| 41 |
+
treated as a specific block type. Default is
|
| 42 |
+
None. (Applies to: LayoutBuilder,
|
| 43 |
+
LLMLayoutBuilder)
|
| 44 |
+
--disable_tqdm Disable tqdm progress bars. Default is
|
| 45 |
+
False. (Applies to: LayoutBuilder,
|
| 46 |
+
LineBuilder, OcrBuilder, LLMLayoutBuilder,
|
| 47 |
+
EquationProcessor,
|
| 48 |
+
LLMComplexRegionProcessor,
|
| 49 |
+
LLMEquationProcessor, LLMFormProcessor,
|
| 50 |
+
LLMHandwritingProcessor,
|
| 51 |
+
LLMImageDescriptionProcessor,
|
| 52 |
+
LLMInlineMathLinesProcessor,
|
| 53 |
+
LLMMathBlockProcessor,
|
| 54 |
+
LLMSimpleBlockMetaProcessor,
|
| 55 |
+
LLMTableProcessor, LLMTableMergeProcessor,
|
| 56 |
+
TableProcessor)
|
| 57 |
+
--detection_batch_size OPTIONAL
|
| 58 |
+
The batch size to use for the detection
|
| 59 |
+
model. Default is None, which will use the
|
| 60 |
+
default batch size for the model. (Applies
|
| 61 |
+
to: LineBuilder, TableProcessor)
|
| 62 |
+
--ocr_error_batch_size OPTIONAL
|
| 63 |
+
The batch size to use for the ocr error
|
| 64 |
+
detection model. Default is None, which will
|
| 65 |
+
use the default batch size for the model.
|
| 66 |
+
(Applies to: LineBuilder)
|
| 67 |
+
--enable_table_ocr Whether to skip OCR on tables. The
|
| 68 |
+
TableProcessor will re-OCR them. Only
|
| 69 |
+
enable if the TableProcessor is not running.
|
| 70 |
+
Default is False. (Applies to: LineBuilder)
|
| 71 |
+
--layout_coverage_min_lines INTEGER
|
| 72 |
+
The minimum number of PdfProvider lines that
|
| 73 |
+
must be covered by the layout model to
|
| 74 |
+
consider the lines from the PdfProvider
|
| 75 |
+
valid. Default is 1. (Applies to:
|
| 76 |
+
LineBuilder)
|
| 77 |
+
--layout_coverage_threshold FLOAT
|
| 78 |
+
The minimum coverage ratio required for the
|
| 79 |
+
layout model to consider the lines from the
|
| 80 |
+
PdfProvider valid. Default is 0.25. (Applies
|
| 81 |
+
to: LineBuilder)
|
| 82 |
+
--min_document_ocr_threshold FLOAT
|
| 83 |
+
If less pages than this threshold are good,
|
| 84 |
+
OCR will happen in the document. Otherwise
|
| 85 |
+
it will not. Default is 0.85. (Applies to:
|
| 86 |
+
LineBuilder)
|
| 87 |
+
--span_inline_math_overlap_threshold FLOAT
|
| 88 |
+
The minimum overlap of a span with an inline
|
| 89 |
+
math box to consider for removal Default is
|
| 90 |
+
0.5. (Applies to: LineBuilder)
|
| 91 |
+
--char_inline_math_overlap_threshold FLOAT
|
| 92 |
+
The minimum overlap of a character with an
|
| 93 |
+
inline math box to consider for removal
|
| 94 |
+
Default is 0.5. (Applies to: LineBuilder)
|
| 95 |
+
--line_inline_math_overlap_threshold FLOAT
|
| 96 |
+
The minimum overlap of a line with an inline
|
| 97 |
+
math box to consider as a match Default is
|
| 98 |
+
0.0. (Applies to: LineBuilder)
|
| 99 |
+
--line_inline_min_overlap_pct FLOAT
|
| 100 |
+
The percentage of a provider line that has
|
| 101 |
+
to be covered by a math line. Default is
|
| 102 |
+
0.3. (Applies to: LineBuilder)
|
| 103 |
+
--line_text_overlap_threshold FLOAT
|
| 104 |
+
The minimum overlap of an equation with a
|
| 105 |
+
text line to consider as a match Default is
|
| 106 |
+
0.5. (Applies to: LineBuilder)
|
| 107 |
+
--inline_math_line_vertical_merge_threshold INTEGER
|
| 108 |
+
The maximum pixel distance between y1s for
|
| 109 |
+
two lines to be merged Default is 8.
|
| 110 |
+
(Applies to: LineBuilder)
|
| 111 |
+
--use_llm Whether to use the LLM model for advanced
|
| 112 |
+
processing. Default is False. (Applies to:
|
| 113 |
+
LineBuilder, LineMergeProcessor,
|
| 114 |
+
LLMComplexRegionProcessor,
|
| 115 |
+
LLMEquationProcessor, LLMFormProcessor,
|
| 116 |
+
LLMHandwritingProcessor,
|
| 117 |
+
LLMImageDescriptionProcessor,
|
| 118 |
+
LLMInlineMathLinesProcessor,
|
| 119 |
+
LLMMathBlockProcessor,
|
| 120 |
+
LLMSimpleBlockMetaProcessor,
|
| 121 |
+
LLMTableProcessor, LLMTableMergeProcessor,
|
| 122 |
+
PdfConverter, TableConverter)
|
| 123 |
+
--texify_inline_spans Whether to run texify on inline math spans.
|
| 124 |
+
Default is False. (Applies to: LineBuilder,
|
| 125 |
+
EquationProcessor)
|
| 126 |
+
--recognition_batch_size OPTIONAL
|
| 127 |
+
The batch size to use for the recognition
|
| 128 |
+
model. Default is None, which will use the
|
| 129 |
+
default batch size for the model. (Applies
|
| 130 |
+
to: OcrBuilder, TableProcessor)
|
| 131 |
+
--google_api_key TEXT The Google API key to use for the Gemini
|
| 132 |
+
model. Default is . (Applies to:
|
| 133 |
+
LLMLayoutBuilder, LLMComplexRegionProcessor,
|
| 134 |
+
LLMEquationProcessor, LLMFormProcessor,
|
| 135 |
+
LLMHandwritingProcessor,
|
| 136 |
+
LLMImageDescriptionProcessor,
|
| 137 |
+
LLMInlineMathLinesProcessor,
|
| 138 |
+
LLMMathBlockProcessor,
|
| 139 |
+
LLMSimpleBlockMetaProcessor,
|
| 140 |
+
LLMTableProcessor, LLMTableMergeProcessor)
|
| 141 |
+
--confidence_threshold FLOAT The confidence threshold to use for
|
| 142 |
+
relabeling (anything below is relabeled).
|
| 143 |
+
Default is 0.7. (Applies to:
|
| 144 |
+
LLMLayoutBuilder)
|
| 145 |
+
--picture_height_threshold FLOAT
|
| 146 |
+
The height threshold for pictures that may
|
| 147 |
+
actually be complex regions. (anything above
|
| 148 |
+
this ratio against the page is relabeled)
|
| 149 |
+
Default is 0.8. (Applies to:
|
| 150 |
+
LLMLayoutBuilder)
|
| 151 |
+
--model_name TEXT The name of the Gemini model to use. Default
|
| 152 |
+
is gemini-2.0-flash. (Applies to:
|
| 153 |
+
LLMLayoutBuilder, LLMComplexRegionProcessor,
|
| 154 |
+
LLMEquationProcessor, LLMFormProcessor,
|
| 155 |
+
LLMHandwritingProcessor,
|
| 156 |
+
LLMImageDescriptionProcessor,
|
| 157 |
+
LLMInlineMathLinesProcessor,
|
| 158 |
+
LLMMathBlockProcessor,
|
| 159 |
+
LLMSimpleBlockMetaProcessor,
|
| 160 |
+
LLMTableProcessor, LLMTableMergeProcessor)
|
| 161 |
+
--max_concurrency INTEGER The maximum number of concurrent requests to
|
| 162 |
+
make to the Gemini model. Default is 3.
|
| 163 |
+
(Applies to: LLMLayoutBuilder,
|
| 164 |
+
LLMComplexRegionProcessor,
|
| 165 |
+
LLMEquationProcessor, LLMFormProcessor,
|
| 166 |
+
LLMHandwritingProcessor,
|
| 167 |
+
LLMImageDescriptionProcessor,
|
| 168 |
+
LLMInlineMathLinesProcessor,
|
| 169 |
+
LLMMathBlockProcessor,
|
| 170 |
+
LLMSimpleBlockMetaProcessor,
|
| 171 |
+
LLMTableProcessor, LLMTableMergeProcessor)
|
| 172 |
+
--topk_relabelling_prompt TEXT The prompt to use for relabelling blocks.
|
| 173 |
+
Default is a string containing the Gemini
|
| 174 |
+
relabelling prompt. (Applies to:
|
| 175 |
+
LLMLayoutBuilder)
|
| 176 |
+
--complex_relabeling_prompt TEXT
|
| 177 |
+
The prompt to use for complex relabelling
|
| 178 |
+
blocks. Default is a string containing the
|
| 179 |
+
complex relabelling prompt. (Applies to:
|
| 180 |
+
LLMLayoutBuilder)
|
| 181 |
+
--gap_threshold FLOAT The minimum gap between blocks to consider
|
| 182 |
+
them part of the same group. Default is
|
| 183 |
+
0.05. (Applies to: StructureBuilder)
|
| 184 |
+
--list_gap_threshold FLOAT The minimum gap between list items to
|
| 185 |
+
consider them part of the same group.
|
| 186 |
+
Default is 0.1. (Applies to:
|
| 187 |
+
StructureBuilder)
|
| 188 |
+
--min_x_indent FLOAT The minimum horizontal indentation required
|
| 189 |
+
to consider a block as part of a blockquote.
|
| 190 |
+
Expressed as a percentage of the block
|
| 191 |
+
width. Default is 0.1. (Applies to:
|
| 192 |
+
BlockquoteProcessor, ListProcessor)
|
| 193 |
+
--x_start_tolerance FLOAT The maximum allowable difference between the
|
| 194 |
+
starting x-coordinates of consecutive blocks
|
| 195 |
+
to consider them aligned. Expressed as a
|
| 196 |
+
percentage of the block width. Default is
|
| 197 |
+
0.01. (Applies to: BlockquoteProcessor)
|
| 198 |
+
--x_end_tolerance FLOAT The maximum allowable difference between the
|
| 199 |
+
ending x-coordinates of consecutive blocks
|
| 200 |
+
to consider them aligned. Expressed as a
|
| 201 |
+
percentage of the block width. Default is
|
| 202 |
+
0.01. (Applies to: BlockquoteProcessor)
|
| 203 |
+
--debug_data_folder TEXT The folder to dump debug data to. Default is
|
| 204 |
+
debug_data. (Applies to: DebugProcessor)
|
| 205 |
+
--debug_layout_images Whether to dump layout debug images. Default
|
| 206 |
+
is False. (Applies to: DebugProcessor)
|
| 207 |
+
--debug_pdf_images Whether to dump PDF debug images. Default is
|
| 208 |
+
False. (Applies to: DebugProcessor)
|
| 209 |
+
--debug_json Whether to dump block debug data. Default is
|
| 210 |
+
False. (Applies to: DebugProcessor)
|
| 211 |
+
--model_max_length INTEGER The maximum number of tokens to allow for
|
| 212 |
+
the Texify model. Default is 768. (Applies
|
| 213 |
+
to: EquationProcessor)
|
| 214 |
+
--texify_batch_size OPTIONAL The batch size to use for the Texify model.
|
| 215 |
+
Default is None, which will use the default
|
| 216 |
+
batch size for the model. (Applies to:
|
| 217 |
+
EquationProcessor)
|
| 218 |
+
--token_buffer INTEGER The number of tokens to buffer above max for
|
| 219 |
+
the Texify model. Default is 256. (Applies
|
| 220 |
+
to: EquationProcessor)
|
| 221 |
+
--common_element_threshold FLOAT
|
| 222 |
+
The minimum ratio of pages a text block must
|
| 223 |
+
appear on to be considered a common element.
|
| 224 |
+
Blocks that meet or exceed this threshold
|
| 225 |
+
are marked as common elements. Default is
|
| 226 |
+
0.2. (Applies to: IgnoreTextProcessor)
|
| 227 |
+
--common_element_min_blocks INTEGER
|
| 228 |
+
The minimum number of occurrences of a text
|
| 229 |
+
block within a document to consider it a
|
| 230 |
+
common element. This ensures that rare
|
| 231 |
+
blocks are not mistakenly flagged. Default
|
| 232 |
+
is 3. (Applies to: IgnoreTextProcessor)
|
| 233 |
+
--max_streak INTEGER The maximum number of consecutive
|
| 234 |
+
occurrences of a text block allowed before
|
| 235 |
+
it is classified as a common element. Helps
|
| 236 |
+
to identify patterns like repeated headers
|
| 237 |
+
or footers. Default is 3. (Applies to:
|
| 238 |
+
IgnoreTextProcessor)
|
| 239 |
+
--text_match_threshold INTEGER The minimum fuzzy match score (0-100)
|
| 240 |
+
required to classify a text block as similar
|
| 241 |
+
to a common element. Higher values enforce
|
| 242 |
+
stricter matching. Default is 90. (Applies
|
| 243 |
+
to: IgnoreTextProcessor)
|
| 244 |
+
--min_merge_pct FLOAT The minimum percentage of intersection area
|
| 245 |
+
to consider merging. Default is 0.015.
|
| 246 |
+
(Applies to: LineMergeProcessor)
|
| 247 |
+
--block_expand_threshold FLOAT The percentage of the block width to expand
|
| 248 |
+
the bounding box. Default is 0.05. (Applies
|
| 249 |
+
to: LineMergeProcessor)
|
| 250 |
+
--min_merge_ydist FLOAT The minimum y distance between lines to
|
| 251 |
+
consider merging. Default is 5. (Applies to:
|
| 252 |
+
LineMergeProcessor)
|
| 253 |
+
--intersection_pct_threshold FLOAT
|
| 254 |
+
The total amount of intersection area
|
| 255 |
+
concentrated in the max intersection block.
|
| 256 |
+
Default is 0.5. (Applies to:
|
| 257 |
+
LineMergeProcessor)
|
| 258 |
+
--vertical_overlap_pct_threshold FLOAT
|
| 259 |
+
The minimum percentage of vertical overlap
|
| 260 |
+
to consider merging. Default is 0.8.
|
| 261 |
+
(Applies to: LineMergeProcessor)
|
| 262 |
+
--strip_numbers_threshold FLOAT
|
| 263 |
+
The fraction of lines or tokens in a block
|
| 264 |
+
that must be numeric to consider them as
|
| 265 |
+
line numbers. Default is 0.6. (Applies to:
|
| 266 |
+
LineNumbersProcessor)
|
| 267 |
+
--min_lines_in_block INTEGER The minimum number of lines required in a
|
| 268 |
+
block for it to be considered during
|
| 269 |
+
processing. Ensures that small blocks are
|
| 270 |
+
ignored as they are unlikely to contain
|
| 271 |
+
meaningful line numbers. Default is 4.
|
| 272 |
+
(Applies to: LineNumbersProcessor)
|
| 273 |
+
--min_line_length INTEGER The minimum length of a line (in characters)
|
| 274 |
+
to consider it significant when checking for
|
| 275 |
+
numeric prefixes or suffixes. Prevents false
|
| 276 |
+
positives for short lines. Default is 10.
|
| 277 |
+
(Applies to: LineNumbersProcessor)
|
| 278 |
+
--min_line_number_span_ratio FLOAT
|
| 279 |
+
The minimum ratio of detected line number
|
| 280 |
+
spans to total lines required to treat them
|
| 281 |
+
as line numbers. Default is 0.6. (Applies
|
| 282 |
+
to: LineNumbersProcessor)
|
| 283 |
+
--image_expansion_ratio FLOAT The ratio to expand the image by when
|
| 284 |
+
cropping. Default is 0.01. (Applies to:
|
| 285 |
+
LLMComplexRegionProcessor,
|
| 286 |
+
LLMEquationProcessor, LLMFormProcessor,
|
| 287 |
+
LLMHandwritingProcessor,
|
| 288 |
+
LLMImageDescriptionProcessor,
|
| 289 |
+
LLMInlineMathLinesProcessor,
|
| 290 |
+
LLMMathBlockProcessor,
|
| 291 |
+
LLMSimpleBlockMetaProcessor,
|
| 292 |
+
LLMTableProcessor, LLMTableMergeProcessor)
|
| 293 |
+
--min_equation_height FLOAT The minimum ratio between equation height
|
| 294 |
+
and page height to consider for processing.
|
| 295 |
+
Default is 0.06. (Applies to:
|
| 296 |
+
LLMEquationProcessor)
|
| 297 |
+
--redo_inline_math Whether to redo inline math blocks. Default
|
| 298 |
+
is False. (Applies to: LLMEquationProcessor,
|
| 299 |
+
LLMMathBlockProcessor)
|
| 300 |
+
--equation_latex_prompt TEXT The prompt to use for generating LaTeX from
|
| 301 |
+
equations. Default is a string containing
|
| 302 |
+
the Gemini prompt. (Applies to:
|
| 303 |
+
LLMEquationProcessor)
|
| 304 |
+
--handwriting_generation_prompt TEXT
|
| 305 |
+
The prompt to use for OCRing handwriting.
|
| 306 |
+
Default is a string containing the Gemini
|
| 307 |
+
prompt. (Applies to:
|
| 308 |
+
LLMHandwritingProcessor)
|
| 309 |
+
--extract_images BOOLEAN Extract images from the document. Default is
|
| 310 |
+
True. (Applies to:
|
| 311 |
+
LLMImageDescriptionProcessor, HTMLRenderer,
|
| 312 |
+
JSONRenderer, MarkdownRenderer)
|
| 313 |
+
--image_description_prompt TEXT
|
| 314 |
+
The prompt to use for generating image
|
| 315 |
+
descriptions. Default is a string containing
|
| 316 |
+
the Gemini prompt. (Applies to:
|
| 317 |
+
LLMImageDescriptionProcessor)
|
| 318 |
+
--math_line_batch_size INTEGER The number of math lines to batch together.
|
| 319 |
+
Default is 10. (Applies to:
|
| 320 |
+
LLMInlineMathLinesProcessor)
|
| 321 |
+
--inlinemath_min_ratio FLOAT If more than this ratio of blocks are
|
| 322 |
+
inlinemath blocks, assume everything has
|
| 323 |
+
math. Default is 0.4. (Applies to:
|
| 324 |
+
LLMMathBlockProcessor)
|
| 325 |
+
--max_rows_per_batch INTEGER If the table has more rows than this, chunk
|
| 326 |
+
the table. (LLMs can be inaccurate with a
|
| 327 |
+
lot of rows) Default is 60. (Applies to:
|
| 328 |
+
LLMTableProcessor)
|
| 329 |
+
--max_table_rows INTEGER The maximum number of rows in a table to
|
| 330 |
+
process with the LLM processor. Beyond this
|
| 331 |
+
will be skipped. Default is 175. (Applies
|
| 332 |
+
to: LLMTableProcessor)
|
| 333 |
+
--table_image_expansion_ratio FLOAT
|
| 334 |
+
The ratio to expand the image by when
|
| 335 |
+
cropping. Default is 0. (Applies to:
|
| 336 |
+
LLMTableProcessor)
|
| 337 |
+
--rotation_max_wh_ratio FLOAT The maximum width/height ratio for table
|
| 338 |
+
cells for a table to be considered rotated.
|
| 339 |
+
Default is 0.6. (Applies to:
|
| 340 |
+
LLMTableProcessor)
|
| 341 |
+
--table_rewriting_prompt TEXT The prompt to use for rewriting text.
|
| 342 |
+
Default is a string containing the Gemini
|
| 343 |
+
rewriting prompt. (Applies to:
|
| 344 |
+
LLMTableProcessor)
|
| 345 |
+
--table_height_threshold FLOAT The minimum height ratio relative to the
|
| 346 |
+
page for the first table in a pair to be
|
| 347 |
+
considered for merging. Default is 0.6.
|
| 348 |
+
(Applies to: LLMTableMergeProcessor)
|
| 349 |
+
--table_start_threshold FLOAT The maximum percentage down the page the
|
| 350 |
+
second table can start to be considered for
|
| 351 |
+
merging. Default is 0.2. (Applies to:
|
| 352 |
+
LLMTableMergeProcessor)
|
| 353 |
+
--vertical_table_height_threshold FLOAT
|
| 354 |
+
The height tolerance for 2 adjacent tables
|
| 355 |
+
to be merged into one. Default is 0.25.
|
| 356 |
+
(Applies to: LLMTableMergeProcessor)
|
| 357 |
+
--vertical_table_distance_threshold INTEGER
|
| 358 |
+
The maximum distance between table edges for
|
| 359 |
+
adjacency. Default is 20. (Applies to:
|
| 360 |
+
LLMTableMergeProcessor)
|
| 361 |
+
--horizontal_table_width_threshold FLOAT
|
| 362 |
+
The width tolerance for 2 adjacent tables to
|
| 363 |
+
be merged into one. Default is 0.25.
|
| 364 |
+
(Applies to: LLMTableMergeProcessor)
|
| 365 |
+
--horizontal_table_distance_threshold INTEGER
|
| 366 |
+
The maximum distance between table edges for
|
| 367 |
+
adjacency. Default is 10. (Applies to:
|
| 368 |
+
LLMTableMergeProcessor)
|
| 369 |
+
--column_gap_threshold INTEGER The maximum gap between columns to merge
|
| 370 |
+
tables Default is 50. (Applies to:
|
| 371 |
+
LLMTableMergeProcessor)
|
| 372 |
+
--table_merge_prompt TEXT The prompt to use for rewriting text.
|
| 373 |
+
Default is a string containing the Gemini
|
| 374 |
+
rewriting prompt. (Applies to:
|
| 375 |
+
LLMTableMergeProcessor)
|
| 376 |
+
--level_count INTEGER The number of levels to use for headings.
|
| 377 |
+
Default is 4. (Applies to:
|
| 378 |
+
SectionHeaderProcessor)
|
| 379 |
+
--merge_threshold FLOAT The minimum gap between headings to consider
|
| 380 |
+
them part of the same group. Default is
|
| 381 |
+
0.25. (Applies to: SectionHeaderProcessor)
|
| 382 |
+
--default_level INTEGER The default heading level to use if no
|
| 383 |
+
heading level is detected. Default is 2.
|
| 384 |
+
(Applies to: SectionHeaderProcessor)
|
| 385 |
+
--height_tolerance FLOAT The minimum height of a heading to consider
|
| 386 |
+
it a heading. Default is 0.99. (Applies to:
|
| 387 |
+
SectionHeaderProcessor)
|
| 388 |
+
--detect_boxes Whether to detect boxes for the table
|
| 389 |
+
recognition model. Default is False.
|
| 390 |
+
(Applies to: TableProcessor)
|
| 391 |
+
--table_rec_batch_size INTEGER The batch size to use for the table
|
| 392 |
+
recognition model. Default is None, which
|
| 393 |
+
will use the default batch size for the
|
| 394 |
+
model. (Applies to: TableProcessor)
|
| 395 |
+
--row_split_threshold FLOAT The percentage of rows that need to be split
|
| 396 |
+
across the table before row splitting is
|
| 397 |
+
active. Default is 0.5. (Applies to:
|
| 398 |
+
TableProcessor)
|
| 399 |
+
--pdftext_workers INTEGER The number of workers to use for pdftext.
|
| 400 |
+
Default is 1. (Applies to: TableProcessor,
|
| 401 |
+
DocumentProvider, PdfProvider, EpubProvider,
|
| 402 |
+
HTMLProvider, PowerPointProvider,
|
| 403 |
+
SpreadSheetProvider)
|
| 404 |
+
--column_gap_ratio FLOAT The minimum ratio of the page width to the
|
| 405 |
+
column gap to consider a column break.
|
| 406 |
+
Default is 0.02. (Applies to: TextProcessor)
|
| 407 |
+
--flatten_pdf BOOLEAN Whether to flatten the PDF structure.
|
| 408 |
+
Default is True. (Applies to:
|
| 409 |
+
DocumentProvider, PdfProvider, EpubProvider,
|
| 410 |
+
HTMLProvider, PowerPointProvider,
|
| 411 |
+
SpreadSheetProvider)
|
| 412 |
+
--force_ocr Whether to force OCR on the whole document.
|
| 413 |
+
Default is False. (Applies to:
|
| 414 |
+
DocumentProvider, PdfProvider, EpubProvider,
|
| 415 |
+
HTMLProvider, PowerPointProvider,
|
| 416 |
+
SpreadSheetProvider)
|
| 417 |
+
--ocr_space_threshold FLOAT The minimum ratio of spaces to non-spaces to
|
| 418 |
+
detect bad text. Default is 0.7. (Applies
|
| 419 |
+
to: DocumentProvider, PdfProvider,
|
| 420 |
+
EpubProvider, HTMLProvider,
|
| 421 |
+
PowerPointProvider, SpreadSheetProvider)
|
| 422 |
+
--ocr_newline_threshold FLOAT The minimum ratio of newlines to non-
|
| 423 |
+
newlines to detect bad text. Default is 0.6.
|
| 424 |
+
(Applies to: DocumentProvider, PdfProvider,
|
| 425 |
+
EpubProvider, HTMLProvider,
|
| 426 |
+
PowerPointProvider, SpreadSheetProvider)
|
| 427 |
+
--ocr_alphanum_threshold FLOAT The minimum ratio of alphanumeric characters
|
| 428 |
+
to non-alphanumeric characters to consider
|
| 429 |
+
an alphanumeric character. Default is 0.3.
|
| 430 |
+
(Applies to: DocumentProvider, PdfProvider,
|
| 431 |
+
EpubProvider, HTMLProvider,
|
| 432 |
+
PowerPointProvider, SpreadSheetProvider)
|
| 433 |
+
--image_threshold FLOAT The minimum coverage ratio of the image to
|
| 434 |
+
the page to consider skipping the page.
|
| 435 |
+
Default is 0.65. (Applies to:
|
| 436 |
+
DocumentProvider, PdfProvider, EpubProvider,
|
| 437 |
+
HTMLProvider, PowerPointProvider,
|
| 438 |
+
SpreadSheetProvider)
|
| 439 |
+
--strip_existing_ocr Whether to strip existing OCR text from the
|
| 440 |
+
PDF. Default is False. (Applies to:
|
| 441 |
+
DocumentProvider, PdfProvider, EpubProvider,
|
| 442 |
+
HTMLProvider, PowerPointProvider,
|
| 443 |
+
SpreadSheetProvider)
|
| 444 |
+
--disable_links Whether to disable links. Default is False.
|
| 445 |
+
(Applies to: DocumentProvider, PdfProvider,
|
| 446 |
+
EpubProvider, HTMLProvider,
|
| 447 |
+
PowerPointProvider, SpreadSheetProvider)
|
| 448 |
+
--image_count INTEGER Default is 1. (Applies to: ImageProvider)
|
| 449 |
+
--include_slide_number Default is False. (Applies to:
|
| 450 |
+
PowerPointProvider)
|
| 451 |
+
--paginate_output Whether to paginate the output. Default is
|
| 452 |
+
False. (Applies to: HTMLRenderer,
|
| 453 |
+
MarkdownRenderer)
|
| 454 |
+
--page_separator TEXT The separator to use between pages. Default
|
| 455 |
+
is '-' * 48. (Applies to: MarkdownRenderer)
|
| 456 |
+
--timeout INTEGER The timeout to use for the service. Default
|
| 457 |
+
is 30. (Applies to: ClaudeService,
|
| 458 |
+
GoogleGeminiService, OllamaService,
|
| 459 |
+
OpenAIService, GoogleVertexService)
|
| 460 |
+
--max_retries INTEGER The maximum number of retries to use for the
|
| 461 |
+
service. Default is 2. (Applies to:
|
| 462 |
+
ClaudeService, GoogleGeminiService,
|
| 463 |
+
OllamaService, OpenAIService,
|
| 464 |
+
GoogleVertexService)
|
| 465 |
+
--claude_model_name TEXT The name of the Google model to use for the
|
| 466 |
+
service. Default is
|
| 467 |
+
claude-3-7-sonnet-20250219. (Applies to:
|
| 468 |
+
ClaudeService)
|
| 469 |
+
--claude_api_key TEXT The Claude API key to use for the service.
|
| 470 |
+
Default is None. (Applies to: ClaudeService)
|
| 471 |
+
--max_claude_tokens INTEGER The maximum number of tokens to use for a
|
| 472 |
+
single Claude request. Default is 8192.
|
| 473 |
+
(Applies to: ClaudeService)
|
| 474 |
+
--gemini_model_name TEXT The name of the Google model to use for the
|
| 475 |
+
service. Default is gemini-2.0-flash.
|
| 476 |
+
(Applies to: GoogleGeminiService,
|
| 477 |
+
GoogleVertexService)
|
| 478 |
+
--gemini_api_key TEXT The Google API key to use for the service.
|
| 479 |
+
Default is None. (Applies to:
|
| 480 |
+
GoogleGeminiService)
|
| 481 |
+
--ollama_base_url TEXT The base url to use for ollama. No trailing
|
| 482 |
+
slash. Default is http://localhost:11434.
|
| 483 |
+
(Applies to: OllamaService)
|
| 484 |
+
--ollama_model TEXT The model name to use for ollama. Default is
|
| 485 |
+
llama3.2-vision. (Applies to: OllamaService)
|
| 486 |
+
--openai_base_url TEXT The base url to use for OpenAI-like models.
|
| 487 |
+
No trailing slash. Default is
|
| 488 |
+
https://api.openai.com/v1. (Applies to:
|
| 489 |
+
OpenAIService)
|
| 490 |
+
--openai_model TEXT The model name to use for OpenAI-like model.
|
| 491 |
+
Default is gpt-4o-mini. (Applies to:
|
| 492 |
+
OpenAIService)
|
| 493 |
+
--openai_api_key TEXT The API key to use for the OpenAI-like
|
| 494 |
+
service. Default is None. (Applies to:
|
| 495 |
+
OpenAIService)
|
| 496 |
+
--vertex_project_id TEXT Google Cloud Project ID for Vertex AI.
|
| 497 |
+
Default is None. (Applies to:
|
| 498 |
+
GoogleVertexService)
|
| 499 |
+
--vertex_location TEXT Google Cloud Location for Vertex AI. Default
|
| 500 |
+
is us-central1. (Applies to:
|
| 501 |
+
GoogleVertexService)
|
| 502 |
+
--vertex_dedicated Whether to use a dedicated Vertex AI
|
| 503 |
+
instance. Default is False. (Applies to:
|
| 504 |
+
GoogleVertexService)
|
| 505 |
+
--DocumentBuilder_lowres_image_dpi INTEGER
|
| 506 |
+
DPI setting for low-resolution page images
|
| 507 |
+
used for Layout and Line Detection. Default
|
| 508 |
+
is 96.
|
| 509 |
+
--DocumentBuilder_highres_image_dpi INTEGER
|
| 510 |
+
DPI setting for high-resolution page images
|
| 511 |
+
used for OCR. Default is 192.
|
| 512 |
+
--DocumentBuilder_disable_ocr Disable OCR processing. Default is False.
|
| 513 |
+
--LayoutBuilder_layout_batch_size OPTIONAL
|
| 514 |
+
The batch size to use for the layout model.
|
| 515 |
+
Default is None, which will use the default
|
| 516 |
+
batch size for the model.
|
| 517 |
+
--LayoutBuilder_force_layout_block TEXT
|
| 518 |
+
Skip layout and force every page to be
|
| 519 |
+
treated as a specific block type. Default is
|
| 520 |
+
None.
|
| 521 |
+
--LayoutBuilder_disable_tqdm Disable tqdm progress bars. Default is
|
| 522 |
+
False.
|
| 523 |
+
--LineBuilder_detection_batch_size OPTIONAL
|
| 524 |
+
The batch size to use for the detection
|
| 525 |
+
model. Default is None, which will use the
|
| 526 |
+
default batch size for the model.
|
| 527 |
+
--LineBuilder_ocr_error_batch_size OPTIONAL
|
| 528 |
+
The batch size to use for the ocr error
|
| 529 |
+
detection model. Default is None, which will
|
| 530 |
+
use the default batch size for the model.
|
| 531 |
+
--LineBuilder_enable_table_ocr Whether to skip OCR on tables. The
|
| 532 |
+
TableProcessor will re-OCR them. Only
|
| 533 |
+
enable if the TableProcessor is not running.
|
| 534 |
+
Default is False.
|
| 535 |
+
--LineBuilder_layout_coverage_min_lines INTEGER
|
| 536 |
+
The minimum number of PdfProvider lines that
|
| 537 |
+
must be covered by the layout model to
|
| 538 |
+
consider the lines from the PdfProvider
|
| 539 |
+
valid. Default is 1.
|
| 540 |
+
--LineBuilder_layout_coverage_threshold FLOAT
|
| 541 |
+
The minimum coverage ratio required for the
|
| 542 |
+
layout model to consider the lines from the
|
| 543 |
+
PdfProvider valid. Default is 0.25.
|
| 544 |
+
--LineBuilder_min_document_ocr_threshold FLOAT
|
| 545 |
+
If less pages than this threshold are good,
|
| 546 |
+
OCR will happen in the document. Otherwise
|
| 547 |
+
it will not. Default is 0.85.
|
| 548 |
+
--LineBuilder_span_inline_math_overlap_threshold FLOAT
|
| 549 |
+
The minimum overlap of a span with an inline
|
| 550 |
+
math box to consider for removal Default is
|
| 551 |
+
0.5.
|
| 552 |
+
--LineBuilder_char_inline_math_overlap_threshold FLOAT
|
| 553 |
+
The minimum overlap of a character with an
|
| 554 |
+
inline math box to consider for removal
|
| 555 |
+
Default is 0.5.
|
| 556 |
+
--LineBuilder_line_inline_math_overlap_threshold FLOAT
|
| 557 |
+
The minimum overlap of a line with an inline
|
| 558 |
+
math box to consider as a match Default is
|
| 559 |
+
0.0.
|
| 560 |
+
--LineBuilder_line_inline_min_overlap_pct FLOAT
|
| 561 |
+
The percentage of a provider line that has
|
| 562 |
+
to be covered by a math line. Default is
|
| 563 |
+
0.3.
|
| 564 |
+
--LineBuilder_line_text_overlap_threshold FLOAT
|
| 565 |
+
The minimum overlap of an equation with a
|
| 566 |
+
text line to consider as a match Default is
|
| 567 |
+
0.5.
|
| 568 |
+
--LineBuilder_inline_math_line_vertical_merge_threshold INTEGER
|
| 569 |
+
The maximum pixel distance between y1s for
|
| 570 |
+
two lines to be merged Default is 8.
|
| 571 |
+
--LineBuilder_use_llm Whether to use the LLM model for advanced
|
| 572 |
+
processing. Default is False.
|
| 573 |
+
--LineBuilder_texify_inline_spans
|
| 574 |
+
Whether to run texify on inline math spans.
|
| 575 |
+
Default is False.
|
| 576 |
+
--LineBuilder_disable_tqdm Disable tqdm progress bars. Default is
|
| 577 |
+
False.
|
| 578 |
+
--OcrBuilder_recognition_batch_size OPTIONAL
|
| 579 |
+
The batch size to use for the recognition
|
| 580 |
+
model. Default is None, which will use the
|
| 581 |
+
default batch size for the model.
|
| 582 |
+
--OcrBuilder_disable_tqdm Disable tqdm progress bars. Default is
|
| 583 |
+
False.
|
| 584 |
+
--LLMLayoutBuilder_layout_batch_size OPTIONAL
|
| 585 |
+
The batch size to use for the layout model.
|
| 586 |
+
Default is None, which will use the default
|
| 587 |
+
batch size for the model.
|
| 588 |
+
--LLMLayoutBuilder_force_layout_block TEXT
|
| 589 |
+
Skip layout and force every page to be
|
| 590 |
+
treated as a specific block type. Default is
|
| 591 |
+
None.
|
| 592 |
+
--LLMLayoutBuilder_disable_tqdm
|
| 593 |
+
Whether to disable the tqdm progress bar.
|
| 594 |
+
Default is False.
|
| 595 |
+
--LLMLayoutBuilder_google_api_key TEXT
|
| 596 |
+
The Google API key to use for the Gemini
|
| 597 |
+
model. Default is .
|
| 598 |
+
--LLMLayoutBuilder_confidence_threshold FLOAT
|
| 599 |
+
The confidence threshold to use for
|
| 600 |
+
relabeling (anything below is relabeled).
|
| 601 |
+
Default is 0.7.
|
| 602 |
+
--LLMLayoutBuilder_picture_height_threshold FLOAT
|
| 603 |
+
The height threshold for pictures that may
|
| 604 |
+
actually be complex regions. (anything above
|
| 605 |
+
this ratio against the page is relabeled)
|
| 606 |
+
Default is 0.8.
|
| 607 |
+
--LLMLayoutBuilder_model_name TEXT
|
| 608 |
+
The name of the Gemini model to use. Default
|
| 609 |
+
is gemini-2.0-flash.
|
| 610 |
+
--LLMLayoutBuilder_max_concurrency INTEGER
|
| 611 |
+
The maximum number of concurrent requests to
|
| 612 |
+
make to the Gemini model. Default is 3.
|
| 613 |
+
--LLMLayoutBuilder_topk_relabelling_prompt TEXT
|
| 614 |
+
The prompt to use for relabelling blocks.
|
| 615 |
+
Default is a string containing the Gemini
|
| 616 |
+
relabelling prompt.
|
| 617 |
+
--LLMLayoutBuilder_complex_relabeling_prompt TEXT
|
| 618 |
+
The prompt to use for complex relabelling
|
| 619 |
+
blocks. Default is a string containing the
|
| 620 |
+
complex relabelling prompt.
|
| 621 |
+
--StructureBuilder_gap_threshold FLOAT
|
| 622 |
+
The minimum gap between blocks to consider
|
| 623 |
+
them part of the same group. Default is
|
| 624 |
+
0.05.
|
| 625 |
+
--StructureBuilder_list_gap_threshold FLOAT
|
| 626 |
+
The minimum gap between list items to
|
| 627 |
+
consider them part of the same group.
|
| 628 |
+
Default is 0.1.
|
| 629 |
+
--BlockquoteProcessor_min_x_indent FLOAT
|
| 630 |
+
The minimum horizontal indentation required
|
| 631 |
+
to consider a block as part of a blockquote.
|
| 632 |
+
Expressed as a percentage of the block
|
| 633 |
+
width. Default is 0.1.
|
| 634 |
+
--BlockquoteProcessor_x_start_tolerance FLOAT
|
| 635 |
+
The maximum allowable difference between the
|
| 636 |
+
starting x-coordinates of consecutive blocks
|
| 637 |
+
to consider them aligned. Expressed as a
|
| 638 |
+
percentage of the block width. Default is
|
| 639 |
+
0.01.
|
| 640 |
+
--BlockquoteProcessor_x_end_tolerance FLOAT
|
| 641 |
+
The maximum allowable difference between the
|
| 642 |
+
ending x-coordinates of consecutive blocks
|
| 643 |
+
to consider them aligned. Expressed as a
|
| 644 |
+
percentage of the block width. Default is
|
| 645 |
+
0.01.
|
| 646 |
+
--DebugProcessor_debug_data_folder TEXT
|
| 647 |
+
The folder to dump debug data to. Default is
|
| 648 |
+
debug_data.
|
| 649 |
+
--DebugProcessor_debug_layout_images
|
| 650 |
+
Whether to dump layout debug images. Default
|
| 651 |
+
is False.
|
| 652 |
+
--DebugProcessor_debug_pdf_images
|
| 653 |
+
Whether to dump PDF debug images. Default is
|
| 654 |
+
False.
|
| 655 |
+
--DebugProcessor_debug_json Whether to dump block debug data. Default is
|
| 656 |
+
False.
|
| 657 |
+
--EquationProcessor_model_max_length INTEGER
|
| 658 |
+
The maximum number of tokens to allow for
|
| 659 |
+
the Texify model. Default is 768.
|
| 660 |
+
--EquationProcessor_texify_batch_size OPTIONAL
|
| 661 |
+
The batch size to use for the Texify model.
|
| 662 |
+
Default is None, which will use the default
|
| 663 |
+
batch size for the model.
|
| 664 |
+
--EquationProcessor_token_buffer INTEGER
|
| 665 |
+
The number of tokens to buffer above max for
|
| 666 |
+
the Texify model. Default is 256.
|
| 667 |
+
--EquationProcessor_disable_tqdm
|
| 668 |
+
Whether to disable the tqdm progress bar.
|
| 669 |
+
Default is False.
|
| 670 |
+
--EquationProcessor_texify_inline_spans
|
| 671 |
+
Whether to run texify on inline math spans.
|
| 672 |
+
Default is False.
|
| 673 |
+
--IgnoreTextProcessor_common_element_threshold FLOAT
|
| 674 |
+
The minimum ratio of pages a text block must
|
| 675 |
+
appear on to be considered a common element.
|
| 676 |
+
Blocks that meet or exceed this threshold
|
| 677 |
+
are marked as common elements. Default is
|
| 678 |
+
0.2.
|
| 679 |
+
--IgnoreTextProcessor_common_element_min_blocks INTEGER
|
| 680 |
+
The minimum number of occurrences of a text
|
| 681 |
+
block within a document to consider it a
|
| 682 |
+
common element. This ensures that rare
|
| 683 |
+
blocks are not mistakenly flagged. Default
|
| 684 |
+
is 3.
|
| 685 |
+
--IgnoreTextProcessor_max_streak INTEGER
|
| 686 |
+
The maximum number of consecutive
|
| 687 |
+
occurrences of a text block allowed before
|
| 688 |
+
it is classified as a common element. Helps
|
| 689 |
+
to identify patterns like repeated headers
|
| 690 |
+
or footers. Default is 3.
|
| 691 |
+
--IgnoreTextProcessor_text_match_threshold INTEGER
|
| 692 |
+
The minimum fuzzy match score (0-100)
|
| 693 |
+
required to classify a text block as similar
|
| 694 |
+
to a common element. Higher values enforce
|
| 695 |
+
stricter matching. Default is 90.
|
| 696 |
+
--LineMergeProcessor_min_merge_pct FLOAT
|
| 697 |
+
The minimum percentage of intersection area
|
| 698 |
+
to consider merging. Default is 0.015.
|
| 699 |
+
--LineMergeProcessor_block_expand_threshold FLOAT
|
| 700 |
+
The percentage of the block width to expand
|
| 701 |
+
the bounding box. Default is 0.05.
|
| 702 |
+
--LineMergeProcessor_min_merge_ydist FLOAT
|
| 703 |
+
The minimum y distance between lines to
|
| 704 |
+
consider merging. Default is 5.
|
| 705 |
+
--LineMergeProcessor_intersection_pct_threshold FLOAT
|
| 706 |
+
The total amount of intersection area
|
| 707 |
+
concentrated in the max intersection block.
|
| 708 |
+
Default is 0.5.
|
| 709 |
+
--LineMergeProcessor_vertical_overlap_pct_threshold FLOAT
|
| 710 |
+
The minimum percentage of vertical overlap
|
| 711 |
+
to consider merging. Default is 0.8.
|
| 712 |
+
--LineMergeProcessor_use_llm Whether to use LLMs to improve accuracy.
|
| 713 |
+
Default is False.
|
| 714 |
+
--LineNumbersProcessor_strip_numbers_threshold FLOAT
|
| 715 |
+
The fraction of lines or tokens in a block
|
| 716 |
+
that must be numeric to consider them as
|
| 717 |
+
line numbers. Default is 0.6.
|
| 718 |
+
--LineNumbersProcessor_min_lines_in_block INTEGER
|
| 719 |
+
The minimum number of lines required in a
|
| 720 |
+
block for it to be considered during
|
| 721 |
+
processing. Ensures that small blocks are
|
| 722 |
+
ignored as they are unlikely to contain
|
| 723 |
+
meaningful line numbers. Default is 4.
|
| 724 |
+
--LineNumbersProcessor_min_line_length INTEGER
|
| 725 |
+
The minimum length of a line (in characters)
|
| 726 |
+
to consider it significant when checking for
|
| 727 |
+
numeric prefixes or suffixes. Prevents false
|
| 728 |
+
positives for short lines. Default is 10.
|
| 729 |
+
--LineNumbersProcessor_min_line_number_span_ratio FLOAT
|
| 730 |
+
The minimum ratio of detected line number
|
| 731 |
+
spans to total lines required to treat them
|
| 732 |
+
as line numbers. Default is 0.6.
|
| 733 |
+
--ListProcessor_min_x_indent FLOAT
|
| 734 |
+
The minimum horizontal indentation required
|
| 735 |
+
to consider a block as a nested list item.
|
| 736 |
+
This is expressed as a percentage of the
|
| 737 |
+
page width and is used to determine
|
| 738 |
+
hierarchical relationships within a list.
|
| 739 |
+
Default is 0.01.
|
| 740 |
+
--LLMComplexRegionProcessor_google_api_key TEXT
|
| 741 |
+
The Google API key to use for the Gemini
|
| 742 |
+
model. Default is .
|
| 743 |
+
--LLMComplexRegionProcessor_model_name TEXT
|
| 744 |
+
The name of the Gemini model to use. Default
|
| 745 |
+
is gemini-2.0-flash.
|
| 746 |
+
--LLMComplexRegionProcessor_max_concurrency INTEGER
|
| 747 |
+
The maximum number of concurrent requests to
|
| 748 |
+
make to the Gemini model. Default is 3.
|
| 749 |
+
--LLMComplexRegionProcessor_image_expansion_ratio FLOAT
|
| 750 |
+
The ratio to expand the image by when
|
| 751 |
+
cropping. Default is 0.01.
|
| 752 |
+
--LLMComplexRegionProcessor_use_llm
|
| 753 |
+
Whether to use the LLM model. Default is
|
| 754 |
+
False.
|
| 755 |
+
--LLMComplexRegionProcessor_disable_tqdm
|
| 756 |
+
Whether to disable the tqdm progress bar.
|
| 757 |
+
Default is False.
|
| 758 |
+
--LLMEquationProcessor_google_api_key TEXT
|
| 759 |
+
The Google API key to use for the Gemini
|
| 760 |
+
model. Default is .
|
| 761 |
+
--LLMEquationProcessor_model_name TEXT
|
| 762 |
+
The name of the Gemini model to use. Default
|
| 763 |
+
is gemini-2.0-flash.
|
| 764 |
+
--LLMEquationProcessor_max_concurrency INTEGER
|
| 765 |
+
The maximum number of concurrent requests to
|
| 766 |
+
make to the Gemini model. Default is 3.
|
| 767 |
+
--LLMEquationProcessor_image_expansion_ratio FLOAT
|
| 768 |
+
The ratio to expand the image by when
|
| 769 |
+
cropping. Default is 0.05.
|
| 770 |
+
--LLMEquationProcessor_use_llm Whether to use the LLM model. Default is
|
| 771 |
+
False.
|
| 772 |
+
--LLMEquationProcessor_disable_tqdm
|
| 773 |
+
Whether to disable the tqdm progress bar.
|
| 774 |
+
Default is False.
|
| 775 |
+
--LLMEquationProcessor_min_equation_height FLOAT
|
| 776 |
+
The minimum ratio between equation height
|
| 777 |
+
and page height to consider for processing.
|
| 778 |
+
Default is 0.06.
|
| 779 |
+
--LLMEquationProcessor_redo_inline_math
|
| 780 |
+
Whether to redo inline math blocks. Default
|
| 781 |
+
is False.
|
| 782 |
+
--LLMEquationProcessor_equation_latex_prompt TEXT
|
| 783 |
+
The prompt to use for generating LaTeX from
|
| 784 |
+
equations. Default is a string containing
|
| 785 |
+
the Gemini prompt.
|
| 786 |
+
--LLMFormProcessor_google_api_key TEXT
|
| 787 |
+
The Google API key to use for the Gemini
|
| 788 |
+
model. Default is .
|
| 789 |
+
--LLMFormProcessor_model_name TEXT
|
| 790 |
+
The name of the Gemini model to use. Default
|
| 791 |
+
is gemini-2.0-flash.
|
| 792 |
+
--LLMFormProcessor_max_concurrency INTEGER
|
| 793 |
+
The maximum number of concurrent requests to
|
| 794 |
+
make to the Gemini model. Default is 3.
|
| 795 |
+
--LLMFormProcessor_image_expansion_ratio FLOAT
|
| 796 |
+
The ratio to expand the image by when
|
| 797 |
+
cropping. Default is 0.01.
|
| 798 |
+
--LLMFormProcessor_use_llm Whether to use the LLM model. Default is
|
| 799 |
+
False.
|
| 800 |
+
--LLMFormProcessor_disable_tqdm
|
| 801 |
+
Whether to disable the tqdm progress bar.
|
| 802 |
+
Default is False.
|
| 803 |
+
--LLMHandwritingProcessor_google_api_key TEXT
|
| 804 |
+
The Google API key to use for the Gemini
|
| 805 |
+
model. Default is .
|
| 806 |
+
--LLMHandwritingProcessor_model_name TEXT
|
| 807 |
+
The name of the Gemini model to use. Default
|
| 808 |
+
is gemini-2.0-flash.
|
| 809 |
+
--LLMHandwritingProcessor_max_concurrency INTEGER
|
| 810 |
+
The maximum number of concurrent requests to
|
| 811 |
+
make to the Gemini model. Default is 3.
|
| 812 |
+
--LLMHandwritingProcessor_image_expansion_ratio FLOAT
|
| 813 |
+
The ratio to expand the image by when
|
| 814 |
+
cropping. Default is 0.01.
|
| 815 |
+
--LLMHandwritingProcessor_use_llm
|
| 816 |
+
Whether to use the LLM model. Default is
|
| 817 |
+
False.
|
| 818 |
+
--LLMHandwritingProcessor_disable_tqdm
|
| 819 |
+
Whether to disable the tqdm progress bar.
|
| 820 |
+
Default is False.
|
| 821 |
+
--LLMHandwritingProcessor_handwriting_generation_prompt TEXT
|
| 822 |
+
The prompt to use for OCRing handwriting.
|
| 823 |
+
Default is a string containing the Gemini
|
| 824 |
+
prompt.
|
| 825 |
+
--LLMImageDescriptionProcessor_google_api_key TEXT
|
| 826 |
+
The Google API key to use for the Gemini
|
| 827 |
+
model. Default is .
|
| 828 |
+
--LLMImageDescriptionProcessor_model_name TEXT
|
| 829 |
+
The name of the Gemini model to use. Default
|
| 830 |
+
is gemini-2.0-flash.
|
| 831 |
+
--LLMImageDescriptionProcessor_max_concurrency INTEGER
|
| 832 |
+
The maximum number of concurrent requests to
|
| 833 |
+
make to the Gemini model. Default is 3.
|
| 834 |
+
--LLMImageDescriptionProcessor_image_expansion_ratio FLOAT
|
| 835 |
+
The ratio to expand the image by when
|
| 836 |
+
cropping. Default is 0.01.
|
| 837 |
+
--LLMImageDescriptionProcessor_use_llm
|
| 838 |
+
Whether to use the LLM model. Default is
|
| 839 |
+
False.
|
| 840 |
+
--LLMImageDescriptionProcessor_disable_tqdm
|
| 841 |
+
Whether to disable the tqdm progress bar.
|
| 842 |
+
Default is False.
|
| 843 |
+
--LLMImageDescriptionProcessor_extract_images BOOLEAN
|
| 844 |
+
Extract images from the document. Default is
|
| 845 |
+
True.
|
| 846 |
+
--LLMImageDescriptionProcessor_image_description_prompt TEXT
|
| 847 |
+
The prompt to use for generating image
|
| 848 |
+
descriptions. Default is a string containing
|
| 849 |
+
the Gemini prompt.
|
| 850 |
+
--LLMInlineMathLinesProcessor_google_api_key TEXT
|
| 851 |
+
The Google API key to use for the Gemini
|
| 852 |
+
model. Default is .
|
| 853 |
+
--LLMInlineMathLinesProcessor_model_name TEXT
|
| 854 |
+
The name of the Gemini model to use. Default
|
| 855 |
+
is gemini-2.0-flash.
|
| 856 |
+
--LLMInlineMathLinesProcessor_max_concurrency INTEGER
|
| 857 |
+
The maximum number of concurrent requests to
|
| 858 |
+
make to the Gemini model. Default is 3.
|
| 859 |
+
--LLMInlineMathLinesProcessor_image_expansion_ratio FLOAT
|
| 860 |
+
The ratio to expand the image by when
|
| 861 |
+
cropping. Default is 0.01.
|
| 862 |
+
--LLMInlineMathLinesProcessor_use_llm
|
| 863 |
+
Whether to use the LLM model. Default is
|
| 864 |
+
False.
|
| 865 |
+
--LLMInlineMathLinesProcessor_disable_tqdm
|
| 866 |
+
Whether to disable the tqdm progress bar.
|
| 867 |
+
Default is False.
|
| 868 |
+
--LLMInlineMathLinesProcessor_math_line_batch_size INTEGER
|
| 869 |
+
The number of math lines to batch together.
|
| 870 |
+
Default is 10.
|
| 871 |
+
--LLMMathBlockProcessor_google_api_key TEXT
|
| 872 |
+
The Google API key to use for the Gemini
|
| 873 |
+
model. Default is .
|
| 874 |
+
--LLMMathBlockProcessor_model_name TEXT
|
| 875 |
+
The name of the Gemini model to use. Default
|
| 876 |
+
is gemini-2.0-flash.
|
| 877 |
+
--LLMMathBlockProcessor_max_concurrency INTEGER
|
| 878 |
+
The maximum number of concurrent requests to
|
| 879 |
+
make to the Gemini model. Default is 3.
|
| 880 |
+
--LLMMathBlockProcessor_image_expansion_ratio FLOAT
|
| 881 |
+
The ratio to expand the image by when
|
| 882 |
+
cropping. Default is 0.01.
|
| 883 |
+
--LLMMathBlockProcessor_use_llm
|
| 884 |
+
Whether to use the LLM model. Default is
|
| 885 |
+
False.
|
| 886 |
+
--LLMMathBlockProcessor_disable_tqdm
|
| 887 |
+
Whether to disable the tqdm progress bar.
|
| 888 |
+
Default is False.
|
| 889 |
+
--LLMMathBlockProcessor_redo_inline_math
|
| 890 |
+
If True, the inline math will be re-done,
|
| 891 |
+
otherwise it will be left as is. Default is
|
| 892 |
+
False.
|
| 893 |
+
--LLMMathBlockProcessor_inlinemath_min_ratio FLOAT
|
| 894 |
+
If more than this ratio of blocks are
|
| 895 |
+
inlinemath blocks, assume everything has
|
| 896 |
+
math. Default is 0.4.
|
| 897 |
+
--LLMSimpleBlockMetaProcessor_google_api_key TEXT
|
| 898 |
+
The Google API key to use for the Gemini
|
| 899 |
+
model. Default is .
|
| 900 |
+
--LLMSimpleBlockMetaProcessor_model_name TEXT
|
| 901 |
+
The name of the Gemini model to use. Default
|
| 902 |
+
is gemini-2.0-flash.
|
| 903 |
+
--LLMSimpleBlockMetaProcessor_max_concurrency INTEGER
|
| 904 |
+
The maximum number of concurrent requests to
|
| 905 |
+
make to the Gemini model. Default is 3.
|
| 906 |
+
--LLMSimpleBlockMetaProcessor_image_expansion_ratio FLOAT
|
| 907 |
+
The ratio to expand the image by when
|
| 908 |
+
cropping. Default is 0.01.
|
| 909 |
+
--LLMSimpleBlockMetaProcessor_use_llm
|
| 910 |
+
Whether to use the LLM model. Default is
|
| 911 |
+
False.
|
| 912 |
+
--LLMSimpleBlockMetaProcessor_disable_tqdm
|
| 913 |
+
Whether to disable the tqdm progress bar.
|
| 914 |
+
Default is False.
|
| 915 |
+
--LLMTableProcessor_google_api_key TEXT
|
| 916 |
+
The Google API key to use for the Gemini
|
| 917 |
+
model. Default is .
|
| 918 |
+
--LLMTableProcessor_model_name TEXT
|
| 919 |
+
The name of the Gemini model to use. Default
|
| 920 |
+
is gemini-2.0-flash.
|
| 921 |
+
--LLMTableProcessor_max_concurrency INTEGER
|
| 922 |
+
The maximum number of concurrent requests to
|
| 923 |
+
make to the Gemini model. Default is 3.
|
| 924 |
+
--LLMTableProcessor_image_expansion_ratio FLOAT
|
| 925 |
+
The ratio to expand the image by when
|
| 926 |
+
cropping. Default is 0.01.
|
| 927 |
+
--LLMTableProcessor_use_llm Whether to use the LLM model. Default is
|
| 928 |
+
False.
|
| 929 |
+
--LLMTableProcessor_disable_tqdm
|
| 930 |
+
Whether to disable the tqdm progress bar.
|
| 931 |
+
Default is False.
|
| 932 |
+
--LLMTableProcessor_max_rows_per_batch INTEGER
|
| 933 |
+
If the table has more rows than this, chunk
|
| 934 |
+
the table. (LLMs can be inaccurate with a
|
| 935 |
+
lot of rows) Default is 60.
|
| 936 |
+
--LLMTableProcessor_max_table_rows INTEGER
|
| 937 |
+
The maximum number of rows in a table to
|
| 938 |
+
process with the LLM processor. Beyond this
|
| 939 |
+
will be skipped. Default is 175.
|
| 940 |
+
--LLMTableProcessor_table_image_expansion_ratio FLOAT
|
| 941 |
+
The ratio to expand the image by when
|
| 942 |
+
cropping. Default is 0.
|
| 943 |
+
--LLMTableProcessor_rotation_max_wh_ratio FLOAT
|
| 944 |
+
The maximum width/height ratio for table
|
| 945 |
+
cells for a table to be considered rotated.
|
| 946 |
+
Default is 0.6.
|
| 947 |
+
--LLMTableProcessor_table_rewriting_prompt TEXT
|
| 948 |
+
The prompt to use for rewriting text.
|
| 949 |
+
Default is a string containing the Gemini
|
| 950 |
+
rewriting prompt.
|
| 951 |
+
--LLMTableMergeProcessor_google_api_key TEXT
|
| 952 |
+
The Google API key to use for the Gemini
|
| 953 |
+
model. Default is .
|
| 954 |
+
--LLMTableMergeProcessor_model_name TEXT
|
| 955 |
+
The name of the Gemini model to use. Default
|
| 956 |
+
is gemini-2.0-flash.
|
| 957 |
+
--LLMTableMergeProcessor_max_concurrency INTEGER
|
| 958 |
+
The maximum number of concurrent requests to
|
| 959 |
+
make to the Gemini model. Default is 3.
|
| 960 |
+
--LLMTableMergeProcessor_image_expansion_ratio FLOAT
|
| 961 |
+
The ratio to expand the image by when
|
| 962 |
+
cropping. Default is 0.01.
|
| 963 |
+
--LLMTableMergeProcessor_use_llm
|
| 964 |
+
Whether to use the LLM model. Default is
|
| 965 |
+
False.
|
| 966 |
+
--LLMTableMergeProcessor_disable_tqdm
|
| 967 |
+
Whether to disable the tqdm progress bar.
|
| 968 |
+
Default is False.
|
| 969 |
+
--LLMTableMergeProcessor_table_height_threshold FLOAT
|
| 970 |
+
The minimum height ratio relative to the
|
| 971 |
+
page for the first table in a pair to be
|
| 972 |
+
considered for merging. Default is 0.6.
|
| 973 |
+
--LLMTableMergeProcessor_table_start_threshold FLOAT
|
| 974 |
+
The maximum percentage down the page the
|
| 975 |
+
second table can start to be considered for
|
| 976 |
+
merging. Default is 0.2.
|
| 977 |
+
--LLMTableMergeProcessor_vertical_table_height_threshold FLOAT
|
| 978 |
+
The height tolerance for 2 adjacent tables
|
| 979 |
+
to be merged into one. Default is 0.25.
|
| 980 |
+
--LLMTableMergeProcessor_vertical_table_distance_threshold INTEGER
|
| 981 |
+
The maximum distance between table edges for
|
| 982 |
+
adjacency. Default is 20.
|
| 983 |
+
--LLMTableMergeProcessor_horizontal_table_width_threshold FLOAT
|
| 984 |
+
The width tolerance for 2 adjacent tables to
|
| 985 |
+
be merged into one. Default is 0.25.
|
| 986 |
+
--LLMTableMergeProcessor_horizontal_table_distance_threshold INTEGER
|
| 987 |
+
The maximum distance between table edges for
|
| 988 |
+
adjacency. Default is 10.
|
| 989 |
+
--LLMTableMergeProcessor_column_gap_threshold INTEGER
|
| 990 |
+
The maximum gap between columns to merge
|
| 991 |
+
tables Default is 50.
|
| 992 |
+
--LLMTableMergeProcessor_table_merge_prompt TEXT
|
| 993 |
+
The prompt to use for rewriting text.
|
| 994 |
+
Default is a string containing the Gemini
|
| 995 |
+
rewriting prompt.
|
| 996 |
+
--SectionHeaderProcessor_level_count INTEGER
|
| 997 |
+
The number of levels to use for headings.
|
| 998 |
+
Default is 4.
|
| 999 |
+
--SectionHeaderProcessor_merge_threshold FLOAT
|
| 1000 |
+
The minimum gap between headings to consider
|
| 1001 |
+
them part of the same group. Default is
|
| 1002 |
+
0.25.
|
| 1003 |
+
--SectionHeaderProcessor_default_level INTEGER
|
| 1004 |
+
The default heading level to use if no
|
| 1005 |
+
heading level is detected. Default is 2.
|
| 1006 |
+
--SectionHeaderProcessor_height_tolerance FLOAT
|
| 1007 |
+
The minimum height of a heading to consider
|
| 1008 |
+
it a heading. Default is 0.99.
|
| 1009 |
+
--TableProcessor_detect_boxes Whether to detect boxes for the table
|
| 1010 |
+
recognition model. Default is False.
|
| 1011 |
+
--TableProcessor_detection_batch_size INTEGER
|
| 1012 |
+
The batch size to use for the table
|
| 1013 |
+
detection model. Default is None, which will
|
| 1014 |
+
use the default batch size for the model.
|
| 1015 |
+
--TableProcessor_table_rec_batch_size INTEGER
|
| 1016 |
+
The batch size to use for the table
|
| 1017 |
+
recognition model. Default is None, which
|
| 1018 |
+
will use the default batch size for the
|
| 1019 |
+
model.
|
| 1020 |
+
--TableProcessor_recognition_batch_size INTEGER
|
| 1021 |
+
The batch size to use for the table
|
| 1022 |
+
recognition model. Default is None, which
|
| 1023 |
+
will use the default batch size for the
|
| 1024 |
+
model.
|
| 1025 |
+
--TableProcessor_row_split_threshold FLOAT
|
| 1026 |
+
The percentage of rows that need to be split
|
| 1027 |
+
across the table before row splitting is
|
| 1028 |
+
active. Default is 0.5.
|
| 1029 |
+
--TableProcessor_pdftext_workers INTEGER
|
| 1030 |
+
The number of workers to use for pdftext.
|
| 1031 |
+
Default is 1.
|
| 1032 |
+
--TableProcessor_disable_tqdm Whether to disable the tqdm progress bar.
|
| 1033 |
+
Default is False.
|
| 1034 |
+
--TextProcessor_column_gap_ratio FLOAT
|
| 1035 |
+
The minimum ratio of the page width to the
|
| 1036 |
+
column gap to consider a column break.
|
| 1037 |
+
Default is 0.02.
|
| 1038 |
+
--PdfConverter_use_llm Enable higher quality processing with LLMs.
|
| 1039 |
+
Default is False.
|
| 1040 |
+
--TableConverter_use_llm Enable higher quality processing with LLMs.
|
| 1041 |
+
Default is False.
|
| 1042 |
+
--DocumentProvider_pdftext_workers INTEGER
|
| 1043 |
+
The number of workers to use for pdftext.
|
| 1044 |
+
Default is 4.
|
| 1045 |
+
--DocumentProvider_flatten_pdf BOOLEAN
|
| 1046 |
+
Whether to flatten the PDF structure.
|
| 1047 |
+
Default is True.
|
| 1048 |
+
--DocumentProvider_force_ocr Whether to force OCR on the whole document.
|
| 1049 |
+
Default is False.
|
| 1050 |
+
--DocumentProvider_ocr_space_threshold FLOAT
|
| 1051 |
+
The minimum ratio of spaces to non-spaces to
|
| 1052 |
+
detect bad text. Default is 0.7.
|
| 1053 |
+
--DocumentProvider_ocr_newline_threshold FLOAT
|
| 1054 |
+
The minimum ratio of newlines to non-
|
| 1055 |
+
newlines to detect bad text. Default is 0.6.
|
| 1056 |
+
--DocumentProvider_ocr_alphanum_threshold FLOAT
|
| 1057 |
+
The minimum ratio of alphanumeric characters
|
| 1058 |
+
to non-alphanumeric characters to consider
|
| 1059 |
+
an alphanumeric character. Default is 0.3.
|
| 1060 |
+
--DocumentProvider_image_threshold FLOAT
|
| 1061 |
+
The minimum coverage ratio of the image to
|
| 1062 |
+
the page to consider skipping the page.
|
| 1063 |
+
Default is 0.65.
|
| 1064 |
+
--DocumentProvider_strip_existing_ocr
|
| 1065 |
+
Whether to strip existing OCR text from the
|
| 1066 |
+
PDF. Default is False.
|
| 1067 |
+
--DocumentProvider_disable_links
|
| 1068 |
+
Whether to disable links. Default is False.
|
| 1069 |
+
--PdfProvider_pdftext_workers INTEGER
|
| 1070 |
+
The number of workers to use for pdftext.
|
| 1071 |
+
Default is 4.
|
| 1072 |
+
--PdfProvider_flatten_pdf BOOLEAN
|
| 1073 |
+
Whether to flatten the PDF structure.
|
| 1074 |
+
Default is True.
|
| 1075 |
+
--PdfProvider_force_ocr Whether to force OCR on the whole document.
|
| 1076 |
+
Default is False.
|
| 1077 |
+
--PdfProvider_ocr_space_threshold FLOAT
|
| 1078 |
+
The minimum ratio of spaces to non-spaces to
|
| 1079 |
+
detect bad text. Default is 0.7.
|
| 1080 |
+
--PdfProvider_ocr_newline_threshold FLOAT
|
| 1081 |
+
The minimum ratio of newlines to non-
|
| 1082 |
+
newlines to detect bad text. Default is 0.6.
|
| 1083 |
+
--PdfProvider_ocr_alphanum_threshold FLOAT
|
| 1084 |
+
The minimum ratio of alphanumeric characters
|
| 1085 |
+
to non-alphanumeric characters to consider
|
| 1086 |
+
an alphanumeric character. Default is 0.3.
|
| 1087 |
+
--PdfProvider_image_threshold FLOAT
|
| 1088 |
+
The minimum coverage ratio of the image to
|
| 1089 |
+
the page to consider skipping the page.
|
| 1090 |
+
Default is 0.65.
|
| 1091 |
+
--PdfProvider_strip_existing_ocr
|
| 1092 |
+
Whether to strip existing OCR text from the
|
| 1093 |
+
PDF. Default is False.
|
| 1094 |
+
--PdfProvider_disable_links Whether to disable links. Default is False.
|
| 1095 |
+
--EpubProvider_pdftext_workers INTEGER
|
| 1096 |
+
The number of workers to use for pdftext.
|
| 1097 |
+
Default is 4.
|
| 1098 |
+
--EpubProvider_flatten_pdf BOOLEAN
|
| 1099 |
+
Whether to flatten the PDF structure.
|
| 1100 |
+
Default is True.
|
| 1101 |
+
--EpubProvider_force_ocr Whether to force OCR on the whole document.
|
| 1102 |
+
Default is False.
|
| 1103 |
+
--EpubProvider_ocr_space_threshold FLOAT
|
| 1104 |
+
The minimum ratio of spaces to non-spaces to
|
| 1105 |
+
detect bad text. Default is 0.7.
|
| 1106 |
+
--EpubProvider_ocr_newline_threshold FLOAT
|
| 1107 |
+
The minimum ratio of newlines to non-
|
| 1108 |
+
newlines to detect bad text. Default is 0.6.
|
| 1109 |
+
--EpubProvider_ocr_alphanum_threshold FLOAT
|
| 1110 |
+
The minimum ratio of alphanumeric characters
|
| 1111 |
+
to non-alphanumeric characters to consider
|
| 1112 |
+
an alphanumeric character. Default is 0.3.
|
| 1113 |
+
--EpubProvider_image_threshold FLOAT
|
| 1114 |
+
The minimum coverage ratio of the image to
|
| 1115 |
+
the page to consider skipping the page.
|
| 1116 |
+
Default is 0.65.
|
| 1117 |
+
--EpubProvider_strip_existing_ocr
|
| 1118 |
+
Whether to strip existing OCR text from the
|
| 1119 |
+
PDF. Default is False.
|
| 1120 |
+
--EpubProvider_disable_links Whether to disable links. Default is False.
|
| 1121 |
+
--HTMLProvider_pdftext_workers INTEGER
|
| 1122 |
+
The number of workers to use for pdftext.
|
| 1123 |
+
Default is 4.
|
| 1124 |
+
--HTMLProvider_flatten_pdf BOOLEAN
|
| 1125 |
+
Whether to flatten the PDF structure.
|
| 1126 |
+
Default is True.
|
| 1127 |
+
--HTMLProvider_force_ocr Whether to force OCR on the whole document.
|
| 1128 |
+
Default is False.
|
| 1129 |
+
--HTMLProvider_ocr_space_threshold FLOAT
|
| 1130 |
+
The minimum ratio of spaces to non-spaces to
|
| 1131 |
+
detect bad text. Default is 0.7.
|
| 1132 |
+
--HTMLProvider_ocr_newline_threshold FLOAT
|
| 1133 |
+
The minimum ratio of newlines to non-
|
| 1134 |
+
newlines to detect bad text. Default is 0.6.
|
| 1135 |
+
--HTMLProvider_ocr_alphanum_threshold FLOAT
|
| 1136 |
+
The minimum ratio of alphanumeric characters
|
| 1137 |
+
to non-alphanumeric characters to consider
|
| 1138 |
+
an alphanumeric character. Default is 0.3.
|
| 1139 |
+
--HTMLProvider_image_threshold FLOAT
|
| 1140 |
+
The minimum coverage ratio of the image to
|
| 1141 |
+
the page to consider skipping the page.
|
| 1142 |
+
Default is 0.65.
|
| 1143 |
+
--HTMLProvider_strip_existing_ocr
|
| 1144 |
+
Whether to strip existing OCR text from the
|
| 1145 |
+
PDF. Default is False.
|
| 1146 |
+
--HTMLProvider_disable_links Whether to disable links. Default is False.
|
| 1147 |
+
--ImageProvider_image_count INTEGER
|
| 1148 |
+
Default is 1.
|
| 1149 |
+
--PowerPointProvider_pdftext_workers INTEGER
|
| 1150 |
+
The number of workers to use for pdftext.
|
| 1151 |
+
Default is 4.
|
| 1152 |
+
--PowerPointProvider_flatten_pdf BOOLEAN
|
| 1153 |
+
Whether to flatten the PDF structure.
|
| 1154 |
+
Default is True.
|
| 1155 |
+
--PowerPointProvider_force_ocr Whether to force OCR on the whole document.
|
| 1156 |
+
Default is False.
|
| 1157 |
+
--PowerPointProvider_ocr_space_threshold FLOAT
|
| 1158 |
+
The minimum ratio of spaces to non-spaces to
|
| 1159 |
+
detect bad text. Default is 0.7.
|
| 1160 |
+
--PowerPointProvider_ocr_newline_threshold FLOAT
|
| 1161 |
+
The minimum ratio of newlines to non-
|
| 1162 |
+
newlines to detect bad text. Default is 0.6.
|
| 1163 |
+
--PowerPointProvider_ocr_alphanum_threshold FLOAT
|
| 1164 |
+
The minimum ratio of alphanumeric characters
|
| 1165 |
+
to non-alphanumeric characters to consider
|
| 1166 |
+
an alphanumeric character. Default is 0.3.
|
| 1167 |
+
--PowerPointProvider_image_threshold FLOAT
|
| 1168 |
+
The minimum coverage ratio of the image to
|
| 1169 |
+
the page to consider skipping the page.
|
| 1170 |
+
Default is 0.65.
|
| 1171 |
+
--PowerPointProvider_strip_existing_ocr
|
| 1172 |
+
Whether to strip existing OCR text from the
|
| 1173 |
+
PDF. Default is False.
|
| 1174 |
+
--PowerPointProvider_disable_links
|
| 1175 |
+
Whether to disable links. Default is False.
|
| 1176 |
+
--PowerPointProvider_include_slide_number
|
| 1177 |
+
Default is False.
|
| 1178 |
+
--SpreadSheetProvider_pdftext_workers INTEGER
|
| 1179 |
+
The number of workers to use for pdftext.
|
| 1180 |
+
Default is 4.
|
| 1181 |
+
--SpreadSheetProvider_flatten_pdf BOOLEAN
|
| 1182 |
+
Whether to flatten the PDF structure.
|
| 1183 |
+
Default is True.
|
| 1184 |
+
--SpreadSheetProvider_force_ocr
|
| 1185 |
+
Whether to force OCR on the whole document.
|
| 1186 |
+
Default is False.
|
| 1187 |
+
--SpreadSheetProvider_ocr_space_threshold FLOAT
|
| 1188 |
+
The minimum ratio of spaces to non-spaces to
|
| 1189 |
+
detect bad text. Default is 0.7.
|
| 1190 |
+
--SpreadSheetProvider_ocr_newline_threshold FLOAT
|
| 1191 |
+
The minimum ratio of newlines to non-
|
| 1192 |
+
newlines to detect bad text. Default is 0.6.
|
| 1193 |
+
--SpreadSheetProvider_ocr_alphanum_threshold FLOAT
|
| 1194 |
+
The minimum ratio of alphanumeric characters
|
| 1195 |
+
to non-alphanumeric characters to consider
|
| 1196 |
+
an alphanumeric character. Default is 0.3.
|
| 1197 |
+
--SpreadSheetProvider_image_threshold FLOAT
|
| 1198 |
+
The minimum coverage ratio of the image to
|
| 1199 |
+
the page to consider skipping the page.
|
| 1200 |
+
Default is 0.65.
|
| 1201 |
+
--SpreadSheetProvider_strip_existing_ocr
|
| 1202 |
+
Whether to strip existing OCR text from the
|
| 1203 |
+
PDF. Default is False.
|
| 1204 |
+
--SpreadSheetProvider_disable_links
|
| 1205 |
+
Whether to disable links. Default is False.
|
| 1206 |
+
--HTMLRenderer_extract_images BOOLEAN
|
| 1207 |
+
Extract images from the document. Default is
|
| 1208 |
+
True.
|
| 1209 |
+
--HTMLRenderer_paginate_output Whether to paginate the output. Default is
|
| 1210 |
+
False.
|
| 1211 |
+
--JSONRenderer_extract_images BOOLEAN
|
| 1212 |
+
Extract images from the document. Default is
|
| 1213 |
+
True.
|
| 1214 |
+
--MarkdownRenderer_extract_images BOOLEAN
|
| 1215 |
+
Extract images from the document. Default is
|
| 1216 |
+
True.
|
| 1217 |
+
--MarkdownRenderer_paginate_output
|
| 1218 |
+
Whether to paginate the output. Default is
|
| 1219 |
+
False.
|
| 1220 |
+
--MarkdownRenderer_page_separator TEXT
|
| 1221 |
+
The separator to use between pages. Default
|
| 1222 |
+
is '-' * 48.
|
| 1223 |
+
--ClaudeService_timeout INTEGER
|
| 1224 |
+
The timeout to use for the service. Default
|
| 1225 |
+
is 30.
|
| 1226 |
+
--ClaudeService_max_retries INTEGER
|
| 1227 |
+
The maximum number of retries to use for the
|
| 1228 |
+
service. Default is 2.
|
| 1229 |
+
--ClaudeService_claude_model_name TEXT
|
| 1230 |
+
The name of the Google model to use for the
|
| 1231 |
+
service. Default is
|
| 1232 |
+
claude-3-7-sonnet-20250219.
|
| 1233 |
+
--ClaudeService_claude_api_key TEXT
|
| 1234 |
+
The Claude API key to use for the service.
|
| 1235 |
+
Default is None.
|
| 1236 |
+
--ClaudeService_max_claude_tokens INTEGER
|
| 1237 |
+
The maximum number of tokens to use for a
|
| 1238 |
+
single Claude request. Default is 8192.
|
| 1239 |
+
--GoogleGeminiService_timeout INTEGER
|
| 1240 |
+
The timeout to use for the service. Default
|
| 1241 |
+
is 30.
|
| 1242 |
+
--GoogleGeminiService_max_retries INTEGER
|
| 1243 |
+
The maximum number of retries to use for the
|
| 1244 |
+
service. Default is 2.
|
| 1245 |
+
--GoogleGeminiService_gemini_model_name TEXT
|
| 1246 |
+
The name of the Google model to use for the
|
| 1247 |
+
service. Default is gemini-2.0-flash.
|
| 1248 |
+
--GoogleGeminiService_gemini_api_key TEXT
|
| 1249 |
+
The Google API key to use for the service.
|
| 1250 |
+
Default is None.
|
| 1251 |
+
--OllamaService_timeout INTEGER
|
| 1252 |
+
The timeout to use for the service. Default
|
| 1253 |
+
is 30.
|
| 1254 |
+
--OllamaService_max_retries INTEGER
|
| 1255 |
+
The maximum number of retries to use for the
|
| 1256 |
+
service. Default is 2.
|
| 1257 |
+
--OllamaService_ollama_base_url TEXT
|
| 1258 |
+
The base url to use for ollama. No trailing
|
| 1259 |
+
slash. Default is http://localhost:11434.
|
| 1260 |
+
--OllamaService_ollama_model TEXT
|
| 1261 |
+
The model name to use for ollama. Default is
|
| 1262 |
+
llama3.2-vision.
|
| 1263 |
+
--OpenAIService_timeout INTEGER
|
| 1264 |
+
The timeout to use for the service. Default
|
| 1265 |
+
is 30.
|
| 1266 |
+
--OpenAIService_max_retries INTEGER
|
| 1267 |
+
The maximum number of retries to use for the
|
| 1268 |
+
service. Default is 2.
|
| 1269 |
+
--OpenAIService_openai_base_url TEXT
|
| 1270 |
+
The base url to use for OpenAI-like models.
|
| 1271 |
+
No trailing slash. Default is
|
| 1272 |
+
https://api.openai.com/v1.
|
| 1273 |
+
--OpenAIService_openai_model TEXT
|
| 1274 |
+
The model name to use for OpenAI-like model.
|
| 1275 |
+
Default is gpt-4o-mini.
|
| 1276 |
+
--OpenAIService_openai_api_key TEXT
|
| 1277 |
+
The API key to use for the OpenAI-like
|
| 1278 |
+
service. Default is None.
|
| 1279 |
+
--GoogleVertexService_timeout INTEGER
|
| 1280 |
+
The timeout to use for the service. Default
|
| 1281 |
+
is 30.
|
| 1282 |
+
--GoogleVertexService_max_retries INTEGER
|
| 1283 |
+
The maximum number of retries to use for the
|
| 1284 |
+
service. Default is 2.
|
| 1285 |
+
--GoogleVertexService_gemini_model_name TEXT
|
| 1286 |
+
The name of the Google model to use for the
|
| 1287 |
+
service. Default is gemini-2.0-flash-001.
|
| 1288 |
+
--GoogleVertexService_vertex_project_id TEXT
|
| 1289 |
+
Google Cloud Project ID for Vertex AI.
|
| 1290 |
+
Default is None.
|
| 1291 |
+
--GoogleVertexService_vertex_location TEXT
|
| 1292 |
+
Google Cloud Location for Vertex AI. Default
|
| 1293 |
+
is us-central1.
|
| 1294 |
+
--GoogleVertexService_vertex_dedicated
|
| 1295 |
+
Whether to use a dedicated Vertex AI
|
| 1296 |
+
instance. Default is False.
|
| 1297 |
+
--help Show this message and exit.
|