AnthropicApiSettings
Settings for AnthropicApi. 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
ApiEndpoint
public string ApiEndpoint { get; set; }Gets or sets the value of ApiEndpoint. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: string
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
BatchSize
public int BatchSize { get; set; }Gets or sets the value of BatchSize. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: int
ClassificationStrategy
public VlmClassificationStrategy ClassificationStrategy { get; set; }Gets or sets the value of ClassificationStrategy. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: VlmClassificationStrategy
MaxConcurrency
public int MaxConcurrency { get; set; }Gets or sets the value of MaxConcurrency. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: int
MaxTokens
public int MaxTokens { get; set; }Gets or sets the value of MaxTokens. 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
SendFullPageReference
public bool SendFullPageReference { get; set; }Gets or sets the value of SendFullPageReference. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: bool
Stream
public bool Stream { get; set; }Gets or sets the value of Stream. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: bool
SystemPrompt
public string SystemPrompt { get; set; }Gets or sets the value of SystemPrompt. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: string
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
Resource management
public void Dispose()AnthropicApiSettings 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.