desearch-ai-search
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAI Search By Desearch
基于Desearch的AI搜索
AI-powered multi-source search that aggregates results from web, Reddit, Hacker News, YouTube, ArXiv, Wikipedia, and X/Twitter — returning either
summarized answers or curated links.
由AI驱动的多源搜索工具,可聚合来自网页、Reddit、Hacker News、YouTube、ArXiv、Wikipedia和X/Twitter的结果——返回总结后的答案或精选链接。
Quick Start
快速开始
- Get an API key from https://console.desearch.ai
- Set environment variable:
export DESEARCH_API_KEY='your-key-here'
- 从https://console.desearch.ai获取API密钥
- 设置环境变量:
export DESEARCH_API_KEY='your-key-here'
Usage
使用方法
bash
undefinedbash
undefinedAI contextual search (summarized results from multiple sources)
AI上下文搜索(来自多源的总结结果)
desearch.py ai_search "What is Bittensor?" --tools web,reddit,youtube
desearch.py ai_search "What is Bittensor?" --tools web,reddit,youtube
AI web link search (curated links from specific sources)
AI网页链接搜索(来自特定源的精选链接)
desearch.py ai_web "machine learning papers" --tools arxiv,web,wikipedia
desearch.py ai_web "machine learning papers" --tools arxiv,web,wikipedia
AI X/Twitter link search (curated post links)
AI X/Twitter链接搜索(精选帖子链接)
desearch.py ai_x "crypto market trends" --count 20
undefineddesearch.py ai_x "crypto market trends" --count 20
undefinedCommands
命令
| Command | Description |
|---|---|
| AI-summarized search across multiple sources. Returns aggregated results with context. |
| AI-curated link search. Returns the most relevant links from chosen sources. |
| AI-powered X/Twitter search. Returns the most relevant post links for a topic. |
| 命令 | 描述 |
|---|---|
| 跨多源的AI总结式搜索。返回带上下文的聚合结果。 |
| AI精选的链接搜索。返回来自所选源的最相关链接。 |
| 由AI驱动的X/Twitter搜索。返回与主题最相关的帖子链接。 |
Options
选项
| Option | Description | Applies to |
|---|---|---|
| Sources to search: | Both |
| Number of results (default: 10, max: 200) | All |
| Time filter: | |
| 选项 | 描述 | 适用范围 |
|---|---|---|
| 要搜索的源: | 全部命令 |
| 结果数量(默认:10,最大值:200) | 全部命令 |
| 时间筛选: | |
Examples
示例
Research a topic with AI summary
用AI总结研究某一主题
bash
desearch.py ai_search "What are the latest developments in quantum computing?" --tools web,arxiv,redditbash
desearch.py ai_search "What are the latest developments in quantum computing?" --tools web,arxiv,redditFind academic papers
查找学术论文
bash
desearch.py ai_web "transformer architecture improvements 2026" --tools arxiv,webbash
desearch.py ai_web "transformer architecture improvements 2026" --tools arxiv,webGet recent news from multiple sources
从多源获取近期新闻
bash
desearch.py ai_search "AI regulation news" --tools web,hackernews,reddit --date-filter PAST_WEEKbash
desearch.py ai_search "AI regulation news" --tools web,hackernews,reddit --date-filter PAST_WEEKFind YouTube tutorials
查找YouTube教程
bash
desearch.py ai_web "learn rust programming" --tools youtube,webbash
desearch.py ai_web "learn rust programming" --tools youtube,webAI-curated X/Twitter links on a topic
某主题的AI精选X/Twitter链接
bash
desearch.py ai_x "latest AI breakthroughs" --count 20bash
desearch.py ai_x "latest AI breakthroughs" --count 20Response
响应
Example (truncated)
示例(截断版)
json
{
"tweets": [
{
"id": "2023465890369728573",
"text": "Superposition allows qubits to encode multiple possibilities...",
"url": "https://x.com/rukky_003/status/2023465890369728573",
"created_at": "2026-02-16T18:33:57.000Z",
"like_count": 5,
"retweet_count": 0,
"view_count": 155,
"reply_count": 0,
"quote_count": 2,
"lang": "en",
"is_retweet": false,
"is_quote_tweet": true,
"media": [],
"user": {
"id": "1316260427190472704",
"username": "rukky_003",
"name": "RuqoCrypto 🧠",
"url": "https://x.com/rukky_003",
"followers_count": 2424,
"verified": false,
"is_blue_verified": true
}
}
],
"search": [
{
"title": "What Is Quantum Computing? | IBM",
"link": "https://www.ibm.com/think/topics/quantum-computing",
"snippet": "Quantum computers take advantage of quantum mechanics..."
}
],
"miner_link_scores": {
"2023465890369728573": "HIGH",
"https://www.ibm.com/think/topics/quantum-computing": "MEDIUM"
},
"completion": "Quantum computing uses qubits that leverage superposition and entanglement to compute in fundamentally different ways than classical computers..."
}json
{
"tweets": [
{
"id": "2023465890369728573",
"text": "Superposition allows qubits to encode multiple possibilities...",
"url": "https://x.com/rukky_003/status/2023465890369728573",
"created_at": "2026-02-16T18:33:57.000Z",
"like_count": 5,
"retweet_count": 0,
"view_count": 155,
"reply_count": 0,
"quote_count": 2,
"lang": "en",
"is_retweet": false,
"is_quote_tweet": true,
"media": [],
"user": {
"id": "1316260427190472704",
"username": "rukky_003",
"name": "RuqoCrypto 🧠",
"url": "https://x.com/rukky_003",
"followers_count": 2424,
"verified": false,
"is_blue_verified": true
}
}
],
"search": [
{
"title": "What Is Quantum Computing? | IBM",
"link": "https://www.ibm.com/think/topics/quantum-computing",
"snippet": "Quantum computers take advantage of quantum mechanics..."
}
],
"miner_link_scores": {
"2023465890369728573": "HIGH",
"https://www.ibm.com/think/topics/quantum-computing": "MEDIUM"
},
"completion": "Quantum computing uses qubits that leverage superposition and entanglement to compute in fundamentally different ways than classical computers..."
}Notes
注意事项
- keys are tweet IDs for Twitter results and full URLs for web results. Values are
miner_link_scores,"HIGH", or"MEDIUM"."LOW" - is always an array; empty
mediawhen no media is attached.[] - is always a string; empty string
completionif summarization fails.""
- 的键,对于Twitter结果是帖子ID,对于网页结果是完整URL。值为
miner_link_scores、"HIGH"或"MEDIUM"。"LOW" - 始终是数组;无附加媒体时为空
media。[] - 始终是字符串;总结失败时为空字符串
completion。""
Errors
错误
Status 401, Unauthorized (e.g., missing/invalid API key)
json
{
"detail": "Invalid or missing API key"
}Status 402, Payment Required (e.g., balance depleted)
json
{
"detail": "Insufficient balance, please add funds to your account to continue using the service."
}状态码401,未授权(例如:缺少/无效API密钥)
json
{
"detail": "Invalid or missing API key"
}状态码402,需要付费(例如:余额耗尽)
json
{
"detail": "Insufficient balance, please add funds to your account to continue using the service."
}