详情

首页手游攻略 WorkBuddy 我用 WorkBuddy 从零搭建了钉钉知识库机器人:从 GET笔记配置到自动问答,全流程实战记录

WorkBuddy 我用 WorkBuddy 从零搭建了钉钉知识库机器人:从 GET笔记配置到自动问答,全流程实战记录

佚名 2026-07-20 09:05:55

#WorkBuddy# 我用 WorkBuddy 从零搭建了钉钉知识库机器人:从 GET笔记配置到自动问答,全流程实战记录

{"type":"doc","content":[{"type":"heading","attrs":{"id":"ef924ad4-9c38-47c0-a443-3b55d1ebd456","textAlign":"inherit","indent":0,"level":2,"isHoverDragHandle":false},"content":[{"type":"text","text":"写在前面"}]},{"type":"paragraph","attrs":{"id":"15cb81ad-7607-4b1d-a02d-c4e027fa51b7","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"这篇文章不是什么高大上的技术方案,而是一个"},{"type":"text","marks":[{"type":"bold"}],"text":"非程序员"},{"type":"text","text":"(我本人不做开发)怎么靠"},{"type":"text","marks":[{"type":"bold"}],"text":"WorkBuddy AI 编程助手"},{"type":"text","text":"从零搭建一个钉钉知识库机器人的全过程实录。"}]},{"type":"paragraph","attrs":{"id":"26f85108-4cbb-494f-a8be-dda57cfcedaa","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"没有框架、没有数据库、没有运维经验——只有需求描述和一步步跟着 AI 走。"}]},{"type":"paragraph","attrs":{"id":"9f87814f-8733-4ce0-a4a8-905cb318f22d","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"我的业务背景很简单:"},{"type":"text","text":"我在一家结构安全监测公司工作,有 GNSS、倾角传感器、静力水准仪等 12 条产品线,每天都会生成竞品动态报告和行业技术资讯。这些知识散落在各个地方,团队想找一个能随时提问、即时回答的助手。"}]},{"type":"paragraph","attrs":{"id":"d3b654b1-a204-4c7c-a56b-ab5d07de64b0","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"于是我想到了用"},{"type":"text","marks":[{"type":"bold"}],"text":"WorkBuddy GET笔记 通义千问 钉钉机器人"},{"type":"text","text":"的组合来实现。"}]},{"type":"paragraph","attrs":{"id":"e8f5b92b-ef16-4ed9-a809-1ec1dba4c7fb","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"整篇文章我会按实际操作顺序,讲清楚每一步怎么做的、踩了什么坑、最后达到了什么效果。如果你也想用类似方案解决自己的知识管理问题,可以直接照做。"}]},{"type":"horizontalRule","attrs":{"id":"f0a390ac-5d4b-4bfe-b299-12d5a2fbe9d5","isHoverDragHandle":false}},{"type":"heading","attrs":{"id":"c49377fa-c959-4433-b3e5-e85e821c9959","textAlign":"inherit","indent":0,"level":2,"isHoverDragHandle":false},"content":[{"type":"text","text":"第一步:用 WorkBuddy 在 GET笔记 建立知识库"}]},{"type":"heading","attrs":{"id":"21c763ba-8307-46d9-8404-4030547f549c","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"1.1 安装 GET笔记 技能包"}]},{"type":"paragraph","attrs":{"id":"1cb72276-f2b5-4679-9417-7cbc2fbd7a25","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"一切从安装技能开始。我直接在 WorkBuddy 里说:"}]},{"type":"blockquote","attrs":{"id":"b7e91cc0-86c7-4024-b87b-16e3f3081d58","textAlign":"inherit","isHoverDragHandle":false},"content":[{"type":"paragraph","attrs":{"id":"06171a60-fa52-43d4-a37c-cc0f561d65fa","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":""帮我安装 GET 笔记技能包,让你在自动化任务中的工作成果能自动保存到 GET 笔记。""}]}]},{"type":"paragraph","attrs":{"id":"1122a226-8b76-4f3f-8f92-cda39a047fdf","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"WorkBuddy 会引导我安装:"}]},{"type":"image","attrs":{"id":"457eed48-ee7d-4eeb-b7c3-7ef671b2e95e","src":"https://developer.qcloudimg.com/http-save/audit-12593432/1006ff0cecc7de1b0ee1477fc8411d2e.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"0px 4px 12px 0px rgba(115, 123, 137, 0.20)","width":976,"aspectRatio":"1.326578","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"paragraph","attrs":{"id":"48c0cf9f-e931-4fe5-a64f-8ed874b154cf","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false}},{"type":"paragraph","attrs":{"id":"ba1380d5-7fa6-46c4-a039-04d04d6cfe41","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false}},{"type":"paragraph","attrs":{"id":"e14fbf40-5e02-4363-9b80-02987907981d","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"安装完成后它会问我还需要什么:"}]},{"type":"blockquote","attrs":{"id":"4bf9823d-1b9e-41c6-b26a-6b4660fdd78c","textAlign":"inherit","isHoverDragHandle":false},"content":[{"type":"paragraph","attrs":{"id":"0782ad48-1740-40f5-aac1-18b6144714eb","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":""还需要提供 GETNOTE_API_KEY 和 GETNOTE_CLIENT_ID。""}]}]},{"type":"image","attrs":{"id":"9a1307ca-e553-4da2-a7df-9a02cb3f6f20","src":"https://developer.qcloudimg.com/http-save/audit-12593432/682d2bef39c1d757c982287c2ae6383a.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"0px 4px 12px 0px rgba(115, 123, 137, 0.20)","width":1100,"aspectRatio":"1.501779","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"paragraph","attrs":{"id":"4d5015c2-0748-471e-97ed-7efde6b39ae3","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false}},{"type":"paragraph","attrs":{"id":"9e2c1aaa-5550-48c0-b08f-7a1f14db367f","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false}},{"type":"heading","attrs":{"id":"45869cb5-c768-4bbf-9f9a-2e98bf6cb07a","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"1.2 获取 GET笔记 凭证"}]},{"type":"paragraph","attrs":{"id":"96ae0e70-24d5-4e01-95dc-b47125d48a54","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"去 GET笔记官网找到我的 API Key 和 Client ID,复制给 WorkBuddy 配置。"}]},{"type":"paragraph","attrs":{"id":"bf97af41-eef6-48fd-8d8b-1735332adad3","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"注意:"},{"type":"text","text":"需要购买 GET笔记 会员才能使用 OpenAPI 功能,完成验证后才会显示这两个凭证。"}]},{"type":"heading","attrs":{"id":"4fc713e0-bab7-4d2b-ae9b-64ad0187fb50","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"1.3 创建知识库并保存内容"}]},{"type":"paragraph","attrs":{"id":"1a7346be-e0d9-4557-9510-dee99bb0cabb","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"配置完成后,我可以给 WorkBuddy 下达任务了。比如:"}]},{"type":"blockquote","attrs":{"id":"47b3502b-1981-4079-b23e-f4ebb67e4efc","textAlign":"inherit","isHoverDragHandle":false},"content":[{"type":"paragraph","attrs":{"id":"c698eefa-744a-4f5d-be79-e87b0fc68fc5","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":""帮我搜索最近 GNSS 监测的行业资讯,然后把结果存到 GET 笔记的知识库里。""}]}]},{"type":"paragraph","attrs":{"id":"bae5c24d-f39a-449b-af0d-d4b95f1a6488","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"工作成果保存到 GET笔记:"}]},{"type":"paragraph","attrs":{"id":"b54bb494-fdc9-4c33-9655-ca847a586683","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"[此处图片 3/17:保存搜索结果到GET笔记]"}]},{"type":"image","attrs":{"id":"4ab099e7-0d3f-4954-8e21-43c1775ed68c","src":"https://developer.qcloudimg.com/http-save/audit-12593432/426230d3780064b657147d68ce2f20b4.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"","width":1100,"aspectRatio":"1.373970","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"paragraph","attrs":{"id":"669eb6a5-3506-4bd0-ad97-5bfbf0248072","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false}},{"type":"paragraph","attrs":{"id":"621c0f23-8750-42fc-ae09-bb40d60f2744","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false}},{"type":"paragraph","attrs":{"id":"e04deddb-bcb6-46d4-b32e-cfc8a5a22c77","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"关键一步:在 GET笔记 中先"},{"type":"text","marks":[{"type":"bold"}],"text":"创建知识库"},{"type":"text","text":",然后让 WorkBuddy 把内容保存到指定的知识库里:"}]},{"type":"paragraph","attrs":{"id":"afb6cd43-151a-45ed-90f0-91fc4ab97109","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"[此处图片 4/17:在GET笔记中创建知识库]"}]},{"type":"image","attrs":{"id":"095914c4-b163-497f-abc7-720ddfe62726","src":"https://developer.qcloudimg.com/http-save/audit-12593432/48a5eccb7e1b691e9e8c9f135c4e9455.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"","width":1100,"aspectRatio":"1.773250","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"paragraph","attrs":{"id":"15bbe04a-c16d-4b6f-8877-c21867f533e3","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false}},{"type":"paragraph","attrs":{"id":"c914e64e-8e91-4296-bd7f-a966597fc50f","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"这样每次 WorkBuddy 生成的研究报告、竞品日报,都会自动归档到对应的知识库中,方便后续检索。"}]},{"type":"heading","attrs":{"id":"cd35c6d0-7475-4b1f-adca-44ad33ba7a08","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"1.4 设置自动化任务"}]},{"type":"paragraph","attrs":{"id":"63abb4ee-c5d9-47cb-9dec-09fe3cbcb0b1","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"最省事的一步是"},{"type":"text","marks":[{"type":"bold"}],"text":"自动化"},{"type":"text","text":"。我在 WorkBuddy 里设置了定时任务:"}]},{"type":"blockquote","attrs":{"id":"2728908b-5510-4df4-93b0-2354fc69976d","textAlign":"inherit","isHoverDragHandle":false},"content":[{"type":"paragraph","attrs":{"id":"82798189-7af5-484b-8f1f-69f42542eb9c","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":""每天下午 2 点自动搜索竞品动态,保存到 GET 笔记。""}]}]},{"type":"paragraph","attrs":{"id":"d6514d9d-f53e-48b1-bad8-8265196339ee","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"WorkBuddy 会自动创建一个定时自动化(automation),每天准时执行:"}]},{"type":"paragraph","attrs":{"id":"c4678961-69b4-4e3b-9142-bcc50f865eab","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"[此处图片 5/17:设置定时自动化任务]"}]},{"type":"image","attrs":{"id":"84231668-4e98-4342-ac6c-8d2599b614b7","src":"https://developer.qcloudimg.com/http-save/audit-12593432/467d180ad9080b331b0a56cf4d79d839.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"0px 4px 12px 0px rgba(115, 123, 137, 0.20)","width":1100,"aspectRatio":"2.049398","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"paragraph","attrs":{"id":"b27de097-9396-40b2-bba2-53ae9a943374","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"我们要做的是"},{"type":"text","marks":[{"type":"bold"}],"text":"钉钉机器人"},{"type":"text","text":",所以接下来进入正题。"}]},{"type":"horizontalRule","attrs":{"id":"4a7dbd5a-2c40-4c52-be8d-d4a532adc941","isHoverDragHandle":false}},{"type":"heading","attrs":{"id":"15ef991e-3f5d-48f5-8d31-678e5b0395aa","textAlign":"inherit","indent":0,"level":2,"isHoverDragHandle":false},"content":[{"type":"text","text":"第二步:在钉钉创建知识库机器人"}]},{"type":"heading","attrs":{"id":"a532aaf5-afdc-4ce4-aaee-e14cfb54a6be","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"2.1 进入钉钉开发者后台"}]},{"type":"paragraph","attrs":{"id":"66fe3349-49d6-45f8-a849-059b24841934","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"登录"},{"type":"text","marks":[{"type":"link","attrs":{"href":"https://open.dingtalk.com/","target":"_blank","rel":"noopener noreferrer nofollow","class":null}}],"text":"钉钉开发者后台"},{"type":"text","text":",使用"},{"type":"text","marks":[{"type":"bold"}],"text":"企业管理员"},{"type":"text","text":"账号登录。"}]},{"type":"paragraph","attrs":{"id":"1ff063f2-7d03-4a1d-9bdf-f40f9bdc8bc8","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"进入 WorkBuddy 的自动化面板:"}]},{"type":"paragraph","attrs":{"id":"5b226ec1-044a-4fa3-bb63-3e1f3d0c4d5a","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"[此处图片 7/17:WorkBuddy自动化面板]"}]},{"type":"image","attrs":{"id":"7d1360c5-6d64-4344-93ff-176a6726723a","src":"https://developer.qcloudimg.com/http-save/audit-12593432/1e7525afe1995fb2c5f19b39fb08474c.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"","width":765,"aspectRatio":"2.750000","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"paragraph","attrs":{"id":"4cd5aef9-ae79-4d49-97e7-af5133bec066","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false}},{"type":"heading","attrs":{"id":"11ff8365-114f-48c2-b9bf-4d31120c11f1","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"2.2 创建企业内部应用"}]},{"type":"paragraph","attrs":{"id":"d011d5df-11ee-499b-bde0-c21217f10ffb","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"路径:「应用开发」→「企业内部应用」→「创建应用」"}]},{"type":"bulletList","attrs":{"id":"0f7c746e-61a9-4c58-a45a-af678e7f14dd","isHoverDragHandle":false},"content":[{"type":"listItem","attrs":{"id":"91d52faf-95ff-4336-8bcc-c35c3087c754"},"content":[{"type":"paragraph","attrs":{"id":"bc75e03e-af67-4d1e-9787-66dc36f553a3","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"应用名称:"},{"type":"text","text":"知识库机器人"}]}]},{"type":"listItem","attrs":{"id":"7f96cc9a-4f8a-46d0-bc5d-b420f876b2db"},"content":[{"type":"paragraph","attrs":{"id":"4e0dc26a-5b6b-43ca-8b95-b5fa2c37c338","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"应用描述:"},{"type":"text","text":"基于知识库的智能问答机器人"}]}]}]},{"type":"paragraph","attrs":{"id":"419ebbba-081d-4dc6-9907-6eaf82af5c96","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"[此处图片 8/17:创建企业内部应用1]"}]},{"type":"image","attrs":{"id":"b5a4fd1c-ef17-4da4-be17-dac7ece56363","src":"https://developer.qcloudimg.com/http-save/audit-12593432/3f00f73e8e2a3457d30a766ba744bcd1.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"","width":791,"aspectRatio":"2.210909","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"paragraph","attrs":{"id":"d494a467-583c-4314-bb05-d912d5d704e2","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false}},{"type":"paragraph","attrs":{"id":"911b9371-b453-4ddc-a46a-204189692936","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"[此处图片 9/17:创建企业内部应用2]"}]},{"type":"image","attrs":{"id":"5412190c-a351-4e99-8d9f-b38abf59b39f","src":"https://developer.qcloudimg.com/http-save/audit-12593432/6ae97d98fc6103b2ce7d19cff3dd5e34.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"","width":784,"aspectRatio":"2.107574","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"paragraph","attrs":{"id":"4b363590-3dc0-4334-a387-543f3804b3b5","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false}},{"type":"heading","attrs":{"id":"a36ceea9-af64-45bf-bcf2-9cf2af69dd26","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"2.3 配置权限"}]},{"type":"paragraph","attrs":{"id":"b7f34645-4bbf-4d89-8dd1-af6ed15521a7","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"进入应用的「权限管理」,搜索并开通以下权限:"}]},{"type":"bulletList","attrs":{"id":"98b01abe-55e4-41c3-84b9-830c905f9dc4","isHoverDragHandle":false},"content":[{"type":"listItem","attrs":{"id":"9e000d62-ed47-4447-84e6-e09721b94ac8"},"content":[{"type":"paragraph","attrs":{"id":"be194ab2-4406-4634-aa05-6f7305a5e94f","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"code"}],"text":"Card.Streaming.Write"}]}]},{"type":"listItem","attrs":{"id":"30e3b5dd-2c26-413f-bb32-c9a5fe051373"},"content":[{"type":"paragraph","attrs":{"id":"2ac08b4a-e031-45c1-9887-840ee5c7992d","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"code"}],"text":"Card.Instance.Write"}]}]},{"type":"listItem","attrs":{"id":"1d7d4737-cd7d-4e53-ba46-6392e8b89b6a"},"content":[{"type":"paragraph","attrs":{"id":"e5b2aa33-c02b-4e82-921a-b058a9dd366f","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"code"}],"text":"qyapi_robot_sendmsg"}]}]}]},{"type":"paragraph","attrs":{"id":"55191f86-7b1b-45e9-8868-409e7a4090f3","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"[此处图片 10/17:配置权限1]"}]},{"type":"image","attrs":{"id":"3ba22d48-90e7-476a-ae0e-ef4bfbf7aaef","src":"https://developer.qcloudimg.com/http-save/audit-12593432/1e866b96497e99adf198e45fbd68b7b5.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"","width":1100,"aspectRatio":"7.034826","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"paragraph","attrs":{"id":"5ad6b069-6ea4-4dfd-b9e5-487fe92ff47e","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false}},{"type":"paragraph","attrs":{"id":"a1ea9e17-c186-4239-99c6-bd34fee3fcff","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"[此处图片 11/17:配置权限2]"}]},{"type":"image","attrs":{"id":"91eb523d-f5c7-4136-93d0-67ece38f0681","src":"https://developer.qcloudimg.com/http-save/audit-12593432/13d5e6df357103c86fcc95086cdeb886.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"","width":746,"aspectRatio":"2.575716","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"paragraph","attrs":{"id":"f319ae10-f538-4383-a39e-44c412bec23c","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false}},{"type":"heading","attrs":{"id":"bfd8d936-eb61-443c-b7ed-70f9573e99f4","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"2.4 添加机器人能力"}]},{"type":"paragraph","attrs":{"id":"c2c6de6e-ee15-4d31-afc3-e19a6107a617","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"在左侧「应用能力」→「机器人」→「添加机器人能力」,填写:"}]},{"type":"bulletList","attrs":{"id":"21649953-c57f-477b-a8bd-7f2065f25e0d","isHoverDragHandle":false},"content":[{"type":"listItem","attrs":{"id":"88e089ce-a759-411f-9b77-6e5120f089d9"},"content":[{"type":"paragraph","attrs":{"id":"05de0d5a-3e0e-4194-8dcd-405b44137ebe","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"机器人名称"}]}]},{"type":"listItem","attrs":{"id":"755f083d-e597-4e30-9523-e5896272e015"},"content":[{"type":"paragraph","attrs":{"id":"5c399d7f-5eb6-45ca-8bc7-1266f58aee5f","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"机器人描述"}]}]},{"type":"listItem","attrs":{"id":"3bb55e6f-a753-4763-b432-410ac74fbbb7"},"content":[{"type":"paragraph","attrs":{"id":"32c18cd1-9ae2-4eb8-88ed-668f681f4fb7","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"上传机器人头像"}]}]}]},{"type":"paragraph","attrs":{"id":"bf638b6e-7cab-4be1-82da-e1d5f0c3d1c6","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"然后"},{"type":"text","marks":[{"type":"bold"}],"text":"创建新版本并发布"},{"type":"text","text":":"}]},{"type":"heading","attrs":{"id":"472df725-1cd3-4a6d-9e1f-86ae3363dbe5","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"2.5 获取应用凭证"}]},{"type":"paragraph","attrs":{"id":"0089a6fc-0215-487c-a902-c58912cb30ba","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"在应用详情页左侧「凭证与基础信息」页面,找到"},{"type":"text","marks":[{"type":"bold"}],"text":"AppKey"},{"type":"text","text":"和"},{"type":"text","marks":[{"type":"bold"}],"text":"AppSecret"},{"type":"text","text":",复制下来。后面代码要用。"}]},{"type":"horizontalRule","attrs":{"id":"85cbab53-5afc-4506-aeb6-40d262b93835","isHoverDragHandle":false}},{"type":"heading","attrs":{"id":"74120799-4d47-4518-829f-5578a8ac64f3","textAlign":"inherit","indent":0,"level":2,"isHoverDragHandle":false},"content":[{"type":"text","text":"第三步:用 WorkBuddy 搭建知识问答引擎"}]},{"type":"heading","attrs":{"id":"6e9aeac7-e76b-4f2d-a3ab-0cea8284bc68","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"3.1 让 WorkBuddy 本地部署"}]},{"type":"paragraph","attrs":{"id":"1447bd49-b03d-495c-bb31-7a39d8fb5c55","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"我直接让 WorkBuddy:"}]},{"type":"blockquote","attrs":{"id":"2d8cf7e2-b114-432c-84a3-72d3c355ac17","textAlign":"inherit","isHoverDragHandle":false},"content":[{"type":"paragraph","attrs":{"id":"a7d32e66-06d0-4996-a573-0101e51ea4e6","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":""帮我搭建一个钉钉机器人,连接 GET 笔记知识库,能用通义千问生成回答。""}]}]},{"type":"paragraph","attrs":{"id":"b389d569-4458-4f00-b4c6-fe20760c8678","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"然后告诉它如果有缺少的软件让它安装。"}]},{"type":"paragraph","attrs":{"id":"65c462f8-c4d4-4b63-9efd-2a17285cffdc","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"WorkBuddy 会自动完成以下工作:"}]},{"type":"bulletList","attrs":{"id":"c5280265-3d05-40bf-93c1-fe184c6a93e1","isHoverDragHandle":false},"content":[{"type":"listItem","attrs":{"id":"60659731-8fc9-4d45-a38e-dcbd88a7cda0"},"content":[{"type":"paragraph","attrs":{"id":"b65c1f71-b447-4825-a393-e22cf43643b3","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"创建项目结构和核心代码文件"}]}]},{"type":"listItem","attrs":{"id":"7b31b60a-27e0-49f3-8a4e-ece96a7e32f0"},"content":[{"type":"paragraph","attrs":{"id":"f2007f3a-2b83-4aee-b540-0c9c489115af","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"安装"},{"type":"text","marks":[{"type":"code"}],"text":"dingtalk-stream"},{"type":"text","text":"、"},{"type":"text","marks":[{"type":"code"}],"text":"requests"},{"type":"text","text":"等依赖"}]}]},{"type":"listItem","attrs":{"id":"d43ae72a-8efb-4fa8-9932-1a80627105ab"},"content":[{"type":"paragraph","attrs":{"id":"91b41ae3-ff46-4985-9b58-7c7c4137b6a6","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"编写 RAG 引擎(关键词提取 笔记匹配 通义千问生成)"}]}]},{"type":"listItem","attrs":{"id":"cac2dfb2-c2ca-4aed-b4af-d9c8591db772"},"content":[{"type":"paragraph","attrs":{"id":"9b56680d-850f-4cac-bf8f-5aaedb1b65b7","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"配置环境变量("},{"type":"text","marks":[{"type":"code"}],"text":".env"},{"type":"text","text":"文件)"}]}]}]},{"type":"heading","attrs":{"id":"b1e3ecd4-e4fd-4fa5-a846-e6e77f23e42e","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"3.2 RAG 引擎核心逻辑"}]},{"type":"paragraph","attrs":{"id":"2b784944-2c1a-4dd2-8fe0-b32dd2da4e20","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"我的需求很简单:用户在钉钉里提问 → 机器人从 GET 笔记知识库中检索相关内容 → 送给通义千问生成回答 → 回复给用户。"}]},{"type":"paragraph","attrs":{"id":"db2aae1f-0e88-49f8-9e15-a9c1ac03473a","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"实现上分了三个步骤:"}]},{"type":"orderedList","attrs":{"id":"e0a7d628-0c94-4da4-a389-fad2b68d126f","start":1,"isHoverDragHandle":false},"content":[{"type":"listItem","attrs":{"id":"bf156f86-025e-4384-a002-8ccbcaa035a0"},"content":[{"type":"paragraph","attrs":{"id":"c84f01dc-6288-4bd5-aad7-3a7d378991c0","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"搜索"},{"type":"text","text":":调用 GET笔记 OpenAPI 拉取知识库笔记,提取关键词本地匹配"}]}]},{"type":"listItem","attrs":{"id":"6bd8bde7-71ad-4561-a34f-341e00eb21a7"},"content":[{"type":"paragraph","attrs":{"id":"fc2584f7-d46c-46d3-9d5e-c40fedc533a8","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"排序"},{"type":"text","text":":标题命中关键词的笔记权重更高"}]}]},{"type":"listItem","attrs":{"id":"df437470-26de-4f16-a26e-f80bcaaf7487"},"content":[{"type":"paragraph","attrs":{"id":"e8fae76f-3fc8-4633-86b5-389799f1cb19","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"生成"},{"type":"text","text":":将匹配结果和问题一起发给通义千问(qwen-plus),生成最终回答"}]}]}]},{"type":"paragraph","attrs":{"id":"f4c372fa-272d-4e86-8506-78880ae8330e","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"踩坑:"},{"type":"text","text":"GET笔记 的语义搜索 API(recall)有个 Bug,所有返回结果的 score 都是 0.000,根本没法用。后来我让 WorkBuddy 换成了"},{"type":"text","marks":[{"type":"bold"}],"text":"本地关键词匹配"},{"type":"text","text":"方案,效果反而更好。"}]},{"type":"heading","attrs":{"id":"e361b10d-e8fc-4eb2-a868-bd2dad23cf0b","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"3.3 常见问题和排错"}]},{"type":"paragraph","attrs":{"id":"ed4910a9-4d25-41da-9aee-e946cb29a898","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"搭建过程中遇到过几个问题:"}]},{"type":"bulletList","attrs":{"id":"650f62ed-8d2c-4ce0-bbba-658a5f6b8025","isHoverDragHandle":false},"content":[{"type":"listItem","attrs":{"id":"c2481907-0d30-4bd7-9dbc-205b6ee49c2b"},"content":[{"type":"paragraph","attrs":{"id":"d836bd0e-d618-427d-b800-48d0688e51fd","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"编码崩溃:"},{"type":"text","text":"Windows 默认编码 GBK,Python 里用 Emoji 字符会报错"},{"type":"text","marks":[{"type":"code"}],"text":"UnicodeEncodeError"},{"type":"text","text":",WorkBuddy 秒给了解决方案"}]}]},{"type":"listItem","attrs":{"id":"3d4415fd-139d-4820-a7f8-adb12a3e3722"},"content":[{"type":"paragraph","attrs":{"id":"60a0d1f7-6c7f-443a-adf1-7c511363f0ea","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"API 限流:"},{"type":"text","text":"批量操作时触发 429 限流,加了指数退避重试机制"}]}]},{"type":"listItem","attrs":{"id":"754b1cd9-da07-4aba-9cba-6db454c0f157"},"content":[{"type":"paragraph","attrs":{"id":"040eeaae-eba7-478a-a666-1c7ba00894e2","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"机器人不回复:"},{"type":"text","text":"有时候机器人突然不回答问题了,直接让 WorkBuddy 排查日志和日志文件,很快就能定位"}]}]}]},{"type":"horizontalRule","attrs":{"id":"7e219532-4912-4a9a-bc82-f1bb0a95ad05","isHoverDragHandle":false}},{"type":"heading","attrs":{"id":"18d121e9-2afa-40f0-b2af-fbb4919f2ae6","textAlign":"inherit","indent":0,"level":2,"isHoverDragHandle":false},"content":[{"type":"text","text":"第四步:部署和长期运行"}]},{"type":"heading","attrs":{"id":"1fea18df-84fd-4276-8c5c-ba06a75f2e1e","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"4.1 设置为常驻进程"}]},{"type":"paragraph","attrs":{"id":"37c6558d-602a-4d19-906e-196924801d4e","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"最关键的一步:让机器人成为"},{"type":"text","marks":[{"type":"bold"}],"text":"本机常驻进程"},{"type":"text","text":",开机就跑、挂了自动重启,不依赖 WorkBuddy 的后台任务。"}]},{"type":"paragraph","attrs":{"id":"d070d717-828d-4b25-9fc2-a86ae218b7c7","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"WorkBuddy 帮我创建了一个守护脚本(daemon),确保:"}]},{"type":"bulletList","attrs":{"id":"e98c55c8-754a-4627-9d88-f69296042d2c","isHoverDragHandle":false},"content":[{"type":"listItem","attrs":{"id":"557204d5-ba00-4342-a587-bf88418c0144"},"content":[{"type":"paragraph","attrs":{"id":"368c19df-0138-4f3c-901c-18cae39c8412","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"即使 WorkBuddy 关闭,机器人也能继续运行"}]}]},{"type":"listItem","attrs":{"id":"07c1aa1a-ae33-490a-8547-9ab29789b580"},"content":[{"type":"paragraph","attrs":{"id":"4fc3e90f-f0d8-4019-8ffd-6435e9d97b0d","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"进程崩溃后自动重启"}]}]}]},{"type":"heading","attrs":{"id":"5c80adc5-e744-40c7-8d48-665669167b80","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"4.2 在钉钉群中添加机器人"}]},{"type":"paragraph","attrs":{"id":"cbd84156-15f5-440a-b7d6-9f11a606035c","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"在钉钉群设置 → 机器人 → 添加机器人 → 选择刚创建的「知识库机器人」:"}]},{"type":"paragraph","attrs":{"id":"9aaa31eb-6f40-47a8-966f-dfcc8b1608e5","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"这样群成员就可以 @机器人 提问了。"}]},{"type":"heading","attrs":{"id":"825dc4ef-edd3-4b31-8dc0-b881b5b494e5","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"4.3 问答效果"}]},{"type":"paragraph","attrs":{"id":"833fdcb4-a7f7-4c6b-9e89-c17c624a6515","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"机器人的回答质量"},{"type":"text","marks":[{"type":"bold"}],"text":"取决于知识库里的内容"},{"type":"text","text":"。知识库越丰富,回答越准确。"}]},{"type":"paragraph","attrs":{"id":"5bcd002a-98ca-43cd-8a61-3d8deada9046","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"目前机器人能做到:"}]},{"type":"orderedList","attrs":{"id":"48bc0207-13e0-4e8a-af33-f518adbb245d","start":1,"isHoverDragHandle":false},"content":[{"type":"listItem","attrs":{"id":"452dec5a-0feb-4901-b679-2ea1e3fd42ad"},"content":[{"type":"paragraph","attrs":{"id":"c221362d-ac90-4e27-845e-a23595028209","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"基础问答"},{"type":"text","text":":针对知识库中的文档内容给出回答"}]}]}]},{"type":"paragraph","attrs":{"id":"da985d09-ca12-47bd-803f-bacef2a9696e","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"[此处图片 16/17:机器人基础问答效果]"}]},{"type":"image","attrs":{"id":"b92f8904-7fa9-4561-8c74-a9d241410e53","src":"https://developer.qcloudimg.com/http-save/audit-12593432/1d891209ddafd80af8551ec2fa162cf3.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"0px 4px 12px 0px rgba(115, 123, 137, 0.20)","width":1100,"aspectRatio":"1.767241","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"paragraph","attrs":{"id":"97fefd98-3037-4990-a72f-e07b6209df2b","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false}},{"type":"orderedList","attrs":{"id":"678ddd4a-cbd7-42df-af5b-79ef0a4159e9","start":2,"isHoverDragHandle":false},"content":[{"type":"listItem","attrs":{"id":"7a681c4b-b36d-40db-a0fa-ced0b4ec3f9b"},"content":[{"type":"paragraph","attrs":{"id":"802e6d04-b7a5-4c88-b042-daed20701d93","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"深度分析"},{"type":"text","text":":支持"详细分析第N条"指令,自动抓取原文网页进行深度解读"}]}]}]},{"type":"paragraph","attrs":{"id":"94a7e230-c7f3-4f29-ac64-acbe11b8c134","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"[此处图片 17/17:机器人深度分析效果]"}]},{"type":"image","attrs":{"id":"f28c9df3-5ec5-4f99-9f81-34e1b724f656","src":"https://developer.qcloudimg.com/http-save/audit-12593432/489668d7894f5ec321928da638c5eacd.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"","width":1100,"aspectRatio":"3.912500","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"paragraph","attrs":{"id":"d9989364-b720-446e-ad8c-f5db7e9143ca","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false}},{"type":"orderedList","attrs":{"id":"321d403a-9c4c-4ac6-ada5-74376081e415","start":3,"isHoverDragHandle":false},"content":[{"type":"listItem","attrs":{"id":"3633940a-6e5a-4169-a3a4-047785c25951"},"content":[{"type":"paragraph","attrs":{"id":"693876ce-3b9e-4a61-be5f-9ecb4aaaf606","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"竞品动态监控"},{"type":"text","text":":每天自动搜索并归档到知识库"}]}]}]},{"type":"heading","attrs":{"id":"e482ff29-86ea-414a-9564-a41a4a416d59","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"4.4 深度分析功能"}]},{"type":"paragraph","attrs":{"id":"4b190cd2-15a8-40f4-a697-1d87b5f664bc","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"知识助手不仅能搜索知识库回答问题,还能"},{"type":"text","marks":[{"type":"bold"}],"text":"抓取新闻原文进行深度分析"},{"type":"text","text":"。"}]},{"type":"paragraph","attrs":{"id":"78f10e97-a75a-46d6-91f5-8aeb0ed0556c","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"使用方法很简单:"}]},{"type":"paragraph","attrs":{"id":"468811c0-b932-4b9d-839c-7372191a28e4","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"第一步:"},{"type":"text","text":"先提一个问题"}]},{"type":"codeBlock","attrs":{"id":"3ae04033-1eaf-4c11-b05c-6939f39dbee0","language":"javascript","theme":"atom-one-dark","runtimes":0,"isHoverDragHandle":false,"key":"","languageByAi":"javascript"},"content":[{"type":"text","text":"@知识库机器人 最近有哪些城市生命线相关的资讯?"}]},{"type":"paragraph","attrs":{"id":"22a68959-936a-4a14-bfa6-22b6ab02a947","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"助手会返回带编号的新闻列表,每条附有原文链接。"}]},{"type":"paragraph","attrs":{"id":"60517977-ce33-4da3-a590-a150293fbecb","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"第二步:"},{"type":"text","text":"对感兴趣的那条说"详细分析""}]},{"type":"codeBlock","attrs":{"id":"17f9fddb-7a09-4ed2-8637-ac9e3621bccd","language":"javascript","theme":"atom-one-dark","runtimes":0,"isHoverDragHandle":false,"key":"","languageByAi":"javascript"},"content":[{"type":"text","text":"@知识库机器人 详细分析第3条"}]},{"type":"paragraph","attrs":{"id":"a633f4dc-1c9a-4a02-8bbc-828878136e34","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"助手会自动抓取第3条的原文网页,生成深度分析。"}]},{"type":"paragraph","attrs":{"id":"44db9ade-4ddc-44ac-8f14-742822758c60","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"注意:"},{"type":"text","text":"群聊使用时每次都要 @机器人,否则收不到消息。深度分析需要 10-30 秒,请耐心等待。"}]},{"type":"horizontalRule","attrs":{"id":"b11c4002-46bb-4011-b8b9-4657d52db617","isHoverDragHandle":false}},{"type":"heading","attrs":{"id":"2671d662-b612-46ab-a417-0d25aea7c453","textAlign":"inherit","indent":0,"level":2,"isHoverDragHandle":false},"content":[{"type":"text","text":"踩坑记录"}]},{"type":"heading","attrs":{"id":"1ea880b2-ff47-40ca-a108-98a933dab97a","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"坑1:GET笔记 cursor 分页 Bug"}]},{"type":"paragraph","attrs":{"id":"a870b47e-b663-43e5-9e5d-1cf75721f107","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"GET笔记 的"},{"type":"text","marks":[{"type":"code"}],"text":"cursor"},{"type":"text","text":"分页最多只返回 20 条,不管怎么调大"},{"type":"text","marks":[{"type":"code"}],"text":"page_size"},{"type":"text","text":"都不生效。解决办法是用"},{"type":"text","marks":[{"type":"code"}],"text":"page"},{"type":"text","text":"参数分页。"}]},{"type":"heading","attrs":{"id":"c5abf9f3-cb52-4150-aea7-fedcf1fc96dc","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"坑2:Windows 编码问题"}]},{"type":"paragraph","attrs":{"id":"f9db6488-3b8f-4e45-adce-58cc415bade3","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"Windows 默认 GBK,Python 打印 Emoji 会崩。加了"},{"type":"text","marks":[{"type":"code"}],"text":"sys.stdout.reconfigure(encoding='utf-8')"},{"type":"text","text":",或者直接用 ASCII 文本替代。"}]},{"type":"heading","attrs":{"id":"6212516b-c9e7-4b26-91e7-cd181e386dc5","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"坑3:机器人偶尔不回复"}]},{"type":"paragraph","attrs":{"id":"4d4b84c7-cec8-4394-8a9a-2771233f18a7","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"出现这个问题时,让 WorkBuddy 查看日志文件排查原因,通常是大模型超时、API Key 过期、或钉钉 AccessToken 失效导致的。"}]},{"type":"horizontalRule","attrs":{"id":"1abda6e8-23d6-44b2-96e5-2e7e8a9b9e6b","isHoverDragHandle":false}},{"type":"heading","attrs":{"id":"693e30d1-9173-4e9b-aa4e-6b29f99142da","textAlign":"inherit","indent":0,"level":2,"isHoverDragHandle":false},"content":[{"type":"text","text":"经验总结"}]},{"type":"heading","attrs":{"id":"95b4b43e-857b-4914-87f0-a61cf9f0984c","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"非程序员用 AI 做项目的核心心得"}]},{"type":"orderedList","attrs":{"id":"8c272ff0-da07-4fc2-8a8c-359e9ad9f60c","start":1,"isHoverDragHandle":false},"content":[{"type":"listItem","attrs":{"id":"b930cae8-8b52-4bef-9173-c5541d039595"},"content":[{"type":"paragraph","attrs":{"id":"1c73634c-eb4e-438a-80db-80f3518cdd48","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"描述清楚场景就行,不用懂代码"},{"type":"hardBreak","attrs":{"id":"3e8cf225-705b-43b8-9caf-11537876defb"}},{"type":"text","text":"我说"帮我做一个钉钉知识库机器人",WorkBuddy 就帮我理清了所有技术细节。关键是把业务背景说清楚,具体实现让 AI 去推导。"}]}]},{"type":"listItem","attrs":{"id":"3fa565f9-a238-440d-ad34-3e4d2f4bd7b2"},"content":[{"type":"paragraph","attrs":{"id":"5bd2cc24-6a9b-4f9b-a7bc-46561eb5fdc4","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"及时贴错误日志"},{"type":"hardBreak","attrs":{"id":"6005b2ae-0585-44d8-a7f1-08260353baa6"}},{"type":"text","text":"遇到报错直接贴终端输出,AI 通常能秒定位问题,比自己查快得多。"}]}]},{"type":"listItem","attrs":{"id":"ed8b1340-514e-466d-aa4d-a710018bef08"},"content":[{"type":"paragraph","attrs":{"id":"355fb2ae-98e8-4879-95c4-79f044d8c093","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"接受"超出预期"的修复"},{"type":"hardBreak","attrs":{"id":"25c538c0-4063-4f09-a319-c0a045cf5f14"}},{"type":"text","text":"很多时候我只说了一个表面问题,但 AI 会深入挖掘根本原因(比如 API 分页 Bug、编码问题等),主动帮我修掉。"}]}]},{"type":"listItem","attrs":{"id":"fca6028c-337a-42d5-a8d9-73eb2a215d4e"},"content":[{"type":"paragraph","attrs":{"id":"09ef7522-ce54-49f7-8629-c0b4d984e7e8","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"分步推进"},{"type":"hardBreak","attrs":{"id":"8517b329-4d10-4f65-b68e-7b93321c658d"}},{"type":"text","text":"这个项目是分阶段完成的:双写模块 → RAG引擎 → 数据迁移 → 部署。每个阶段清晰,工作流就很顺畅。"}]}]},{"type":"listItem","attrs":{"id":"69219471-7da7-47d6-ba97-c38e90eedd8a"},"content":[{"type":"paragraph","attrs":{"id":"7c8214f5-2636-41b2-8658-e32f7cf03b7e","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"代码不重要,结果才重要"},{"type":"hardBreak","attrs":{"id":"2039d617-9e48-48d1-8822-4a7b36ace653"}},{"type":"text","text":"不需要自己写每一行代码,只需要理解业务逻辑和技术方向,具体实现全部交给 AI。"}]}]}]},{"type":"horizontalRule","attrs":{"id":"01da00f4-6f9b-4a04-8679-18e96ee5202c","isHoverDragHandle":false}},{"type":"heading","attrs":{"id":"bf4eb8af-a907-4acf-9d3a-6fc67f7a5cf5","textAlign":"inherit","indent":0,"level":2,"isHoverDragHandle":false},"content":[{"type":"text","text":"写在最后"}]},{"type":"paragraph","attrs":{"id":"7b4bb891-e85b-40b4-b1f2-1e58720cec2c","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"这个项目从需求提出到上线运行,全部是通过 WorkBuddy 完成的。如果你也是一个非技术背景的产品经理或运营同学,想尝试用 AI 帮你搭建小工具、做自动化,我非常推荐试试。"}]},{"type":"paragraph","attrs":{"id":"68ec0975-cf12-449e-8553-e0d25aa80179","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"不用懂 Python,只需要把你的需求说清楚。"}]},{"type":"paragraph","attrs":{"id":"f406a8f7-f027-432c-81b4-d89ec55ab7ff","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"如果你有类似的想法,或者过程中遇到困难,欢迎留言交流!"}]}]}","createTime":1782898681,"ext":{"closeTextLink":0,"comment_ban":0,"description":"","focusRead":0},"favNum":0,"html":"","isOriginal":0,"likeNum":0,
点击查看更多
推荐专题
热门阅读