Class InferenceResult


  • public final class InferenceResult
    extends Object
    The inference result for an extraction request.
    • Method Detail

      • getFields

        public InferenceFields getFields()
        Extracted fields, the key corresponds to the field's name in the data schema.
      • getRawText

        public RawText getRawText()
        If 'rawText' was activated, contains the extracted text of the document.
      • getRag

        public RagMetadata getRag()
        If 'rag' was activated, contains metadata about the RAG operation.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object