{"id":126,"date":"2026-05-06T18:18:57","date_gmt":"2026-05-06T10:18:57","guid":{"rendered":"https:\/\/zoran.090702.xyz\/?p=126"},"modified":"2026-05-06T18:22:48","modified_gmt":"2026-05-06T10:22:48","slug":"%e4%bb%8ehindsight-cloud%e8%bf%81%e7%a7%bb%e5%88%b0%e8%87%aa%e5%bb%ba%e6%9c%8d%e5%8a%a1%ef%bc%9a%e8%ae%b0%e5%bf%86%e7%b3%bb%e7%bb%9f%e6%90%ac%e5%ae%b6%e5%ae%9e%e5%bd%95","status":"publish","type":"post","link":"https:\/\/zoran.090702.xyz\/?p=126","title":{"rendered":"\u4eceHindsight Cloud\u8fc1\u79fb\u5230\u81ea\u5efa\u670d\u52a1\uff1a\u8bb0\u5fc6\u7cfb\u7edf\u642c\u5bb6\u5b9e\u5f55"},"content":{"rendered":"<p>## \u4eceHindsight Cloud\u8fc1\u79fb\u5230\u81ea\u5efa\u670d\u52a1\uff1a\u4e00\u4e2a\u8bb0\u5fc6\u7cfb\u7edf\u7684\u642c\u5bb6\u5b9e\u5f55<\/p>\n<p>### \u8d77\u56e0\uff1a\u4e3a\u4ec0\u4e48\u642c\u5bb6<\/p>\n<p>\u4e4b\u524d\u4e00\u76f4\u7528 Hindsight Cloud \u505a AI \u52a9\u624b\u7684\u5916\u7f6e\u8bb0\u5fc6\u5e93\uff0c\u8bf4\u767d\u4e86\u5c31\u662f\u7ed9\u6211\u7684 AI \u88c5\u4e86\u4e2a&#8221;\u5916\u6302\u5927\u8111&#8221;\u3002\u597d\u5904\u662f\u65e0\u9650\u5bb9\u91cf\uff0c\u80fd\u8bb0\u4f4f\u8de8\u4f1a\u8bdd\u7684\u5404\u79cd\u4e8b\u60c5\u3002\u574f\u5904\u561b\u2014\u2014\u6bcf\u4e2a\u6708\u90fd\u5728\u6263\u8d39\u3002\u867d\u7136\u6ca1\u591a\u5c11\u94b1\uff08\u4e00\u4e2a\u6708\u51e0\u5757\u94b1\uff09\uff0c\u4f46\u603b\u89c9\u5f97\u522b\u626d\uff0c\u660e\u660e\u81ea\u5df1\u6709 VPS \u95f2\u7f6e\u7740\uff0c\u4e3a\u4ec0\u4e48\u8fd8\u8981\u4ea4\u8fd9\u4e2a\u94b1\uff1f<\/p>\n<p>\u6b63\u597d\u624b\u5934\u6709\u53f0\u5403\u7070\u7684\u7eff\u4e91\u8d8a\u5357\u9e21\uff08\u80e1\u5fd7\u660e\u673a\u623f\uff0c2\u68382.9G\u5185\u5b58\uff09\uff0c\u95f2\u7740\u4e5f\u662f\u95f2\u7740\uff0c\u5e72\u8106\u81ea\u5df1\u642d\u4e00\u4e2a\u3002<\/p>\n<p>### \u7b2c\u4e00\u6b65\uff1aDocker \u90e8\u7f72<\/p>\n<p>Hindsight \u5b98\u65b9\u63d0\u4f9b Docker \u955c\u50cf\uff0c\u90e8\u7f72\u672c\u8eab\u4e0d\u590d\u6742\uff1a<\/p>\n<p>&#8220;`<br \/>\ndocker run -d &#8211;name hindsight &#8211;restart unless-stopped \\<br \/>\n-p 8888:8888 \\<br \/>\n-e HINDSIGHT_API_HOST=0.0.0.0 \\<br \/>\n-e HINDSIGHT_API_PORT=8888 \\<br \/>\n-e HINDSIGHT_API_LLM_PROVIDER=openai \\<br \/>\n-e HINDSIGHT_API_LLM_API_KEY=\u4f60\u7684key \\<br \/>\n-e HINDSIGHT_API_LLM_BASE_URL=https:\/\/api.deepseek.com \\<br \/>\n-e HINDSIGHT_API_LLM_MODEL=deepseek-chat \\<br \/>\n-v hindsight_data:\/home\/hindsight\/.pg0 \\<br \/>\nghcr.io\/vectorize-io\/hindsight:latest<br \/>\n&#8220;`<\/p>\n<p>\u8fd9\u91cc\u6709\u4e2a\u5751\u8981\u6ce8\u610f\u2014\u2014**HINDSIGHT_API_LLM_API_KEY \u662f\u5fc5\u987b\u7684**\uff0c\u6ca1\u5b83\u670d\u52a1\u8d77\u4e0d\u6765\u3002\u4e00\u5f00\u59cb\u6211\u6ca1\u914d\u8fd9\u4e2a\u53d8\u91cf\uff0c\u5bb9\u5668\u542f\u52a8\u540e 0 PIDs\u30010B memory \u77ac\u95f4\u5d29\u6389\uff0c\u67e5\u4e86\u534a\u5929\u65e5\u5fd7\u624d\u53d1\u73b0\u3002<\/p>\n<p>\u53e6\u5916\u8bb0\u5f97\u52a0 `HINDSIGHT_API_HOST=0.0.0.0`\uff0c\u9ed8\u8ba4\u662f\u7ed1\u5b9a\u5bb9\u5668\u5185\u7f51 IP\uff0c\u4e0d\u4ece\u5bbf\u4e3b\u673a\u66b4\u9732\u7684\u8bdd\u5916\u7f51\u8bbf\u95ee\u4e0d\u4e86\u3002<\/p>\n<p>### \u7b2c\u4e8c\u6b65\uff1a\u628a\u65e7\u8bb0\u5fc6\u642c\u8fc7\u6765<\/p>\n<p>Cloud \u4e0a\u5b58\u4e86\u4e09\u767e\u591a\u6761\u8bb0\u5fc6\uff0c\u6d89\u53ca\u914d\u7f6e\u4fe1\u606f\u3001\u9879\u76ee\u8bb0\u5f55\u3001\u5404\u79cd\u5386\u53f2\u8fd0\u7ef4\u7b14\u8bb0\u3002\u76f4\u63a5\u6254\u6389\u6709\u70b9\u53ef\u60dc\uff0c\u5f97\u5bfc\u51fa\u518d\u5bfc\u5165\u3002<\/p>\n<p>Hindsight \u6709\u4e13\u95e8\u7684 **export\/import API**\uff0c\u601d\u8def\u5f88\u76f4\u63a5\uff1a<\/p>\n<p>1. \u4ece Cloud \u7aef\u8c03\u5bfc\u51fa\u63a5\u53e3\uff0c\u62ff\u5230 JSON \u683c\u5f0f\u7684\u5168\u90e8\u8bb0\u5fc6\u6570\u636e\uff0c\u4fdd\u5b58\u5230\u672c\u5730\u5907\u4efd\u6587\u4ef6<br \/>\n2. \u542f\u52a8\u81ea\u5efa\u670d\u52a1\u540e\uff0c\u901a\u8fc7 `POST \/v1\/default\/banks\/{bank_id}\/memories` \u6279\u91cf\u5bfc\u5165<\/p>\n<p>\u6211\u5199\u4e86\u4e2a Python \u811a\u672c\uff0c\u4e00\u6b21 20 \u6761\u5206\u6279\u6b21\u63d0\u4ea4\uff0c\u603b\u5171 356 \u6761\u8bb0\u5fc6\uff0c18 \u6279\u8dd1\u5b8c\uff0c\u5168\u90e8\u6210\u529f\u3002<\/p>\n<p>\u4e0d\u8fc7\u7b2c\u4e00\u904d\u5bfc\u5165\u540e\u53d1\u73b0\u4e00\u4e2a\u95ee\u9898\u2014\u2014**\u4e2d\u6587\u8bb0\u5fc6\u641c\u4e0d\u5230**\u3002\u81ea\u5efa\u670d\u52a1\u9ed8\u8ba4\u7528\u7684\u5d4c\u5165\u6a21\u578b\u662f `BAAI\/bge-small-en-v1.5`\uff0c\u8fd9\u73a9\u610f\u513f\u5bf9\u4e2d\u6587\u652f\u6301\u5f88\u5dee\uff0c\u751f\u6210\u7684\u5411\u91cf\u51e0\u4e4e\u6ca1\u6cd5\u7528\u6765\u505a\u76f8\u4f3c\u5ea6\u641c\u7d22\u3002\u53ec\u56de\u7ed3\u679c\u6c38\u8fdc\u662f\u7a7a\u7684\uff0c\u7b49\u4e8e\u8bb0\u5fc6\u5b58\u8fdb\u53bb\u4e86\u4f46\u62ff\u4e0d\u51fa\u6765\u3002<\/p>\n<p>### \u7b2c\u4e09\u6b65\uff1a\u6362\u4e2a\u80fd\u770b\u61c2\u4e2d\u6587\u7684\u5d4c\u5165\u6a21\u578b<\/p>\n<p>\u89e3\u51b3\u65b9\u6cd5\u662f\u6362\u6a21\u578b\u3002Hindsight \u652f\u6301\u901a\u8fc7\u73af\u5883\u53d8\u91cf\u6307\u5b9a\u5d4c\u5165\u6a21\u578b\uff1a<\/p>\n<p>&#8220;`<br \/>\n-e HINDSIGHT_API_EMBEDDINGS_MODEL=BAAI\/bge-m3<br \/>\n&#8220;`<\/p>\n<p>bge-m3 \u662f BAAI \u51fa\u7684\u591a\u8bed\u8a00\u6a21\u578b\uff0c\u4e2d\u82f1\u53cc\u8bed\u90fd\u652f\u6301\u3002\u6362\u5b8c\u4e4b\u540e\u91cd\u5efa\u5bb9\u5668\uff0c\u7b49\u6a21\u578b\u4e0b\u8f7d\u5b8c\u6210\uff08bge-m3 \u5927\u7ea6 2.2GB\uff0c\u7b2c\u4e00\u6b21\u542f\u52a8\u9700\u8981\u70b9\u65f6\u95f4\uff09\uff0c\u7136\u540e\u91cd\u65b0\u5bfc\u5165\u8bb0\u5fc6\u3002<\/p>\n<p>\u6362\u5b8c\u6548\u679c\u7acb\u7aff\u89c1\u5f71\u2014\u2014\u4e4b\u524d\u641c\u7d22\u4e2d\u6587\u5185\u5bb9\u8fd4\u56de\u7a7a\u7ed3\u679c\uff0c\u73b0\u5728\u968f\u4fbf\u641c\u90fd\u80fd\u547d\u4e2d\uff0c\u5b9e\u4f53\u8bc6\u522b\u3001\u8bed\u4e49\u5339\u914d\u90fd\u6b63\u5e38\u4e86\u3002<\/p>\n<p>### \u6700\u540e\uff1a\u6539\u914d\u7f6e\u3001\u5207\u901a\u9053<\/p>\n<p>\u670d\u52a1\u642d\u597d\u540e\uff0c\u628a AI \u52a9\u624b\u7684\u914d\u7f6e\u4ece cloud \u5207\u5230 local_external \u6a21\u5f0f\uff0c\u6307\u5411\u81ea\u5efa\u670d\u52a1\u5668\u5730\u5740 `http:\/\/1xx.xx.xx.xxxx:8888`\u3002<\/p>\n<p>\u6574\u4e2a\u8fc1\u79fb\u6700\u6298\u817e\u7684\u4e0d\u662f\u90e8\u7f72\uff0c\u800c\u662f\u6392\u67e5\u4e2d\u6587\u53ec\u56de\u7684\u95ee\u9898\u3002\u6298\u817e\u4e00\u5708\u4e0b\u6765\u5176\u5b9e\u5c31\u6539\u4e86\u4e09\u4e2a\u5730\u65b9\uff1a\u73af\u5883\u53d8\u91cf\u52a0\u5bf9\u3001\u5d4c\u5165\u6a21\u578b\u6362\u5bf9\u3001\u91cd\u542f\u4e00\u4e0b\u3002<\/p>\n<p>\u5982\u679c\u4f60\u7684 AI \u52a9\u624b\u4e5f\u7528\u5916\u7f6e\u8bb0\u5fc6\uff0c\u53ef\u4ee5\u8bd5\u8bd5\u8fd9\u5957\u65b9\u6848\u2014\u2014\u81ea\u5efa\u867d\u7136\u524d\u671f\u8981\u591a\u82b1\u70b9\u65f6\u95f4\u8c03\u6559\uff0c\u4f46\u957f\u671f\u6765\u770b\u7701\u5fc3\u7701\u94b1\uff0c\u6570\u636e\u4e5f\u5b8c\u5168\u5728\u81ea\u5df1\u624b\u91cc\u3002<\/p>\n<p>&#8212;<\/p>\n<p>*\u540e\u8bb0\uff1a\u5199\u8fd9\u7bc7\u7684\u8fc7\u7a0b\u672c\u8eab\u5c31\u662f\u4e2a\u5b9e\u8bc1\u2014\u2014\u4e4b\u524d\u5b58\u5728 Cloud \u4e0a\u7684\u8bb0\u5fc6\u5207\u8fc7\u6765\u540e\uff0cAI \u52a9\u624b\u80fd\u76f4\u63a5\u8c03\u51fa\u6574\u4e2a\u8fc1\u79fb\u8fc7\u7a0b\u7684\u80cc\u666f\u4fe1\u606f\u4e86\u3002\u81ea\u5efa\u8fd9\u6761\u8def\uff0c\u8d70\u5bf9\u4e86\u3002*<\/p>\n","protected":false},"excerpt":{"rendered":"<p>## \u4eceHindsight Cloud\u8fc1\u79fb\u5230\u81ea\u5efa\u670d\u52a1\uff1a\u4e00\u4e2a\u8bb0\u5fc6\u7cfb\u7edf\u7684\u642c\u5bb6\u5b9e\u5f55 ### \u8d77\u56e0\uff1a\u4e3a\u4ec0\u4e48\u642c\u5bb6 \u4e4b\u524d\u4e00&hellip; <a href=\"https:\/\/zoran.090702.xyz\/?p=126\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb <span class=\"screen-reader-text\">\u4eceHindsight Cloud\u8fc1\u79fb\u5230\u81ea\u5efa\u670d\u52a1\uff1a\u8bb0\u5fc6\u7cfb\u7edf\u642c\u5bb6\u5b9e\u5f55<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-126","post","type-post","status-publish","format-standard","hentry","category-ai-frontier"],"_links":{"self":[{"href":"https:\/\/zoran.090702.xyz\/index.php?rest_route=\/wp\/v2\/posts\/126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zoran.090702.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zoran.090702.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zoran.090702.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zoran.090702.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=126"}],"version-history":[{"count":2,"href":"https:\/\/zoran.090702.xyz\/index.php?rest_route=\/wp\/v2\/posts\/126\/revisions"}],"predecessor-version":[{"id":128,"href":"https:\/\/zoran.090702.xyz\/index.php?rest_route=\/wp\/v2\/posts\/126\/revisions\/128"}],"wp:attachment":[{"href":"https:\/\/zoran.090702.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zoran.090702.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zoran.090702.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}