Class VlmModelLocal.Builder
java.lang.Object
ai.docling.serve.api.convert.request.options.VlmModelLocal.Builder
- Enclosing class:
- VlmModelLocal
-
Method Summary
Modifier and TypeMethodDescriptionbuild()extraGenerationConfig(String extraGenerationConfigKey, Object extraGenerationConfigValue) extraGenerationConfig(Map<? extends String, ? extends Object> extraGenerationConfig) inferenceFramework(@Nullable VlmModelLocal.InferenceFramework inferenceFramework) responseFormat(@Nullable ResponseFormat responseFormat) toString()transformersModelType(@Nullable VlmModelLocal.TransformersModelType transformersModelType)
-
Method Details
-
repoId
- Returns:
this.
-
prompt
- Returns:
this.
-
scale
- Returns:
this.
-
responseFormat
- Returns:
this.
-
inferenceFramework
public VlmModelLocal.Builder inferenceFramework(@Nullable VlmModelLocal.InferenceFramework inferenceFramework) - Returns:
this.
-
transformersModelType
public VlmModelLocal.Builder transformersModelType(@Nullable VlmModelLocal.TransformersModelType transformersModelType) - Returns:
this.
-
extraGenerationConfig
public VlmModelLocal.Builder extraGenerationConfig(String extraGenerationConfigKey, Object extraGenerationConfigValue) -
extraGenerationConfig
public VlmModelLocal.Builder extraGenerationConfig(Map<? extends String, ? extends Object> extraGenerationConfig) -
clearExtraGenerationConfig
-
build
-
toString
-