deepsearch-service
9
总安装量
7
周安装量
#31981
全站排名
安装命令
npx skills add https://github.com/lin-a1/skills-agent --skill deepsearch-service
Agent 安装分布
claude-code
6
opencode
5
codex
4
gemini-cli
4
windsurf
3
antigravity
3
Skill 文档
åè½
åºäº LLM çè¿ä»£å¼æ·±åº¦æç´¢æå¡ï¼è½å¤ï¼
- å°å¤æé®é¢å解为å¤ä¸ªåæ¥è¯¢
- è¿ä»£æç´¢æ¶é夿ºä¿¡æ¯
- è¯ä¼°ä¿¡æ¯å åæ§ï¼å¨æè°æ´æç´¢çç¥
- 综åçæç»æååææ¥å
éç¨åºæ¯
- 夿é®é¢éè¦å¤è§åº¦åæ
- éè¦ç»¼åå¤ä¸ªæ¥æºçä¿¡æ¯
- è¦æ±çæå®æ´çç ç©¶æ¥å
è°ç¨æ¹å¼
from services.deepsearch_service.client import DeepSearchClient
client = DeepSearchClient()
# å¥åº·æ£æ¥
status = client.health_check()
# 深度æç´¢ï¼é»è®¤åæ°ï¼
result = client.search("Python弿¥ç¼ç¨çæä½³å®è·µæåªäºï¼")
# èªå®ä¹åæ°
result = client.search(
query="å¦ä½è®¾è®¡ä¸ä¸ªé«å¯ç¨çå¾®æå¡æ¶æï¼",
max_iterations=3, # æå¤§è¿ä»£æ¬¡æ° (1-5)
queries_per_iteration=3, # æ¯è½®æ¥è¯¢æ° (1-5)
depth_level="deep" # æç´¢æ·±åº¦: quick/normal/deep
)
# è·åæ¥å忥æº
print(result["report"])
for source in result["sources"]:
print(f"- {source['title']}: {source['url']}")
è¿åæ ¼å¼
{
"query": "Python弿¥ç¼ç¨çæä½³å®è·µæåªäºï¼",
"report": "# Python弿¥ç¼ç¨æä½³å®è·µ\n\n## 1. æ ¸å¿æ¦å¿µ...",
"sources": [
{
"title": "Python宿¹asyncioææ¡£",
"url": "https://docs.python.org/...",
"relevance": 0.95,
"snippet": "asyncioæ¯Pythonæ ååºä¸ç弿¥I/Oæ¡æ¶..."
}
],
"iterations": [
{
"iteration": 1,
"queries": ["Python asyncio æç¨", "async await ç¨æ³"],
"results_count": 6,
"key_findings": ["asyncioæ¯æ ååºç»ä»¶"]
}
],
"total_iterations": 2,
"total_sources": 8,
"elapsed_seconds": 45.32,
"search_timestamp": "2025-12-28T18:30:00"
}
ä¸ websearch_service çåºå«
| ç¹æ§ | WebSearch | DeepSearch |
|---|---|---|
| æç´¢æ¨¡å¼ | åè½®æç´¢ | è¿ä»£å¤è½®æç´¢ |
| æ¥è¯¢çç¥ | ç´æ¥ä½¿ç¨è¾å ¥ | LLM åè§£/ä¼å |
| è¾åºæ ¼å¼ | ç»æåå表 | ç»¼åæ¥å + æ¥æº |
| ååºæ¶é´ | 10-30s | 30-120s |