text
stringlengths
0
278
Default is 1. (Applies to: TableProcessor,
DocumentProvider, PdfProvider, EpubProvider,
HTMLProvider, PowerPointProvider,
SpreadSheetProvider)
--column_gap_ratio FLOAT The minimum ratio of the page width to the
column gap to consider a column break.
Default is 0.02. (Applies to: TextProcessor)
--flatten_pdf BOOLEAN Whether to flatten the PDF structure.
Default is True. (Applies to:
DocumentProvider, PdfProvider, EpubProvider,
HTMLProvider, PowerPointProvider,
SpreadSheetProvider)
--force_ocr Whether to force OCR on the whole document.
Default is False. (Applies to:
DocumentProvider, PdfProvider, EpubProvider,
HTMLProvider, PowerPointProvider,
SpreadSheetProvider)
--ocr_space_threshold FLOAT The minimum ratio of spaces to non-spaces to
detect bad text. Default is 0.7. (Applies
to: DocumentProvider, PdfProvider,
EpubProvider, HTMLProvider,
PowerPointProvider, SpreadSheetProvider)
--ocr_newline_threshold FLOAT The minimum ratio of newlines to non-
newlines to detect bad text. Default is 0.6.
(Applies to: DocumentProvider, PdfProvider,
EpubProvider, HTMLProvider,
PowerPointProvider, SpreadSheetProvider)
--ocr_alphanum_threshold FLOAT The minimum ratio of alphanumeric characters
to non-alphanumeric characters to consider
an alphanumeric character. Default is 0.3.
(Applies to: DocumentProvider, PdfProvider,
EpubProvider, HTMLProvider,
PowerPointProvider, SpreadSheetProvider)
--image_threshold FLOAT The minimum coverage ratio of the image to
the page to consider skipping the page.
Default is 0.65. (Applies to:
DocumentProvider, PdfProvider, EpubProvider,
HTMLProvider, PowerPointProvider,
SpreadSheetProvider)
--strip_existing_ocr Whether to strip existing OCR text from the
PDF. Default is False. (Applies to:
DocumentProvider, PdfProvider, EpubProvider,
HTMLProvider, PowerPointProvider,
SpreadSheetProvider)
--disable_links Whether to disable links. Default is False.
(Applies to: DocumentProvider, PdfProvider,
EpubProvider, HTMLProvider,
PowerPointProvider, SpreadSheetProvider)
--image_count INTEGER Default is 1. (Applies to: ImageProvider)
--include_slide_number Default is False. (Applies to:
PowerPointProvider)
--paginate_output Whether to paginate the output. Default is
False. (Applies to: HTMLRenderer,
MarkdownRenderer)
--page_separator TEXT The separator to use between pages. Default
is '-' * 48. (Applies to: MarkdownRenderer)
--timeout INTEGER The timeout to use for the service. Default
is 30. (Applies to: ClaudeService,
GoogleGeminiService, OllamaService,
OpenAIService, GoogleVertexService)
--max_retries INTEGER The maximum number of retries to use for the
service. Default is 2. (Applies to:
ClaudeService, GoogleGeminiService,
OllamaService, OpenAIService,
GoogleVertexService)
--claude_model_name TEXT The name of the Google model to use for the
service. Default is
claude-3-7-sonnet-20250219. (Applies to:
ClaudeService)
--claude_api_key TEXT The Claude API key to use for the service.
Default is None. (Applies to: ClaudeService)
--max_claude_tokens INTEGER The maximum number of tokens to use for a
single Claude request. Default is 8192.
(Applies to: ClaudeService)
--gemini_model_name TEXT The name of the Google model to use for the
service. Default is gemini-2.0-flash.
(Applies to: GoogleGeminiService,
GoogleVertexService)
--gemini_api_key TEXT The Google API key to use for the service.
Default is None. (Applies to:
GoogleGeminiService)
--ollama_base_url TEXT The base url to use for ollama. No trailing
slash. Default is http://localhost:11434.
(Applies to: OllamaService)
--ollama_model TEXT The model name to use for ollama. Default is
llama3.2-vision. (Applies to: OllamaService)
--openai_base_url TEXT The base url to use for OpenAI-like models.
No trailing slash. Default is
ERROR: type should be string, got " https://api.openai.com/v1. (Applies to:"
OpenAIService)
--openai_model TEXT The model name to use for OpenAI-like model.
Default is gpt-4o-mini. (Applies to:
OpenAIService)
--openai_api_key TEXT The API key to use for the OpenAI-like
service. Default is None. (Applies to:
OpenAIService)
--vertex_project_id TEXT Google Cloud Project ID for Vertex AI.
Default is None. (Applies to:
GoogleVertexService)
--vertex_location TEXT Google Cloud Location for Vertex AI. Default