文件预览

config.example.json

查看 Web Search Plus 技能包中的文件内容。

文件内容

config.example.json

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$comment": "Web Search Plus v3.1.0 example config — search routing plus extraction-capable provider settings (incl. opt-in SerpBase)",
  "defaults": {
    "provider": "serper",
    "max_results": 5
  },
  "auto_routing": {
    "enabled": true,
    "fallback_provider": "serper",
    "provider_priority": [
      "tavily",
      "linkup",
      "querit",
      "exa",
      "firecrawl",
      "perplexity",
      "brave",
      "serper",
      "you",
      "searxng"
    ],
    "disabled_providers": [],
    "confidence_threshold": 0.3
  },
  "serper": {
    "country": "us",
    "language": "en",
    "type": "search"
  },
  "brave": {
    "country": "US",
    "search_lang": "en",
    "safesearch": "moderate"
  },
  "tavily": {
    "depth": "advanced",
    "topic": "general"
  },
  "querit": {
    "base_url": "https://api.querit.ai",
    "base_path": "/v1/search",
    "timeout": 10
  },
  "linkup": {
    "api_url": "https://api.linkup.so/v1/search",
    "depth": "standard",
    "output_type": "searchResults",
    "timeout": 30
  },
  "exa": {
    "type": "neural",
    "depth": "normal",
    "verbosity": "standard"
  },
  "firecrawl": {
    "api_url": "https://api.firecrawl.dev/v2/search",
    "country": "US",
    "timeout": 30000,
    "sources": ["web"],
    "ignore_invalid_urls": false
  },
  "perplexity": {
    "api_url": "https://api.kilo.ai/api/gateway/chat/completions",
    "model": "perplexity/sonar-pro"
  },
  "you": {
    "country": "us",
    "safesearch": "moderate"
  },
  "searxng": {
    "instance_url": null,
    "safesearch": 0,
    "engines": null,
    "language": "en"
  },
  "serpbase": {
    "$comment": "SerpBase is explicit/fallback-only. To include in auto-routing, append 'serpbase' to auto_routing.provider_priority.",
    "api_url": "https://api.serpbase.com/search",
    "timeout": 30
  }
}