Answers from the documentation; checking which model is on duty
Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
Imported from aiskillstore/marketplace (skills/decalogue/weather/SKILL.md). Install upstream with npx skills add aiskillstore/marketplace --skill weather. Copyright stays with the author.
Weather Skill
功能描述
Weather Skill 提供天气查询功能,可以查询指定城市的当前天气信息。
使用方法
查询当前天气
提供城市名称即可查询当前天气:
查询北京的天气
查询上海的天气
查询指定日期天气
可以指定日期查询历史或未来天气:
查询北京 2024-01-01 的天气
查询上海明天的天气
返回信息
天气查询返回以下信息:
温度(摄氏度)
天气状况(晴、多云、雨等)
湿度百分比
支持的城市
目前支持以下主要城市:
北京
上海
广州
深圳
杭州
其他城市会返回模拟数据。
相关资源
cities.md: 支持的城市列表
weather_api.md: 天气 API 使用说明
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - a plan picks it for its slotcurl-s-X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
Installed into a catalogue, chosen by a router
Install weather and it becomes one more candidate the router can pick - when it fits.
A listing is a routing target with a manifest: what it does, which domains it covers, what it costs and who publishes it. Once installed it sits beside your own models and tools, is scored like any other candidate for each request, and shows up in the trace when it wins. Ratings come from workspaces that installed it, one per account.