Class: Xberg::FileExtractionConfig

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFileExtractionConfig

Returns a new instance of FileExtractionConfig.

Parameters:



169
# File 'sig/types.rbs', line 169

def initialize: (?enable_quality_processing: bool, ?ocr: OcrConfig, ?force_ocr: bool, ?ocr_strategy: OcrStrategy, ?force_ocr_pages: Array[Integer], ?disable_ocr: bool, ?chunking: ChunkingConfig, ?content_filter: ContentFilterConfig, ?images: ImageExtractionConfig, ?pdf_options: PdfConfig, ?token_reduction: TokenReductionOptions, ?language_detection: LanguageDetectionConfig, ?pages: PageConfig, ?keywords: KeywordConfig, ?postprocessor: PostProcessorConfig, ?html_output: HtmlOutputConfig, ?result_format: ResultFormat, ?output_format: OutputFormat, ?include_document_structure: bool, ?layout: LayoutDetectionConfig, ?transcription: TranscriptionConfig, ?timeout_secs: Integer, ?tree_sitter: TreeSitterConfig, ?structured_extraction: StructuredExtractionConfig, ?url: UrlExtractionConfig, ?ner: NerConfig, ?redaction: RedactionConfig, ?summarization: SummarizationConfig, ?translation: TranslationConfig, ?page_classification: PageClassificationConfig, ?chunk_classification: ChunkClassificationConfig, ?captioning: CaptioningConfig, ?qr_codes: bool) -> void

Instance Attribute Details

#captioningCaptioningConfig?

Returns the value of attribute captioning.

Returns:



166
167
168
# File 'sig/types.rbs', line 166

def captioning
  @captioning
end

#chunk_classificationChunkClassificationConfig?

Returns the value of attribute chunk_classification.

Returns:



165
166
167
# File 'sig/types.rbs', line 165

def chunk_classification
  @chunk_classification
end

#chunkingChunkingConfig?

Returns the value of attribute chunking.

Returns:



141
142
143
# File 'sig/types.rbs', line 141

def chunking
  @chunking
end

#content_filterContentFilterConfig?

Returns the value of attribute content_filter.

Returns:



142
143
144
# File 'sig/types.rbs', line 142

def content_filter
  @content_filter
end

#disable_ocrBoolean?

Returns the value of attribute disable_ocr.

Returns:

  • (Boolean, nil)


140
141
142
# File 'sig/types.rbs', line 140

def disable_ocr
  @disable_ocr
end

#enable_quality_processingBoolean?

Returns the value of attribute enable_quality_processing.

Returns:

  • (Boolean, nil)


135
136
137
# File 'sig/types.rbs', line 135

def enable_quality_processing
  @enable_quality_processing
end

#force_ocrBoolean?

Returns the value of attribute force_ocr.

Returns:

  • (Boolean, nil)


137
138
139
# File 'sig/types.rbs', line 137

def force_ocr
  @force_ocr
end

#force_ocr_pagesArray[Integer]?

Returns the value of attribute force_ocr_pages.

Returns:

  • (Array[Integer], nil)


139
140
141
# File 'sig/types.rbs', line 139

def force_ocr_pages
  @force_ocr_pages
end

#html_outputHtmlOutputConfig?

Returns the value of attribute html_output.

Returns:



150
151
152
# File 'sig/types.rbs', line 150

def html_output
  @html_output
end

#imagesImageExtractionConfig?

Returns the value of attribute images.

Returns:



143
144
145
# File 'sig/types.rbs', line 143

def images
  @images
end

#include_document_structureBoolean?

Returns the value of attribute include_document_structure.

Returns:

  • (Boolean, nil)


153
154
155
# File 'sig/types.rbs', line 153

def include_document_structure
  @include_document_structure
end

#keywordsKeywordConfig?

Returns the value of attribute keywords.

Returns:



148
149
150
# File 'sig/types.rbs', line 148

