# 企联AI Dev
ConnectAI定位为一个帮助公司更快地建立AI内部工具的平台
## 产品背景
1. 由于各个公司的内部管理流程不同,会有很多无法标准化的长尾AI需求
2. 企业内部技术团队需要将1/3的时间用来开发维护这些内部AI工具
3. 如果能将低代码用于AI内部工具的开发,无疑将极大地提升企业技术团队的效率
4. 既然AI需求是无法标准化的,那么就标准化这些长尾AI需求的开发工具
5. 以低代码的方式提高内部AI工具开发效率
# ca-lark-oauth
1. 生成飞书(Lark) oauth回调接口
## python sdk
```
from connectai.lark.oauth import Server
app = Server()
@app.on_bot_event(app_id='cli_xxx', app_secret='xxx', event_type="oauth:user_info")
def on_oauth_user_info(bot, event_id, user_info, *args, **kwargs):
print('oauth', user_info)
app.start(host='0.0.0.0', port=8888)
```
Raw data
{
"_id": null,
"home_page": null,
"name": "ca-lark-oauth",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "Feishu, Lark, Webhook, Oauth, Bot",
"author": "lloydzhou@gmail.com",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/6f/d0/fd10ec244b72bf4de3c468757d62e8a16e109dce57e5dd155bff0a72490d/ca_lark_oauth-0.0.9.tar.gz",
"platform": null,
"description": "# \u4f01\u8054AI Dev\n\nConnectAI\u5b9a\u4f4d\u4e3a\u4e00\u4e2a\u5e2e\u52a9\u516c\u53f8\u66f4\u5feb\u5730\u5efa\u7acbAI\u5185\u90e8\u5de5\u5177\u7684\u5e73\u53f0\n\n\n## \u4ea7\u54c1\u80cc\u666f\n\n1. \u7531\u4e8e\u5404\u4e2a\u516c\u53f8\u7684\u5185\u90e8\u7ba1\u7406\u6d41\u7a0b\u4e0d\u540c\uff0c\u4f1a\u6709\u5f88\u591a\u65e0\u6cd5\u6807\u51c6\u5316\u7684\u957f\u5c3eAI\u9700\u6c42\n2. \u4f01\u4e1a\u5185\u90e8\u6280\u672f\u56e2\u961f\u9700\u8981\u5c061/3\u7684\u65f6\u95f4\u7528\u6765\u5f00\u53d1\u7ef4\u62a4\u8fd9\u4e9b\u5185\u90e8AI\u5de5\u5177\n3. \u5982\u679c\u80fd\u5c06\u4f4e\u4ee3\u7801\u7528\u4e8eAI\u5185\u90e8\u5de5\u5177\u7684\u5f00\u53d1\uff0c\u65e0\u7591\u5c06\u6781\u5927\u5730\u63d0\u5347\u4f01\u4e1a\u6280\u672f\u56e2\u961f\u7684\u6548\u7387\n4. \u65e2\u7136AI\u9700\u6c42\u662f\u65e0\u6cd5\u6807\u51c6\u5316\u7684\uff0c\u90a3\u4e48\u5c31\u6807\u51c6\u5316\u8fd9\u4e9b\u957f\u5c3eAI\u9700\u6c42\u7684\u5f00\u53d1\u5de5\u5177\n5. \u4ee5\u4f4e\u4ee3\u7801\u7684\u65b9\u5f0f\u63d0\u9ad8\u5185\u90e8AI\u5de5\u5177\u5f00\u53d1\u6548\u7387\n\n\n# ca-lark-oauth\n\n1. \u751f\u6210\u98de\u4e66(Lark) oauth\u56de\u8c03\u63a5\u53e3\n\n\n## python sdk\n```\nfrom connectai.lark.oauth import Server\n\napp = Server()\n\n@app.on_bot_event(app_id='cli_xxx', app_secret='xxx', event_type=\"oauth:user_info\")\ndef on_oauth_user_info(bot, event_id, user_info, *args, **kwargs):\n print('oauth', user_info)\n\napp.start(host='0.0.0.0', port=8888)\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "lark(feishu) oauth webhook",
"version": "0.0.9",
"project_urls": {
"Code": "http://github.com/connectAI-E/connectai",
"Documentation": "https://www.connectai-e.com",
"Issue tracker": "http://github.com/connectAI-E/connectai/issues"
},
"split_keywords": [
"feishu",
" lark",
" webhook",
" oauth",
" bot"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6fd0fd10ec244b72bf4de3c468757d62e8a16e109dce57e5dd155bff0a72490d",
"md5": "ebfcdf33ceaaea56d82940a2ef18bad2",
"sha256": "b19c3847b0d6b537a9c4198b7a364650eb4e502781307a7e6bc3a779c3a5e7f3"
},
"downloads": -1,
"filename": "ca_lark_oauth-0.0.9.tar.gz",
"has_sig": false,
"md5_digest": "ebfcdf33ceaaea56d82940a2ef18bad2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 4185,
"upload_time": "2024-08-23T12:34:43",
"upload_time_iso_8601": "2024-08-23T12:34:43.594282Z",
"url": "https://files.pythonhosted.org/packages/6f/d0/fd10ec244b72bf4de3c468757d62e8a16e109dce57e5dd155bff0a72490d/ca_lark_oauth-0.0.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-23 12:34:43",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "connectAI-E",
"github_project": "connectai",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "ca-lark-oauth"
}