Package com.mindee

Class InferenceParameters


  • public final class InferenceParameters
    extends Object
    Options to pass when calling methods using the API V2.
    • Method Detail

      • getModelId

        public String getModelId()
        ID of the model (required).
      • getRag

        public Boolean getRag()
        Enhance extraction accuracy with Retrieval-Augmented Generation.
      • getRawText

        public Boolean getRawText()
        Extract the full text content from the document as strings.
      • getPolygon

        public Boolean getPolygon()
        Calculate bounding box polygons for all fields.
      • getConfidence

        public Boolean getConfidence()
        Boost the precision and accuracy of all extractions. Calculate confidence scores for all fields.
      • getAlias

        public String getAlias()
        Optional alias for the file.
      • getWebhookIds

        public String[] getWebhookIds()
        IDs of webhooks to propagate the API response to (may be empty).
      • getPollingOptions

        public AsyncPollingOptions getPollingOptions()
        Polling options. Set only if having timeout issues.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object