This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /api/csharp/settings/vision/advanced/ai-processing-settings.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. AiProcessingSettings

Settings for AiProcessing. 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.

using Nutrient;

The SDK creates this class through factory methods or other SDK objects.

Properties

AiProvider

public VlmProvider AiProvider { get; set; }

Gets or sets the value of AiProvider. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: VlmProvider

ApiKey

public string? ApiKey { get; set; }

Gets or sets the value of ApiKey. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: string?

Endpoint

public string? Endpoint { get; set; }

Gets or sets the value of Endpoint. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: string?

FallbackAiProvider

public VlmProvider FallbackAiProvider { get; set; }

Gets or sets the value of FallbackAiProvider. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: VlmProvider

IncludeCompositeConfidence

public bool IncludeCompositeConfidence { get; set; }

Gets or sets the value of IncludeCompositeConfidence. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

IncludeConfidence

public bool IncludeConfidence { get; set; }

Gets or sets the value of IncludeConfidence. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

IncludeGroundedness

public bool IncludeGroundedness { get; set; }

Gets or sets the value of IncludeGroundedness. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

IncludePageImages

public bool IncludePageImages { get; set; }

Gets or sets the value of IncludePageImages. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

IncludeSourceLocations

public bool IncludeSourceLocations { get; set; }

Gets or sets the value of IncludeSourceLocations. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

MaxAttempts

public int? MaxAttempts { get; set; }

Gets or sets the value of MaxAttempts. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: int?

MaxInputTokens

public int MaxInputTokens { get; set; }

Gets or sets the value of MaxInputTokens. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: int

MaxParallelCalls

public int MaxParallelCalls { get; set; }

Gets or sets the value of MaxParallelCalls. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: int

MetadataSchemaVersion

public int MetadataSchemaVersion { get; set; }

Gets or sets the value of MetadataSchemaVersion. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: int

Model

public string? Model { get; set; }

Gets or sets the value of Model. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: string?

NetworkTimeoutSeconds

public int? NetworkTimeoutSeconds { get; set; }

Gets or sets the value of NetworkTimeoutSeconds. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: int?

Provider

public string? Provider { get; set; }

Gets or sets the value of Provider. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: string?

StrictStructuredOutput

public bool StrictStructuredOutput { get; set; }

Gets or sets the value of StrictStructuredOutput. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

Temperature

public double? Temperature { get; set; }

Gets or sets the value of Temperature. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: double?

UnparseableOutputHandling

public UnparseableOutputHandling UnparseableOutputHandling { get; set; }

Gets or sets the value of UnparseableOutputHandling. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: UnparseableOutputHandling

Resource management

public void Dispose()

AiProcessingSettings implements IDisposable. Call Dispose() or use a C# using declaration to release its native handle right away. If you don’t, the handle is released when the object is garbage collected.