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
pollingOptions(AsyncPollingOptions pollingOptions)
InferenceParameters.Builder
rag(boolean rag)
Enable / disable Retrieval-Augmented Generation.InferenceParameters.Builder
webhookIds(List<String> webhookIds)
Provide IDs of webhooks to forward the API response to.
-
-
-
Method Detail
-
rag
public InferenceParameters.Builder rag(boolean rag)
Enable / disable Retrieval-Augmented Generation.
-
alias
public InferenceParameters.Builder alias(String alias)
Set an alias for the uploaded document.
-
webhookIds
public InferenceParameters.Builder webhookIds(List<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.
-
-