Package com.mindee

Class InferenceParameters


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

      • buildHttpBody

        public org.apache.hc.client5.http.entity.mime.MultipartEntityBuilder buildHttpBody​(org.apache.hc.client5.http.entity.mime.MultipartEntityBuilder builder)
        Overrides:
        buildHttpBody in class BaseParameters
      • 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.
      • getTextContext

        public String getTextContext()
        Additional text context used by the model during inference. Not recommended, for specific use only.
      • getDataSchema

        public String getDataSchema()
        Dynamic changes to the data schema of the model for this inference.