def keywords
  @keywords
end

#language_detectionLanguageDetectionConfig?

Returns the value of attribute language_detection.

Returns:



146
147
148
# File 'sig/types.rbs', line 146

def language_detection
  @language_detection
end

#layoutLayoutDetectionConfig?

Returns the value of attribute layout.

Returns:



154
155
156
# File 'sig/types.rbs', line 154

def layout
  @layout
end

#nerNerConfig?

Returns the value of attribute ner.

Returns:



160
161
162
# File 'sig/types.rbs', line 160

def ner
  @ner
end

#ocrOcrConfig?

Returns the value of attribute ocr.

Returns:



136
137
138
# File 'sig/types.rbs', line 136

def ocr
  @ocr
end

#ocr_strategyOcrStrategy?

Returns the value of attribute ocr_strategy.

Returns:



138
139
140
# File 'sig/types.rbs', line 138

def ocr_strategy
  @ocr_strategy
end

#output_formatOutputFormat?

Returns the value of attribute output_format.

Returns:



152
153
154
# File 'sig/types.rbs', line 152

def output_format
  @output_format
end

#page_classificationPageClassificationConfig?

Returns the value of attribute page_classification.

Returns:



164
165
166
# File 'sig/types.rbs', line 164

def page_classification
  @page_classification
end

#pagesPageConfig?

Returns the value of attribute pages.

Returns:



147
148
149
# File 'sig/types.rbs', line 147

def pages
  @pages
end

#pdf_optionsPdfConfig?

Returns the value of attribute pdf_options.

Returns:



144
145
146
# File 'sig/types.rbs', line 144

def pdf_options
  @pdf_options
end

#postprocessorPostProcessorConfig?

Returns the value of attribute postprocessor.

Returns:



149
150
151
# File 'sig/types.rbs', line 149

def postprocessor
  @postprocessor
end

#qr_codesBoolean?

Returns the value of attribute qr_codes.

Returns:

  • (Boolean, nil)


167
168
169
# File 'sig/types.rbs', line 167

def qr_codes
  @qr_codes
end

#redactionRedactionConfig?

Returns the value of attribute redaction.

Returns:



161
162
163
# File 'sig/types.rbs', line 161

def redaction
  @redaction
end

#result_formatResultFormat?

Returns the value of attribute result_format.

Returns:



151
152
153
# File 'sig/types.rbs', line 151

def result_format
  @result_format
end

#structured_extractionStructuredExtractionConfig?

Returns the value of attribute structured_extraction.

Returns:



158
159
160
# File 'sig/types.rbs', line 158

def structured_extraction
  @structured_extraction
end

#summarizationSummarizationConfig?

Returns the value of attribute summarization.

Returns:



162
163
164
# File 'sig/types.rbs', line 162

def summarization
  @summarization
end

#timeout_secsInteger?

Returns the value of attribute timeout_secs.

Returns:

  • (Integer, nil)


156
157
158
# File 'sig/types.rbs', line 156

def timeout_secs
  @timeout_secs
end

#token_reductionTokenReductionOptions?

Returns the value of attribute token_reduction.

Returns:



145
146
147
# File 'sig/types.rbs', line 145

def token_reduction
  @token_reduction
end

#transcriptionTranscriptionConfig?

Returns the value of attribute transcription.

Returns:



155
156
157
# File 'sig/types.rbs', line 155

def transcription
  @transcription
end

#translationTranslationConfig?

Returns the value of attribute translation.

Returns:



163
164
165
# File 'sig/types.rbs', line 163

def translation
  @translation
end

#tree_sitterTreeSitterConfig?

Returns the value of attribute tree_sitter.

Returns:



157
158
159
# File 'sig/types.rbs', line 157

def tree_sitter
  @tree_sitter
end

#urlUrlExtractionConfig?

Returns the value of attribute url.

Returns:



159
160
161
# File 'sig/types.rbs', line 159

def url
  @url
end