Version:
interfaceextends Omit<UseVisionProviderOptions, "defaultModel">

UseAnthropicVisionProviderOptions

Options for useAnthropicVisionProvider.
Accepts all provider config options plus an optional model override.

typescript
interface UseAnthropicVisionProviderOptions extends Omit<UseVisionProviderOptions, "defaultModel">

Properties

NameTypeDescription
anthropic?{ apiKey: string; baseURL: string }Anthropic provider options.
defaultConfidence?numberDefault confidence threshold in the range [0, 1].
defaultMaxMatches?numberDefault max number of returned matches.
matching?VisionMatchingSettingsExplicit matcher tuning settings. When present, these values override
equivalent top-level options.
model?stringAnthropic model ID to use (defaults to claude-3-7-sonnet-latest).
ollama?{ baseURL: string }Ollama provider options.
openai?{ apiKey: string; baseURL: string }OpenAI provider options.

Was this page helpful?