Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Plugin]: 请求登记新插件 #873

Closed
cnrenil opened this issue Aug 25, 2024 · 1 comment
Closed

[Plugin]: 请求登记新插件 #873

cnrenil opened this issue Aug 25, 2024 · 1 comment
Labels
独立插件 插件问题或新增插件

Comments

@cnrenil
Copy link

cnrenil commented Aug 25, 2024

插件名称

ChatWeather

插件代码库地址

https://github.com/cnrenil/ChatWeather

插件简介

使用内容函数,调用和风天气API接口,可以实现基本的天气查询功能。效果:

User:ai 明天山东省济南市历城区的天气
Return:‭明天(2024年8月25日)山东省济南市历城区的天气情况如下:

- **最高气温**:35°C
- **最低气温**:26°C
- **白天气象**:多云
- **夜间气象**:雷阵雨
- **风向**:北风,风速3 m/s
- **湿度**:80%
- **降水概率**:0.0%
- **日出时间**:05:38
- **日落时间**:18:52
- **紫外线指数**:8

详细天气信息可以访问 [天气链接](https://www.qweather.com/weather/licheng-101120111.html)。

详细天气信息链接可以手动要求获取。
内容函数优点可以与预设共同使用,同时可以让ai判断调用和格式化输出。
与neko预设共同使用的效果:

User:ai 帮我看看明天历城区适不适合跑步
Return:@‭Neko:(抬头看向你)明天历城区的天气可能不太适合跑步喵~【有些担忧】明天的最高气温会达到29度,还有可能会有小雨喵~建议主人根据天气情况决定哦喵~
@cnrenil cnrenil added the 独立插件 插件问题或新增插件 label Aug 25, 2024
@RockChinQ
Copy link
Owner

感谢贡献!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
独立插件 插件问题或新增插件
Projects
None yet
Development

No branches or pull requests

2 participants