dingtalk webhook
Project description
企联AI Dev
ConnectAI定位为一个帮助公司更快地建立AI内部工具的平台
产品背景
- 由于各个公司的内部管理流程不同,会有很多无法标准化的长尾AI需求
- 企业内部技术团队需要将1/3的时间用来开发维护这些内部AI工具
- 如果能将低代码用于AI内部工具的开发,无疑将极大地提升企业技术团队的效率
- 既然AI需求是无法标准化的,那么就标准化这些长尾AI需求的开发工具
- 以低代码的方式提高内部AI工具开发效率
ca-dingtalk-webhook
- 生成钉钉(Dingtalk) webhook回调接口
- 注册处理对应事件的回调方法
python sdk
from connectai.dingtalk.sdk import DingtalkTextMessage
from connectai.dingtalk.webhook import DingtalkServer
app = DingtalkServer()
@app.on_bot_message(app_id='dingxxx', app_secret='xxx', agent_id='xxx', msgtype='text')
def on_text_message(bot, sessionWebhook, content, **kwargs):
text = content['content']
bot.reply(sessionWebhook, DingtalkTextMessage("reply: " + text))
app.start(host='0.0.0.0', port=8888)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file ca-dingtalk-webhook-0.0.5.tar.gz
.
File metadata
- Download URL: ca-dingtalk-webhook-0.0.5.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae55921ac9fb20fc98659e266f0be6d65766c169d659825b24af397a84123bfa |
|
MD5 | 17f36c9a38d34557b324c1ba0c8e4e38 |
|
BLAKE2b-256 | 3cde8d19a602ab703a0da227c17be094de02c38bbfb72d0a23e791cf532af1a2 |