Class: Xberg::FileExtractionConfig
- Inherits:
-
Object
- Object
- Xberg::FileExtractionConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#captioning ⇒ CaptioningConfig?
readonly
Returns the value of attribute captioning.
-
#chunk_classification ⇒ ChunkClassificationConfig?
readonly
Returns the value of attribute chunk_classification.
-
#chunking ⇒ ChunkingConfig?
readonly
Returns the value of attribute chunking.
-
#content_filter ⇒ ContentFilterConfig?
readonly
Returns the value of attribute content_filter.
-
#disable_ocr ⇒ Boolean?
readonly
Returns the value of attribute disable_ocr.
-
#enable_quality_processing ⇒ Boolean?
readonly
Returns the value of attribute enable_quality_processing.
-
#force_ocr ⇒ Boolean?
readonly
Returns the value of attribute force_ocr.
-
#force_ocr_pages ⇒ Array[Integer]?
readonly
Returns the value of attribute force_ocr_pages.
-
#html_options ⇒ ConversionOptions?
readonly
Returns the value of attribute html_options.
-
#html_output ⇒ HtmlOutputConfig?
readonly
Returns the value of attribute html_output.
-
#images ⇒ ImageExtractionConfig?
readonly
Returns the value of attribute images.
-
#include_document_structure ⇒ Boolean?
readonly
Returns the value of attribute include_document_structure.
-
#keywords ⇒ KeywordConfig?
readonly
Returns the value of attribute keywords.
-
#language_detection ⇒ LanguageDetectionConfig?
readonly
Returns the value of attribute language_detection.
-
#layout ⇒ LayoutDetectionConfig?
readonly
Returns the value of attribute layout.
-
#mime_detection_policy ⇒ enum_MimeDetectionPolicy?
readonly
Returns the value of attribute mime_detection_policy.
-
#ner ⇒ NerConfig?
readonly
Returns the value of attribute ner.
-
#ocr ⇒ OcrConfig?
readonly
Returns the value of attribute ocr.
-
#ocr_strategy ⇒ OcrStrategy?
readonly
Returns the value of attribute ocr_strategy.
-
#output_format ⇒ OutputFormat?
readonly
Returns the value of attribute output_format.
-
#page_classification ⇒ PageClassificationConfig?
readonly
Returns the value of attribute page_classification.
-
#pages ⇒ PageConfig?
readonly
Returns the value of attribute pages.
-
#pdf_options ⇒ PdfConfig?
readonly
Returns the value of attribute pdf_options.
-
#postprocessor ⇒ PostProcessorConfig?
readonly
Returns the value of attribute postprocessor.
-
#qr_codes ⇒ Boolean?
readonly
Returns the value of attribute qr_codes.
-
#redaction ⇒ RedactionConfig?
readonly
Returns the value of attribute redaction.
-
#result_format ⇒ enum_ResultFormat?
readonly
Returns the value of attribute result_format.
-
#structured_extraction ⇒ StructuredExtractionConfig?
readonly
Returns the value of attribute structured_extraction.
-
#summarization ⇒ SummarizationConfig?
readonly
Returns the value of attribute summarization.
-
#timeout_secs ⇒ Integer?
readonly
Returns the value of attribute timeout_secs.
-
#token_reduction ⇒ TokenReductionOptions?
readonly
Returns the value of attribute token_reduction.
-
#transcription ⇒ TranscriptionConfig?
readonly
Returns the value of attribute transcription.
-
#translation ⇒ TranslationConfig?
readonly
Returns the value of attribute translation.
-
#tree_sitter ⇒ TreeSitterConfig?
readonly
Returns the value of attribute tree_sitter.
-
#url ⇒ UrlExtractionConfig?
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize ⇒ FileExtractionConfig
constructor
A new instance of FileExtractionConfig.
Constructor Details
#initialize ⇒ FileExtractionConfig
Returns a new instance of FileExtractionConfig.
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
#captioning ⇒ CaptioningConfig? (readonly)
Returns the value of attribute captioning.
1074 1075 1076 |
# File 'sig/types.rbs', line 1074 def captioning @captioning end |
#chunk_classification ⇒ ChunkClassificationConfig? (readonly)
Returns the value of attribute chunk_classification.
1073 1074 1075 |
# File 'sig/types.rbs', line 1073 def chunk_classification @chunk_classification end |
#chunking ⇒ ChunkingConfig? (readonly)
Returns the value of attribute chunking.
1048 1049 1050 |
# File 'sig/types.rbs', line 1048 def chunking @chunking end |
#content_filter ⇒ ContentFilterConfig? (readonly)
Returns the value of attribute content_filter.
1049 1050 1051 |
# File 'sig/types.rbs', line 1049 def content_filter @content_filter end |
#disable_ocr ⇒ Boolean? (readonly)
Returns the value of attribute disable_ocr.
1047 1048 1049 |
# File 'sig/types.rbs', line 1047 def disable_ocr @disable_ocr end |
#enable_quality_processing ⇒ Boolean? (readonly)
Returns the value of attribute enable_quality_processing.
1042 1043 1044 |
# File 'sig/types.rbs', line 1042 def enable_quality_processing @enable_quality_processing end |
#force_ocr ⇒ Boolean? (readonly)
Returns the value of attribute force_ocr.
1044 1045 1046 |
# File 'sig/types.rbs', line 1044 def force_ocr @force_ocr end |
#force_ocr_pages ⇒ Array[Integer]? (readonly)
Returns the value of attribute force_ocr_pages.
1046 1047 1048 |
# File 'sig/types.rbs', line 1046 def force_ocr_pages @force_ocr_pages end |
#html_options ⇒ ConversionOptions? (readonly)
Returns the value of attribute html_options.
1057 1058 1059 |
# File 'sig/types.rbs', line 1057 def @html_options end |
#html_output ⇒ HtmlOutputConfig? (readonly)
Returns the value of attribute html_output.
1058 1059 1060 |
# File 'sig/types.rbs', line 1058 def html_output @html_output end |
#images ⇒ ImageExtractionConfig? (readonly)
Returns the value of attribute images.
1050 1051 1052 |
# File 'sig/types.rbs', line 1050 def images @images end |
#include_document_structure ⇒ Boolean? (readonly)
Returns the value of attribute include_document_structure.
1061 1062 1063 |
# File 'sig/types.rbs', line 1061 def include_document_structure @include_document_structure end |
#keywords ⇒ KeywordConfig? (readonly)
Returns the value of attribute keywords.
1055 1056 1057 |
# File 'sig/types.rbs', line 1055 def keywords @keywords end |
#language_detection ⇒ LanguageDetectionConfig? (readonly)
Returns the value of attribute language_detection.
1053 1054 1055 |
# File 'sig/types.rbs', line 1053 def language_detection @language_detection end |
#layout ⇒ LayoutDetectionConfig? (readonly)
Returns the value of attribute layout.
1062 1063 1064 |
# File 'sig/types.rbs', line 1062 def layout @layout end |
#mime_detection_policy ⇒ enum_MimeDetectionPolicy? (readonly)
Returns the value of attribute mime_detection_policy.
1041 1042 1043 |
# File 'sig/types.rbs', line 1041 def mime_detection_policy @mime_detection_policy end |
#ner ⇒ NerConfig? (readonly)
Returns the value of attribute ner.
1068 1069 1070 |
# File 'sig/types.rbs', line 1068 def ner @ner end |
#ocr ⇒ OcrConfig? (readonly)
Returns the value of attribute ocr.
1043 1044 1045 |
# File 'sig/types.rbs', line 1043 def ocr @ocr end |
#ocr_strategy ⇒ OcrStrategy? (readonly)
Returns the value of attribute ocr_strategy.
1045 1046 1047 |
# File 'sig/types.rbs', line 1045 def ocr_strategy @ocr_strategy end |
#output_format ⇒ OutputFormat? (readonly)
Returns the value of attribute output_format.
1060 1061 1062 |
# File 'sig/types.rbs', line 1060 def output_format @output_format end |
#page_classification ⇒ PageClassificationConfig? (readonly)
Returns the value of attribute page_classification.
1072 1073 1074 |
# File 'sig/types.rbs', line 1072 def page_classification @page_classification end |
#pages ⇒ PageConfig? (readonly)
Returns the value of attribute pages.
1054 1055 1056 |
# File 'sig/types.rbs', line 1054 def pages @pages end |
#pdf_options ⇒ PdfConfig? (readonly)
Returns the value of attribute pdf_options.
1051 1052 1053 |
# File 'sig/types.rbs', line 1051 def @pdf_options end |
#postprocessor ⇒ PostProcessorConfig? (readonly)
Returns the value of attribute postprocessor.
1056 1057 1058 |
# File 'sig/types.rbs', line 1056 def postprocessor @postprocessor end |
#qr_codes ⇒ Boolean? (readonly)
Returns the value of attribute qr_codes.
1075 1076 1077 |
# File 'sig/types.rbs', line 1075 def qr_codes @qr_codes end |
#redaction ⇒ RedactionConfig? (readonly)
Returns the value of attribute redaction.
1069 1070 1071 |
# File 'sig/types.rbs', line 1069 def redaction @redaction end |
#result_format ⇒ enum_ResultFormat? (readonly)
Returns the value of attribute result_format.
1059 1060 1061 |
# File 'sig/types.rbs', line 1059 def result_format @result_format end |
#structured_extraction ⇒ StructuredExtractionConfig? (readonly)
Returns the value of attribute structured_extraction.
1066 1067 1068 |
# File 'sig/types.rbs', line 1066 def structured_extraction @structured_extraction end |
#summarization ⇒ SummarizationConfig? (readonly)
Returns the value of attribute summarization.
1070 1071 1072 |
# File 'sig/types.rbs', line 1070 def summarization @summarization end |
#timeout_secs ⇒ Integer? (readonly)
Returns the value of attribute timeout_secs.
1064 1065 1066 |
# File 'sig/types.rbs', line 1064 def timeout_secs @timeout_secs end |
#token_reduction ⇒ TokenReductionOptions? (readonly)
Returns the value of attribute token_reduction.
1052 1053 1054 |
# File 'sig/types.rbs', line 1052 def token_reduction @token_reduction end |
#transcription ⇒ TranscriptionConfig? (readonly)
Returns the value of attribute transcription.
1063 1064 1065 |
# File 'sig/types.rbs', line 1063 def transcription @transcription end |
#translation ⇒ TranslationConfig? (readonly)
Returns the value of attribute translation.
1071 1072 1073 |
# File 'sig/types.rbs', line 1071 def translation @translation end |
#tree_sitter ⇒ TreeSitterConfig? (readonly)
Returns the value of attribute tree_sitter.
1065 1066 1067 |
# File 'sig/types.rbs', line 1065 def tree_sitter @tree_sitter end |
#url ⇒ UrlExtractionConfig? (readonly)
Returns the value of attribute url.
1067 1068 1069 |
# File 'sig/types.rbs', line 1067 def url @url end |