Class ExtractConfigLegacy


  • public final class ExtractConfigLegacy
    extends java.lang.Object
    • Method Detail

      • getBaseProcessor

        public java.util.Optional<ExtractConfigLegacyBaseProcessor> getBaseProcessor()
        Returns:
        The base processor to use. For extractors, this can be either "extraction_performance" or "extraction_light". Defaults to "extraction_performance" if not provided. See Extraction Changelog for more details.
      • getBaseVersion

        public java.util.Optional<java.lang.String> getBaseVersion()
        Returns:
        The version of the "extraction_performance" or "extraction_light" processor to use. If not provided, the latest stable version for the selected baseProcessor will be used automatically. See Extraction Changelog for more details.
      • getExtractionRules

        public java.util.Optional<java.lang.String> getExtractionRules()
        Returns:
        Custom rules to guide the extraction process in natural language.
      • getFields

        public java.util.List<ExtractionField> getFields()
        Returns:
        Array of fields to extract from the document. This is the legacy format.

        We recommend using JSON Schema (schema property) for new implementations.

      • getAdvancedOptions

        public java.util.Optional<ExtractAdvancedOptions> getAdvancedOptions()
        Returns:
        Advanced configuration options.
      • getParseConfig

        public java.util.Optional<ParseConfig> getParseConfig()
        Returns:
        Configuration options for the parsing process.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object