AlphaEar Search Skill
Overview
Unified search capabilities: web search (Jina/DDG/Baidu) and local RAG search.
Capabilities
1. Web Search
Use scripts/search_tools.py via SearchTools.
- Engines:
jina,
ddg,
baidu,
local.
- Returns: JSON string (summary) or List[Dict] (via
search_list).
- - Smart Cache (Agentic): If you want to avoid redundant searches, use the Search Cache Relevance Prompt in
references/PROMPTS.md. Read the cache first and decide if it's usable. - Aggregate: INLINECODE9
- Combines results from multiple engines.
2. Local RAG
Use scripts/hybrid_search.py or SearchTools with engine='local'.
- - Search: Searches local
daily_news database.
Dependencies
- -
duckduckgo-search, INLINECODE15 - INLINECODE16 (search cache & local news)
AlphaEar 搜索技能
概述
统一搜索能力:网络搜索(Jina/DDG/百度)和本地RAG搜索。
功能
1. 网络搜索
通过 SearchTools 使用 scripts/search_tools.py。
- - 搜索:search(query, engine, max_results)
- 搜索引擎:jina、ddg、baidu、local。
- 返回:JSON字符串(摘要)或List[Dict](通过 search_list)。
- - 智能缓存(代理式):如需避免重复搜索,请使用 references/PROMPTS.md 中的搜索缓存相关性提示。先读取缓存,再判断是否可用。
- 聚合:aggregate_search(query)
- 合并多个搜索引擎的结果。
2. 本地RAG
使用 scripts/hybrid_search.py 或 SearchTools 并设置 engine=local。
- - 搜索:搜索本地 daily_news 数据库。
依赖项
- - duckduckgo-search、requests
- scripts/database_manager.py(搜索缓存和本地新闻)