Package com.mindee

Class PredictOptions


  • public final class PredictOptions
    extends Object
    Parameters for making predict API calls.
    • Method Detail

      • getAllWords

        public Boolean getAllWords()
        Whether to include the full text for each page. This performs a full OCR operation on the server and will increase response time.
      • getCropper

        public Boolean getCropper()
        Whether to include cropper results for each page. This performs a cropping operation on the server and will increase response time.
      • getFullText

        public Boolean getFullText()
        Whether to include the full text data for async APIs. This performs a full OCR operation on the server and will increase response time and payload size.
      • getWorkflowId

        public String getWorkflowId()
        If set, will enqueue to a workflow queue instead of a product's endpoint.
      • getRag

        public Boolean getRag()
        If set, will enable Retrieval-Augmented Generation. Only works if a valid workflowId is set.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object