Package com.mindee
Class InferenceParameters.Builder
- java.lang.Object
-
- com.mindee.InferenceParameters.Builder
-
- Enclosing class:
- InferenceParameters
public static final class InferenceParameters.Builder extends Object
Fluent builder forInferenceParameters
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InferenceParameters.Builder
alias(String alias)
Set an alias for the uploaded document.InferenceParameters
build()
Build an immutableInferenceParameters
instance.InferenceParameters.Builder
confidence(Boolean confidence)
Boost the precision and accuracy of all extractions.InferenceParameters.Builder
pollingOptions(AsyncPollingOptions pollingOptions)
InferenceParameters.Builder
polygon(Boolean polygon)
Calculate bounding box polygons for all fields.InferenceParameters.Builder
rag(Boolean rag)
Enhance extraction accuracy with Retrieval-Augmented Generation.InferenceParameters.Builder
rawText(Boolean rawText)
Extract the full text content from the document as strings.InferenceParameters.Builder
webhookIds(String[] webhookIds)
Provide IDs of webhooks to forward the API response to.
-
-
-
Method Detail
-
rag
public InferenceParameters.Builder rag(Boolean rag)
Enhance extraction accuracy with Retrieval-Augmented Generation.
-
rawText
public InferenceParameters.Builder rawText(Boolean rawText)
Extract the full text content from the document as strings.
-
polygon
public InferenceParameters.Builder polygon(Boolean polygon)
Calculate bounding box polygons for all fields.
-
confidence
public InferenceParameters.Builder confidence(Boolean confidence)
Boost the precision and accuracy of all extractions. Calculate confidence scores for all fields.
-
alias
public InferenceParameters.Builder alias(String alias)
Set an alias for the uploaded document.
-
webhookIds
public InferenceParameters.Builder webhookIds(String[] webhookIds)
Provide IDs of webhooks to forward the API response to.
-
pollingOptions
public InferenceParameters.Builder pollingOptions(AsyncPollingOptions pollingOptions)
-
build
public InferenceParameters build()
Build an immutableInferenceParameters
instance.
-
-