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:



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

def initialize: (?enable_quality_processing: bool, ?ocr: OcrConfig, ?force_ocr: bool, ?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, ?captioning: CaptioningConfig, ?qr_codes: bool) -> void

Instance Attribute Details

#captioningCaptioningConfig?

Returns the value of attribute captioning.

Returns:



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

def captioning
  @captioning
end

#chunkingChunkingConfig?

Returns the value of attribute chunking.

Returns:



117
118
119
# File 'sig/types.rbs', line 117

def chunking
  @chunking
end

#content_filterContentFilterConfig?

Returns the value of attribute content_filter.

Returns:



118
119
120
# File 'sig/types.rbs', line 118

def content_filter
  @content_filter
end

#disable_ocrBoolean?

Returns the value of attribute disable_ocr.

Returns:

  • (Boolean, nil)


116
117
118
# File 'sig/types.rbs', line 116

def disable_ocr
  @disable_ocr
end

#enable_quality_processingBoolean?

Returns the value of attribute enable_quality_processing.

Returns:

  • (Boolean, nil)


112
113
114
# File 'sig/types.rbs', line 112

def enable_quality_processing
  @enable_quality_processing
end

#force_ocrBoolean?

Returns the value of attribute force_ocr.

Returns:

  • (Boolean, nil)


114
115
116
# File 'sig/types.rbs', line 114

def force_ocr
  @force_ocr
end

#force_ocr_pagesArray[Integer]?

Returns the value of attribute force_ocr_pages.

Returns:

  • (Array[Integer], nil)


115
116
117
# File 'sig/types.rbs', line 115

def force_ocr_pages
  @force_ocr_pages
end

#html_outputHtmlOutputConfig?

Returns the value of attribute html_output.

Returns:



126
127
128
# File 'sig/types.rbs', line 126

def html_output
  @html_output
end

#imagesImageExtractionConfig?

Returns the value of attribute images.

Returns:



119
120
121
# File 'sig/types.rbs', line 119

def images
  @images
end

#include_document_structureBoolean?

Returns the value of attribute include_document_structure.

Returns:

  • (Boolean, nil)


129
130
131
# File 'sig/types.rbs', line 129

def include_document_structure
  @include_document_structure
end

#keywordsKeywordConfig?

Returns the value of attribute keywords.

Returns:



124
125
126
# File 'sig/types.rbs', line 124

def keywords
  @keywords
end

#language_detectionLanguageDetectionConfig?

Returns the value of attribute language_detection.

Returns:



122
123
124
# File 'sig/types.rbs', line 122

def language_detection
  @language_detection
end

#layoutLayoutDetectionConfig?

Returns the value of attribute layout.

Returns:



130
131
132
# File 'sig/types.rbs', line 130

def layout
  @layout
end

#nerNerConfig?

Returns the value of attribute ner.

Returns:



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

def ner
  @ner
end

#ocrOcrConfig?

Returns the value of attribute ocr.

Returns:



113
114
115
# File 'sig/types.rbs', line 113

def ocr
  @ocr
end

#output_formatOutputFormat?

Returns the value of attribute output_format.

Returns:



128
129
130
# File 'sig/types.rbs', line 128

def output_format
  @output_format
end

#page_classificationPageClassificationConfig?

Returns the value of attribute page_classification.

Returns:



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

def page_classification
  @page_classification
end

#pagesPageConfig?

Returns the value of attribute pages.

Returns:



123
124
125
# File 'sig/types.rbs', line 123

def pages
  @pages
end

#pdf_optionsPdfConfig?

Returns the value of attribute pdf_options.

Returns:



120
121
122
# File 'sig/types.rbs', line 120

def pdf_options
  @pdf_options
end

#postprocessorPostProcessorConfig?

Returns the value of attribute postprocessor.

Returns:



125
126
127
# File 'sig/types.rbs', line 125

def postprocessor
  @postprocessor
end

#qr_codesBoolean?

Returns the value of attribute qr_codes.

Returns:

  • (Boolean, nil)


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

def qr_codes
  @qr_codes
end

#redactionRedactionConfig?

Returns the value of attribute redaction.

Returns:



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

def redaction
  @redaction
end

#result_formatResultFormat?

Returns the value of attribute result_format.

Returns:



127
128
129
# File 'sig/types.rbs', line 127

def result_format
  @result_format
end

#structured_extractionStructuredExtractionConfig?

Returns the value of attribute structured_extraction.

Returns:



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

def structured_extraction
  @structured_extraction
end

#summarizationSummarizationConfig?

Returns the value of attribute summarization.

Returns:



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

def summarization
  @summarization
end

#timeout_secsInteger?

Returns the value of attribute timeout_secs.

Returns:

  • (Integer, nil)


132
133
134
# File 'sig/types.rbs', line 132

def timeout_secs
  @timeout_secs
end

#token_reductionTokenReductionOptions?

Returns the value of attribute token_reduction.

Returns:



121
122
123
# File 'sig/types.rbs', line 121

def token_reduction
  @token_reduction
end

#transcriptionTranscriptionConfig?

Returns the value of attribute transcription.

Returns:



131
132
133
# File 'sig/types.rbs', line 131

def transcription
  @transcription
end

#translationTranslationConfig?

Returns the value of attribute translation.

Returns:



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

def translation
  @translation
end

#tree_sitterTreeSitterConfig?

Returns the value of attribute tree_sitter.

Returns:



133
134
135
# File 'sig/types.rbs', line 133

def tree_sitter
  @tree_sitter
end

#urlUrlExtractionConfig?

Returns the value of attribute url.

Returns:



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

def url
  @url
end