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:



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

def initialize: (?mime_detection_policy: enum_MimeDetectionPolicy, ?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_options: ConversionOptions, ?html_output: HtmlOutputConfig, ?result_format: enum_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? (readonly)

Returns the value of attribute captioning.

Returns:



1074
1075
1076
# File 'sig/types.rbs', line 1074

def captioning
  @captioning
end

#chunk_classificationChunkClassificationConfig? (readonly)

Returns the value of attribute chunk_classification.

Returns:



1073
1074
1075
# File 'sig/types.rbs', line 1073

def chunk_classification
  @chunk_classification
end

#chunkingChunkingConfig? (readonly)

Returns the value of attribute chunking.

Returns:



1048
1049
1050
# File 'sig/types.rbs', line 1048

def chunking
  @chunking
end

#content_filterContentFilterConfig? (readonly)

Returns the value of attribute content_filter.

Returns:



1049
1050
1051
# File 'sig/types.rbs', line 1049

def content_filter
  @content_filter
end

#disable_ocrBoolean? (readonly)

Returns the value of attribute disable_ocr.

Returns:

  • (Boolean, nil)


1047
1048
1049
# File 'sig/types.rbs', line 1047

def disable_ocr
  @disable_ocr
end

#enable_quality_processingBoolean? (readonly)

Returns the value of attribute enable_quality_processing.

Returns:

  • (Boolean, nil)


1042
1043
1044
# File 'sig/types.rbs', line 1042

def enable_quality_processing
  @enable_quality_processing
end

#force_ocrBoolean? (readonly)

Returns the value of attribute force_ocr.

Returns:

  • (Boolean, nil)


1044
1045
1046
# File 'sig/types.rbs', line 1044

def force_ocr
  @force_ocr
end

#force_ocr_pagesArray[Integer]? (readonly)

Returns the value of attribute force_ocr_pages.

Returns:

  • (Array[Integer], nil)


1046
1047
1048
# File 'sig/types.rbs', line 1046

def force_ocr_pages
  @force_ocr_pages
end

#html_optionsConversionOptions? (readonly)

Returns the value of attribute html_options.

Returns:



1057
1058
1059
# File 'sig/types.rbs', line 1057

def html_options
  @html_options
end

#html_outputHtmlOutputConfig? (readonly)

Returns the value of attribute html_output.

Returns:



1058
1059
1060
# File 'sig/types.rbs', line 1058

def html_output
  @html_output
end

#imagesImageExtractionConfig? (readonly)

Returns the value of attribute images.

Returns:



1050
1051
1052
# File 'sig/types.rbs', line 1050

def images
  @images
end

#include_document_structureBoolean? (readonly)

Returns the value of attribute include_document_structure.

Returns:

  • (Boolean, nil)


1061
1062
1063
# File 'sig/types.rbs', line 1061

def include_document_structure
  @include_document_structure
end

#keywordsKeywordConfig? (readonly)

Returns the value of attribute keywords.

Returns:



1055
1056
1057
# File 'sig/types.rbs', line 1055

def keywords
  @keywords
end

#language_detectionLanguageDetectionConfig? (readonly)

Returns the value of attribute language_detection.

Returns:



1053
1054
1055
# File 'sig/types.rbs', line 1053

def language_detection
  @language_detection
end

#layoutLayoutDetectionConfig? (readonly)

Returns the value of attribute layout.

Returns:



1062
1063
1064
# File 'sig/types.rbs', line 1062

def layout
  @layout
end

#mime_detection_policyenum_MimeDetectionPolicy? (readonly)

Returns the value of attribute mime_detection_policy.

Returns:

  • (enum_MimeDetectionPolicy, nil)


1041
1042
1043
# File 'sig/types.rbs', line 1041

def mime_detection_policy
  @mime_detection_policy
end

#nerNerConfig? (readonly)

Returns the value of attribute ner.

Returns:



1068
1069
1070
# File 'sig/types.rbs', line 1068

def ner
  @ner
end

#ocrOcrConfig? (readonly)

Returns the value of attribute ocr.

Returns:



1043
1044
1045
# File 'sig/types.rbs', line 1043

def ocr
  @ocr
end

#ocr_strategyOcrStrategy? (readonly)

Returns the value of attribute ocr_strategy.

Returns:



1045
1046
1047
# File 'sig/types.rbs', line 1045

def ocr_strategy
  @ocr_strategy
end

#output_formatOutputFormat? (readonly)

Returns the value of attribute output_format.

Returns:



1060
1061
1062
# File 'sig/types.rbs', line 1060

def output_format
  @output_format
end

#page_classificationPageClassificationConfig? (readonly)

Returns the value of attribute page_classification.

Returns:



1072
1073
1074
# File 'sig/types.rbs', line 1072

def page_classification
  @page_classification
end

#pagesPageConfig? (readonly)

Returns the value of attribute pages.

Returns:



1054
1055
1056
# File 'sig/types.rbs', line 1054

def pages
  @pages
end

#pdf_optionsPdfConfig? (readonly)

Returns the value of attribute pdf_options.

Returns:



1051
1052
1053
# File 'sig/types.rbs', line 1051

def pdf_options
  @pdf_options
end

#postprocessorPostProcessorConfig? (readonly)

Returns the value of attribute postprocessor.

Returns:



1056
1057
1058
# File 'sig/types.rbs', line 1056

def postprocessor
  @postprocessor
end

#qr_codesBoolean? (readonly)

Returns the value of attribute qr_codes.

Returns:

  • (Boolean, nil)


1075
1076
1077
# File 'sig/types.rbs', line 1075

def qr_codes
  @qr_codes
end

#redactionRedactionConfig? (readonly)

Returns the value of attribute redaction.

Returns:



1069
1070
1071
# File 'sig/types.rbs', line 1069

def redaction
  @redaction
end

#result_formatenum_ResultFormat? (readonly)

Returns the value of attribute result_format.

Returns:

  • (enum_ResultFormat, nil)


1059
1060
1061
# File 'sig/types.rbs', line 1059

def result_format
  @result_format
end

#structured_extractionStructuredExtractionConfig? (readonly)

Returns the value of attribute structured_extraction.

Returns:



1066
1067
1068
# File 'sig/types.rbs', line 1066

def structured_extraction
  @structured_extraction
end

#summarizationSummarizationConfig? (readonly)

Returns the value of attribute summarization.

Returns:



1070
1071
1072
# File 'sig/types.rbs', line 1070

def summarization
  @summarization
end

#timeout_secsInteger? (readonly)

Returns the value of attribute timeout_secs.

Returns:

  • (Integer, nil)


1064
1065
1066
# File 'sig/types.rbs', line 1064

def timeout_secs
  @timeout_secs
end

#token_reductionTokenReductionOptions? (readonly)

Returns the value of attribute token_reduction.

Returns:



1052
1053
1054
# File 'sig/types.rbs', line 1052

def token_reduction
  @token_reduction
end

#transcriptionTranscriptionConfig? (readonly)

Returns the value of attribute transcription.

Returns:



1063
1064
1065
# File 'sig/types.rbs', line 1063

def transcription
  @transcription
end

#translationTranslationConfig? (readonly)

Returns the value of attribute translation.

Returns:



1071
1072
1073
# File 'sig/types.rbs', line 1071

def translation
  @translation
end

#tree_sitterTreeSitterConfig? (readonly)

Returns the value of attribute tree_sitter.

Returns:



1065
1066
1067
# File 'sig/types.rbs', line 1065

def tree_sitter
  @tree_sitter
end

#urlUrlExtractionConfig? (readonly)

Returns the value of attribute url.

Returns:



1067
1068
1069
# File 'sig/types.rbs', line 1067

def url
  @url
end