Documentation Index
Fetch the complete documentation index at: https://docs.linkup.so/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Linkup can be used with the Vercel AI SDK as a tool for web search. This integration allows you to build AI applications that can access real-time information from the internet using any model supported by the AI SDK.GitHub Repository
Getting Started with Linkup in Vercel AI SDK
Install the Linkup AI SDK
We have chosen OpenAI as the default model provider, but you can use any provider supported by the Vercel AI SDK (like
@ai-sdk/anthropic, @ai-sdk/mistral, etc.)Configuration Options
ThewebSearch tool accepts the following configuration options:
| Parameter | Type | Default | Description |
|---|---|---|---|
apiKey | string | process.env.LINKUP_API_KEY | Your Linkup API key. If not provided, it will be read from the environment variable. |
depth | ’fast’ | ‘standard’ | ‘deep' | 'standard’ | Search depth. fast is the fastest with no LLM processing, standard leverages agentic search, deep performs more thorough research. |
includeImages | boolean | false | Whether to include images in the search results. |
includeDomains | string[] | [] | Array of domains to include in the search results. |
excludeDomains | string[] | [] | Array of domains to exclude from the search results. |
fromDate | Date | null | Start date for filtering search results. |
toDate | Date | null | End date for filtering search results. |
Resources
Need help? Email
support@linkup.so, ping us on Discord, or talk to us.