Version:
interfaceextends Omit<UseVisionProviderOptions, "defaultModel">

UseOllamaVisionProviderOptions

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

typescript
interface UseOllamaVisionProviderOptions 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?stringOllama model ID to use (defaults to llama3.2-vision:11b).
ollama?{ baseURL: string }Ollama provider options.
openai?{ apiKey: string; baseURL: string }OpenAI provider options.

Was this page helpful?