Package com.mindee.parsing.v2
Class InferenceResult
- java.lang.Object
-
- com.mindee.parsing.v2.InferenceResult
-
public final class InferenceResult extends Object
Generic result for any off-the-shelf Mindee V2 model.
-
-
Constructor Summary
Constructors Constructor Description InferenceResult()InferenceResult(InferenceFields fields, RawText rawText, RagMetadata rag)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)InferenceFieldsgetFields()Extracted fields, the key corresponds to the field's name in the data schema.RagMetadatagetRag()RAG metadata.RawTextgetRawText()Raw text extracted from all pages in the document.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
InferenceResult
public InferenceResult(InferenceFields fields, RawText rawText, RagMetadata rag)
-
InferenceResult
public InferenceResult()
-
-
Method Detail
-
getFields
public InferenceFields getFields()
Extracted fields, the key corresponds to the field's name in the data schema.
-
getRawText
public RawText getRawText()
Raw text extracted from all pages in the document.
-
getRag
public RagMetadata getRag()
RAG metadata.
-
-