lark(feishu) client
Project description
企联AI Dev
ConnectAI定位为一个帮助公司更快地建立AI内部工具的平台
产品背景
- 由于各个公司的内部管理流程不同,会有很多无法标准化的长尾AI需求
- 企业内部技术团队需要将1/3的时间用来开发维护这些内部AI工具
- 如果能将低代码用于AI内部工具的开发,无疑将极大地提升企业技术团队的效率
- 既然AI需求是无法标准化的,那么就标准化这些长尾AI需求的开发工具
- 以低代码的方式提高内部AI工具开发效率
ca-lark-webhook
- 生成飞书(Lark) webhook回调接口
- 注册处理对应事件的回调方法
python sdk
from connectai.lark.webhook import LarkServer
app = LarkServer()
@app.on_bot_message(app_id='cli_xxx', app_secret='xxx', encrypt_key='xxx', message_type='text')
def on_message_callback1(bot, message_id, content, **kwargs):
text = content['text']
bot.reply_text(message_id, '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
ca-lark-webhook-0.0.5.tar.gz
(3.3 kB
view details)
File details
Details for the file ca-lark-webhook-0.0.5.tar.gz
.
File metadata
- Download URL: ca-lark-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 | afd7ff7b42296f255c63691000ff098ae469690b7ce17b9639db171f0e4b3743 |
|
MD5 | eb6334a86589fd3d44ffe5252ba2092c |
|
BLAKE2b-256 | 70e434a9c632223e6ee8c098c93514b992bb9d34d7355fc1ed3bd994912b0b40 |