LocalAiProcessingSettings

public final class LocalAiProcessingSettings

Settings for LocalAiProcessing. Values fall back through three levels: document → SDK → built-in default. Writes target the document only when set on a document's settings, otherwise the SDK globally when set on SdkSettings.

Functions

Link copied to clipboard
public final int getContextTokens()
Context size in tokens; 0 uses the engine default (4096).
Link copied to clipboard
public final int getGpuLayers()
Model layers to offload to GPU; 0 is pure CPU.
Link copied to clipboard
public final int getImageMinTokens()
Minimum image tokens for dynamic-resolution vision models; 0 uses the model default.
Link copied to clipboard
public final int getMaxConcurrency()
Maximum number of concurrent calls.
Link copied to clipboard
public final String getMmprojPath()
Filesystem path to the matching multimodal projector (mmproj) GGUF.
Link copied to clipboard
public final String getModelPath()
Filesystem path to the GGUF model used for structured extraction.
Link copied to clipboard
public final int getThreads()
Inference threads; 0 uses the engine default.
Link copied to clipboard
public final void setContextTokens(int value)
Context size in tokens; 0 uses the engine default (4096).
Link copied to clipboard
public final void setGpuLayers(int value)
Model layers to offload to GPU; 0 is pure CPU.
Link copied to clipboard
public final void setImageMinTokens(int value)
Minimum image tokens for dynamic-resolution vision models; 0 uses the model default.
Link copied to clipboard
public final void setMaxConcurrency(int value)
Maximum number of concurrent calls.
Link copied to clipboard
public final void setMmprojPath(String value)
Filesystem path to the matching multimodal projector (mmproj) GGUF.
Link copied to clipboard
public final void setModelPath(String value)
Filesystem path to the GGUF model used for structured extraction.
Link copied to clipboard
public final void setThreads(int value)
Inference threads; 0 uses the engine default.