Class: Xberg::ExtractedDocument
- Inherits:
-
Object
- Object
- Xberg::ExtractedDocument
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#annotations ⇒ Array[PdfAnnotation]?
readonly
Returns the value of attribute annotations.
-
#children ⇒ Array[ArchiveEntry]?
readonly
Returns the value of attribute children.
-
#chunks ⇒ Array[Chunk]?
readonly
Returns the value of attribute chunks.
-
#code_intelligence ⇒ String?
readonly
Returns the value of attribute code_intelligence.
-
#content ⇒ String
readonly
Returns the value of attribute content.
-
#counts ⇒ DocumentCounts
readonly
Returns the value of attribute counts.
-
#detected_language_confidences ⇒ Array[LanguageConfidence]?
readonly
Returns the value of attribute detected_language_confidences.
-
#detected_languages ⇒ Array[String]?
readonly
Returns the value of attribute detected_languages.
-
#djot_content ⇒ DjotContent?
readonly
Returns the value of attribute djot_content.
-
#document ⇒ DocumentStructure?
readonly
Returns the value of attribute document.
-
#elements ⇒ Array[Element]?
readonly
Returns the value of attribute elements.
-
#entities ⇒ Array[Entity]?
readonly
Returns the value of attribute entities.
-
#extracted_keywords ⇒ Array[Keyword]?
readonly
Returns the value of attribute extracted_keywords.
-
#extraction_confidence ⇒ ExtractionConfidence?
readonly
Returns the value of attribute extraction_confidence.
-
#extraction_method ⇒ enum_ExtractionMethod?
readonly
Returns the value of attribute extraction_method.
-
#form_fields ⇒ Array[PdfFormField]
readonly
Returns the value of attribute form_fields.
-
#formulas ⇒ Array[Formula]
readonly
Returns the value of attribute formulas.
-
#images ⇒ Array[ExtractedImage]?
readonly
Returns the value of attribute images.
-
#llm_usage ⇒ Array[LlmUsage]?
readonly
Returns the value of attribute llm_usage.
-
#metadata ⇒ Metadata
readonly
Returns the value of attribute metadata.
-
#mime_type ⇒ String
readonly
Returns the value of attribute mime_type.
-
#ocr_elements ⇒ Array[OcrElement]?
readonly
Returns the value of attribute ocr_elements.
-
#page_classifications ⇒ Array[PageClassification]?
readonly
Returns the value of attribute page_classifications.
-
#pages ⇒ Array[PageContent]?
readonly
Returns the value of attribute pages.
-
#processing_warnings ⇒ Array[ProcessingWarning]
readonly
Returns the value of attribute processing_warnings.
-
#quality_score ⇒ Float?
readonly
Returns the value of attribute quality_score.
-
#redaction_report ⇒ RedactionReport?
readonly
Returns the value of attribute redaction_report.
-
#revisions ⇒ Array[DocumentRevision]?
readonly
Returns the value of attribute revisions.
-
#structured_output ⇒ String?
readonly
Returns the value of attribute structured_output.
-
#summary ⇒ DocumentSummary?
readonly
Returns the value of attribute summary.
-
#tables ⇒ Array[Table]
readonly
Returns the value of attribute tables.
-
#translation ⇒ Translation?
readonly
Returns the value of attribute translation.
-
#uris ⇒ Array[ExtractedUri]?
readonly
Returns the value of attribute uris.
Instance Method Summary collapse
-
#initialize ⇒ ExtractedDocument
constructor
A new instance of ExtractedDocument.
Constructor Details
#initialize ⇒ ExtractedDocument
Returns a new instance of ExtractedDocument.
882 |
# File 'sig/types.rbs', line 882
def initialize: (?content: String, ?mime_type: String, ?metadata: Metadata, ?extraction_method: enum_ExtractionMethod, ?tables: Array[Table], ?counts: DocumentCounts, ?detected_languages: Array[String], ?detected_language_confidences: Array[LanguageConfidence], ?chunks: Array[Chunk], ?images: Array[ExtractedImage], ?pages: Array[PageContent], ?elements: Array[Element], ?djot_content: DjotContent, ?ocr_elements: Array[OcrElement], ?document: DocumentStructure, ?extracted_keywords: Array[Keyword], ?quality_score: Float, ?processing_warnings: Array[ProcessingWarning], ?annotations: Array[PdfAnnotation], ?children: Array[ArchiveEntry], ?uris: Array[ExtractedUri], ?revisions: Array[DocumentRevision], ?structured_output: String, ?code_intelligence: String, ?llm_usage: Array[LlmUsage], ?entities: Array[Entity], ?summary: DocumentSummary, ?extraction_confidence: ExtractionConfidence, ?translation: Translation, ?page_classifications: Array[PageClassification], ?redaction_report: RedactionReport, ?formulas: Array[Formula], ?form_fields: Array[PdfFormField]) -> void
|
Instance Attribute Details
#annotations ⇒ Array[PdfAnnotation]? (readonly)
Returns the value of attribute annotations.
866 867 868 |
# File 'sig/types.rbs', line 866 def annotations @annotations end |
#children ⇒ Array[ArchiveEntry]? (readonly)
Returns the value of attribute children.
867 868 869 |
# File 'sig/types.rbs', line 867 def children @children end |
#chunks ⇒ Array[Chunk]? (readonly)
Returns the value of attribute chunks.
856 857 858 |
# File 'sig/types.rbs', line 856 def chunks @chunks end |
#code_intelligence ⇒ String? (readonly)
Returns the value of attribute code_intelligence.
871 872 873 |
# File 'sig/types.rbs', line 871 def code_intelligence @code_intelligence end |
#content ⇒ String (readonly)
Returns the value of attribute content.
848 849 850 |
# File 'sig/types.rbs', line 848 def content @content end |
#counts ⇒ DocumentCounts (readonly)
Returns the value of attribute counts.
853 854 855 |
# File 'sig/types.rbs', line 853 def counts @counts end |
#detected_language_confidences ⇒ Array[LanguageConfidence]? (readonly)
Returns the value of attribute detected_language_confidences.
855 856 857 |
# File 'sig/types.rbs', line 855 def detected_language_confidences @detected_language_confidences end |
#detected_languages ⇒ Array[String]? (readonly)
Returns the value of attribute detected_languages.
854 855 856 |
# File 'sig/types.rbs', line 854 def detected_languages @detected_languages end |
#djot_content ⇒ DjotContent? (readonly)
Returns the value of attribute djot_content.
860 861 862 |
# File 'sig/types.rbs', line 860 def djot_content @djot_content end |
#document ⇒ DocumentStructure? (readonly)
Returns the value of attribute document.
862 863 864 |
# File 'sig/types.rbs', line 862 def document @document end |
#elements ⇒ Array[Element]? (readonly)
Returns the value of attribute elements.
859 860 861 |
# File 'sig/types.rbs', line 859 def elements @elements end |
#entities ⇒ Array[Entity]? (readonly)
Returns the value of attribute entities.
873 874 875 |
# File 'sig/types.rbs', line 873 def entities @entities end |
#extracted_keywords ⇒ Array[Keyword]? (readonly)
Returns the value of attribute extracted_keywords.
863 864 865 |
# File 'sig/types.rbs', line 863 def extracted_keywords @extracted_keywords end |
#extraction_confidence ⇒ ExtractionConfidence? (readonly)
Returns the value of attribute extraction_confidence.
875 876 877 |
# File 'sig/types.rbs', line 875 def extraction_confidence @extraction_confidence end |
#extraction_method ⇒ enum_ExtractionMethod? (readonly)
Returns the value of attribute extraction_method.
851 852 853 |
# File 'sig/types.rbs', line 851 def extraction_method @extraction_method end |
#form_fields ⇒ Array[PdfFormField] (readonly)
Returns the value of attribute form_fields.
880 881 882 |
# File 'sig/types.rbs', line 880 def form_fields @form_fields end |
#formulas ⇒ Array[Formula] (readonly)
Returns the value of attribute formulas.
879 880 881 |
# File 'sig/types.rbs', line 879 def formulas @formulas end |
#images ⇒ Array[ExtractedImage]? (readonly)
Returns the value of attribute images.
857 858 859 |
# File 'sig/types.rbs', line 857 def images @images end |
#llm_usage ⇒ Array[LlmUsage]? (readonly)
Returns the value of attribute llm_usage.
872 873 874 |
# File 'sig/types.rbs', line 872 def llm_usage @llm_usage end |
#metadata ⇒ Metadata (readonly)
Returns the value of attribute metadata.
850 851 852 |
# File 'sig/types.rbs', line 850 def @metadata end |
#mime_type ⇒ String (readonly)
Returns the value of attribute mime_type.
849 850 851 |
# File 'sig/types.rbs', line 849 def mime_type @mime_type end |
#ocr_elements ⇒ Array[OcrElement]? (readonly)
Returns the value of attribute ocr_elements.
861 862 863 |
# File 'sig/types.rbs', line 861 def ocr_elements @ocr_elements end |
#page_classifications ⇒ Array[PageClassification]? (readonly)
Returns the value of attribute page_classifications.
877 878 879 |
# File 'sig/types.rbs', line 877 def page_classifications @page_classifications end |
#pages ⇒ Array[PageContent]? (readonly)
Returns the value of attribute pages.
858 859 860 |
# File 'sig/types.rbs', line 858 def pages @pages end |
#processing_warnings ⇒ Array[ProcessingWarning] (readonly)
Returns the value of attribute processing_warnings.
865 866 867 |
# File 'sig/types.rbs', line 865 def processing_warnings @processing_warnings end |
#quality_score ⇒ Float? (readonly)
Returns the value of attribute quality_score.
864 865 866 |
# File 'sig/types.rbs', line 864 def quality_score @quality_score end |
#redaction_report ⇒ RedactionReport? (readonly)
Returns the value of attribute redaction_report.
878 879 880 |
# File 'sig/types.rbs', line 878 def redaction_report @redaction_report end |
#revisions ⇒ Array[DocumentRevision]? (readonly)
Returns the value of attribute revisions.
869 870 871 |
# File 'sig/types.rbs', line 869 def revisions @revisions end |
#structured_output ⇒ String? (readonly)
Returns the value of attribute structured_output.
870 871 872 |
# File 'sig/types.rbs', line 870 def structured_output @structured_output end |
#summary ⇒ DocumentSummary? (readonly)
Returns the value of attribute summary.
874 875 876 |
# File 'sig/types.rbs', line 874 def summary @summary end |
#tables ⇒ Array[Table] (readonly)
Returns the value of attribute tables.
852 853 854 |
# File 'sig/types.rbs', line 852 def tables @tables end |
#translation ⇒ Translation? (readonly)
Returns the value of attribute translation.
876 877 878 |
# File 'sig/types.rbs', line 876 def translation @translation end |
#uris ⇒ Array[ExtractedUri]? (readonly)
Returns the value of attribute uris.
868 869 870 |
# File 'sig/types.rbs', line 868 def uris @uris end |