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.

Inheritors

Functions

Link copied to clipboard
API endpoint URL for Anthropic Messages API
Link copied to clipboard
public String getApiKey()
Anthropic API key for authentication.
Link copied to clipboard
public int getBatchSize()
Number of zone images to include per VLM API call.
Link copied to clipboard
public VlmClassificationStrategy getClassificationStrategy()
Strategy for how zones are sent to the VLM for classification.
Link copied to clipboard
public int getMaxConcurrency()
Maximum number of concurrent VLM API calls.
Link copied to clipboard
public int getMaxTokens()
Maximum tokens in response.
Link copied to clipboard
public String getModel()
Model identifier to use for classification
Link copied to clipboard
public boolean getSendFullPageReference()
Whether to send the full page image as reference context alongside cropped zones.
Link copied to clipboard
public boolean getStream()
Whether to stream responses from the API
Link copied to clipboard
Optional custom system prompt for zone classification.
Link copied to clipboard
public double getTemperature()
Temperature for response generation (0.0 = deterministic, 1.0 = creative).
Link copied to clipboard
public void setApiEndpoint(String value)
API endpoint URL for Anthropic Messages API
Link copied to clipboard
public void setApiKey(String value)
Anthropic API key for authentication.
Link copied to clipboard
public void setBatchSize(int value)
Number of zone images to include per VLM API call.
Link copied to clipboard
public void setClassificationStrategy(VlmClassificationStrategy value)
Strategy for how zones are sent to the VLM for classification.
Link copied to clipboard
public void setMaxConcurrency(int value)
Maximum number of concurrent VLM API calls.
Link copied to clipboard
public void setMaxTokens(int value)
Maximum tokens in response.
Link copied to clipboard
public void setModel(String value)
Model identifier to use for classification
Link copied to clipboard
public void setSendFullPageReference(boolean value)
Whether to send the full page image as reference context alongside cropped zones.
Link copied to clipboard
public void setStream(boolean value)
Whether to stream responses from the API
Link copied to clipboard
public void setSystemPrompt(String value)
Optional custom system prompt for zone classification.
Link copied to clipboard
public void setTemperature(double value)
Temperature for response generation (0.0 = deterministic, 1.0 = creative).