调用内部舆情分析服务,返回针对用户问题的结构化洞察结论(通常为 Markdown 等文本)。本技能聚焦于 references/analysis_dimension.md 中列出的分析维度,而非撰写完整「舆情报告」长文档。
本技能需要在 OpenClaw 中配置 MIDU_API_KEY。
若尚未获取 Key,请访问:
http://intra-znjs-yqt-agent-wx-beta.midu.cc/apiKey
详细配置说明见:
python3 skills/public-opinion-insights/scripts/insights.py '<JSON>'
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
| ------- | ------ | ---------- | --------- | ------------- |
| message | str | yes | - | 分析需求描述:须说明对象(事件/话题/主体等),并指明要查看的维度(可参考 analysis_dimension.md) |
/api/chat 调用方式、鉴权与环境变量、MIDU_API_KEY 配置方式。public-opinion-report 用于生成整篇舆情分析报告。用户要「长报告」时用 report;要「某一类指标/模块结论」时用本技能。# 单个维度
python3 skills/public-opinion-insights/scripts/insights.py '{"message":"就「某某事件」分析网民观点"}'
/api/chat 使用较长超时,使用者侧代理/网关也需预留足够等待时间。完整维度列表见 references/analysis_dimension.md;API Key 配置见 references/apikey-fetch.md。向 message 中写入自然语言即可,无需与清单字面完全一致,但点名维度有助于返回更聚焦的结果。
共 1 个版本