Class ExtractOutputMetadataValue


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

      • getOcrConfidence

        public java.util.Optional<java.lang.Double> getOcrConfidence()
        Returns:
        Confidence score from OCR processing, if applicable
      • getLogprobsConfidence

        public java.util.Optional<java.lang.Double> getLogprobsConfidence()
        Returns:
        Confidence score based on model logprobs
      • getReviewAgentScore

        public java.util.Optional<java.lang.Integer> getReviewAgentScore()
        Returns:
        A 1-5 score indicating the review agent's confidence in the extracted value.
        • 5: High confidence, no issues detected
        • 4: Good confidence, minor observations
        • 3: Moderate confidence, some uncertainty
        • 2: Low confidence, likely issues
        • 1: Very low confidence, significant problems detected

        These scores will be present when the reviewAgent.enabled flag is set to true in the processor config. If the review agent is enabled but a score is not returned for a field, this value will be null. To learn more, view the Review Agent Documentation

      • getCitations

        public java.util.Optional<java.util.List<Citation>> getCitations()
      • getInsights

        public java.util.Optional<java.util.List<Insight>> getInsights()
      • 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