yao/openapi/setting/search_presets.yml
Max c3040559e6 feat(search): add search provider endpoints and data structures
- Introduced new endpoints for managing search providers, including GET, PUT, and POST methods for testing and updating providers.
- Added data structures for search provider configuration, presets, and tool assignments to support the new functionality.
- Enhanced the OpenAPI settings to accommodate the new search-related features.
2026-04-29 11:29:03 +08:00

61 lines
2.1 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Search & Scrape provider presets.
# Embedded at compile time via go:embed in search.go.
- key: cloud
name: Yao Agents
description:
zh-CN: "云服务提供的搜索与抓取能力,凭证来自云服务配置页"
en-US: "Search & scrape capabilities from cloud service, credentials from cloud config"
website: "https://yaoagents.com"
tools: [web_search, web_scrape]
tool_labels:
- { zh-CN: "网页搜索", en-US: "Web Search" }
- { zh-CN: "网页抓取", en-US: "Web Scrape" }
fields: []
is_cloud: true
- key: tavily
name: Tavily
description:
zh-CN: "AI 优化的搜索 API返回结构化结果适合 Agent 使用"
en-US: "AI-optimized search API with structured results, ideal for agents"
website: "https://tavily.com"
tools: [web_search]
tool_labels:
- { zh-CN: "网页搜索", en-US: "Web Search" }
fields:
- key: api_key
label: { zh-CN: "API Key", en-US: "API Key" }
type: password
- key: serper
name: "Serper (Google)"
description:
zh-CN: "基于 Google 搜索的 API价格实惠结果质量高"
en-US: "Google Search API with affordable pricing and high-quality results"
website: "https://serper.dev"
tools: [web_search]
tool_labels:
- { zh-CN: "网页搜索", en-US: "Web Search" }
fields:
- key: api_key
label: { zh-CN: "API Key", en-US: "API Key" }
type: password
- key: brightdata
name: Brightdata
description:
zh-CN: "部分网站有访问限制,启用代理可提升抓取成功率。需开通 Web Access API (Web Unlocker)。"
en-US: "Some websites have access restrictions. Enabling proxy improves scraping success rate. Requires Web Access API (Web Unlocker)."
website: "https://brightdata.com"
tools: [web_scrape]
tool_labels:
- { zh-CN: "网页抓取", en-US: "Web Scrape" }
fields:
- key: api_key
label: { zh-CN: "API Key", en-US: "API Key" }
type: password
- key: zone
label: { zh-CN: "Zone", en-US: "Zone" }
type: text
hint: { zh-CN: "Web Unlocker API 的 Zone 名称", en-US: "Zone name of your Web Unlocker API" }