datayes-web-search
0.0.1> 通用 AI 语义搜索技能,通过 Datayes gptMaterials/v2 API 执行结构化语义搜索。用户询问最新资讯、研报、公告、会议纪要、行业动态、指标背景材料时使用。优先通过仓库内 Python 脚本发起请求,不要手写 HTTP 请求,不要在 skill 中硬编码 token。
> 通用 AI 语义搜索技能,通过 Datayes gptMaterials/v2 API 执行结构化语义搜索。用户询问最新资讯、研报、公告、会议纪要、行业动态、指标背景材料时使用。优先通过仓库内 Python 脚本发起请求,不要手写 HTTP 请求,不要在 skill 中硬编码 token。
访问 https://r.datayes.com/auth/login 登录 Datayes 账号,并在 Datayes 控制台获取可撤销的 API token。
macOS / Linux:
export DATAYES_TOKEN='your-token'Windows PowerShell:
$env:DATAYES_TOKEN = "your-token"Windows CMD:
set DATAYES_TOKEN=your-tokenpython3 scripts/datayes_web_search.py 发请求。DATAYES_TOKEN 读取 token。脚本会自动带上 Authorization: Bearer <token>。rewrite=false,保留用户原始查询,减少意外改写。python3 scripts/datayes_web_search.py specpython3 scripts/datayes_web_search.py search "新能源车 渗透率 2026" --query-scope researchpython3 scripts/datayes_web_search.py search "美国关税政策 2026" --query-scope news --top 30| 值 | 搜索范围 |
|---|---|
| (不传) | 综合全部类型(默认) |
research |
券商研报 |
announcement |
上市公司公告 |
news |
财经资讯/新闻 |
meetingSummary |
电话会/调研纪要 |
indicator |
宏观/行业数据指标 |
researchTable |
研报图表 |
news。research。announcement。meetingSummary。indicator。queryScope 做综合搜索。