Linkup Web Search

Search the web using the Linkup API. Provides real-time web search capabilities with citations.

v0.1.6
linkup_web_search.py
Python · 256 lines
82    class Valves(BaseModel):83        linkup_api_key: str = Field(84            default="", description="Get a Linkup API key at https://linkup.so/"85        )86        output_type: str = Field(87            default="searchResults",88            description="Choose between 'searchResults' for model grounding or 'sourcedAnswer' for a direct answer",89        )90 91    def __init__(self) -> None:92        """Initialize the Linkup Web Search Tool."""93        self.valves = self.Valves()

Linkup Web Search

Purpose: Enable agentic web search with real-time information gathering.

This tool empowers models to conduct web research through iterative search strategies. Models can split and chain searches to build comprehensive understanding of topics.

Key Features

  • Access web search results or AI-generated answers
  • Date range filtering
  • Domain inclusion/exclusion
  • Automatic citation generation with sequential indices for inline references

Setup

  1. Import the tool into Open WebUI (Workspace → Tools)
  2. Get a Linkup API key from Linkup
  3. Configure the tool by clicking the valves settings icon and entering the API key

Tool Parameters

  • Required: query - search query
  • Optional: from_date - search results from this date
  • Optional: to_date - search results until this date
  • Optional: exclude_domains - domains to exclude from results
  • Optional: include_domains - only include results from these domains

Output Modes

  • searchResults (default): returns raw search results with full content and individual citations
  • sourcedAnswer: returns an AI-generated answer with source list and citations

Choose searchResults for more accurate model grounding or sourcedAnswer to reduce token usage.

Contributing

For reporting issues or submitting pull requests, see openwebui-plugins.

0
0

Linkup Web Search

Purpose: Enable agentic web search with real-time information gathering.

This tool empowers models to conduct web research through iterative search strategies. Models can split and chain searches to build comprehensive understanding of topics.

Key Features

  • Access web search results or AI-generated answers
  • Date range filtering
  • Domain inclusion/exclusion
  • Automatic citation generation with sequential indices for inline references

Setup

  1. Import the tool into Open WebUI (Workspace → Tools)
  2. Get a Linkup API key from Linkup
  3. Configure the tool by clicking the valves settings icon and entering the API key

Tool Parameters

  • Required: query - search query
  • Optional: from_date - search results from this date
  • Optional: to_date - search results until this date
  • Optional: exclude_domains - domains to exclude from results
  • Optional: include_domains - only include results from these domains

Output Modes

  • searchResults (default): returns raw search results with full content and individual citations
  • sourcedAnswer: returns an AI-generated answer with source list and citations

Choose searchResults for more accurate model grounding or sourcedAnswer to reduce token usage.

Contributing

For reporting issues or submitting pull requests, see openwebui-plugins.

0
0