https://github.com/howl-anderson/weatherbot_action
Action server for WeatherBot
https://github.com/howl-anderson/weatherbot_action
Last synced: 3 months ago
JSON representation
Action server for WeatherBot
- Host: GitHub
- URL: https://github.com/howl-anderson/weatherbot_action
- Owner: howl-anderson
- License: mit
- Created: 2018-10-04T14:15:33.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T02:56:08.000Z (almost 3 years ago)
- Last Synced: 2025-04-05T19:41:32.392Z (6 months ago)
- Language: Python
- Homepage: http://weather_bot.xiaoquankong.ai/
- Size: 183 KB
- Stars: 14
- Watchers: 1
- Forks: 9
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Action server for WeatherBot
## 功能
基于 Rasa Core SDK 为 WeatherBot 提供自定义 Action 服务。## 依赖
python >= 3.5## 安装
```bash
pip install -r ./requirements.txt
```## 运行服务
### 申请 API key
本项目目前使用 [心知天气](https://www.seniverse.com/) 提供天气数据,该平台为个人提供免费的 API,但任然需要用户注册并申请 API key 才能使用。用户注册后可以自行找到 `我的API密钥`。### 启动服务
将如下的 `xxx` 替换成你的 API key,然后执行即可```bash
SENIVERSE_KEY=xxx ./start_sdk_server.bash
```## FAQ
* 如果在使用机器人中遇到解析失败或者 SSL 错误或者超时错误,请重试几次,数据提供商 `心知天气` 的 API 很不稳定,后续考虑替换成其他供应商