Version:
interface

VercelAiSdkVisionProviderConfig

Configuration for the Vercel AI SDK vision finder, including default model
selection, confidence thresholds, and provider-specific connection options.

typescript
interface VercelAiSdkVisionProviderConfig

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.
defaultModel?VercelAiSdkVisionModelConfigurationDefault model used for requests when not overridden via providerData.
ollama?{ baseURL: string }Ollama provider options.
openai?{ apiKey: string; baseURL: string }OpenAI provider options.
openaiCompatible?{ apiKey: string; baseURL: string; headers: Record<string, string>; name: string; queryParams: Record<string, string>; supportsStructuredOutputs: boolean }Configuration for self-hosted servers that expose the OpenAI Chat
Completions API (e.g. vLLM, LMStudio, llama.cpp, LocalAI). Required when
the provider is set to "openai-compatible".

Was this page helpful?